Geeks With Blogs

News
Google

Aaron Li's Blog Write it down before I forget March 2007 Entries
Data-Bound Controls (2) - Built-in Layout
Built-in Layout We have talked about the templates for the following data-bound controls 1. GridView 2. DataList 3. Repeater 4. DetailsView 5. FormView When the data-bound controls are finally rendered as html tags to the user’s browser, they have different built-in layout. Knowing this help us make decision of what control to use for certain requirement. The final default html for each of these controls is a HTML table, but with different rows and columns. Sometimes the table has border, sometimes ......

Posted On Friday, March 30, 2007 11:00 PM

Data-Bound Controls (1)
Data-Bound Controls (1) - Templates In ASP.NET 2.0, the following controls are often used to do data binding. 1. GridView 2. DataList 3. Repeater 4. DetailsView 5. FormView GridView, DataList and Repeater are for displaying multiple records once, but DetailsView and FormView are for one record one time. In addition, to decide which control to use, we’d better understand what templates every control supports and what is the built-in layout for every control. Templates Templates are usually for defining ......

Posted On Friday, March 30, 2007 9:34 PM

Convert A Web Project From ASP.NET 1.1 to 2.0 (2)
Convert A Web Project From ASP.NET 1.1 to 2.0 (2) 3. New Projects ASP.NET 1.1 - Any type of applications are called project, no matter it is a windows application, or ASP.NET web application, or a control library. - Default files are created, such as project files, Global.asax, Web.config. - Solution file is under the same folder. ASP.NET 2.0 - The term Project refers to a windows application project; ASP.NET web application is called Web Site project. - No default files are generated if we don’t ......

Posted On Wednesday, March 7, 2007 3:52 PM

Convert A Web Project From ASP.NET 1.1 to 2.0 (1)
Convert A Web Project From ASP.NET 1.1 to 2.0 (1) While trying to build a web project converted from Visual Studio 2003 to 2005, I have encountered some issues. 1. AppSettings In ASP.NET 1.1, AppSettings is a method of ConfigurationSettings class which is in the System.Configuration namespace; in 2.0, I get a warning on ConfigurationSettings.AppSe... "This method is obsolete, it has been replaced by System.Configuration! System.Configuration.Config... After changing ConfigurationSettings.AppSe... ......

Posted On Wednesday, March 7, 2007 3:36 PM

Copyright © Aaron Li | Powered by: GeeksWithBlogs.net