| Can I still use the DataList and Repeater controls? |
| Absolutely. You can use them the way you always have. But note that the controls have been enhanced to be able to interact with data source controls and to use automatic data binding. For example, you can bind a DataList or Repeater control to a SqlDataSource control instead of writing ADO.Net code to access the database. |
|
|
|
|
|
| Why is there no DataGrid control on the Toolbox? |
| The DataGrid control has been superseded by the GridView control, which can do everything the DataGrid control does and more. The GridView control features automatic data binding; auto-generation of buttons for selecting, editing, and deleting; automatic sorting; and automatic paging. There is full backward compatibility for the DataGrid control, and pages that use the DataGrid will continue to work as they did in version 1.0 of ASP.Net. |
|
|
|
|
|
| Which page code model is preferable, single-file or code-behind? |
| Both models function the same and have the same performance. The choice of using single-file pages versus code-behind pages is one of personal preference and convenience. |
|
|
|
|
|
| How are ASP.Net configuration files secured against unauthorized access? |
| ASP.Net configures IIS to deny access to any user that requests access to the Machine.config or Web.config files. |
|
|
|
|
|