| Members: 21 |
| Language: English |
|
Group categories:
|
| More group info » |
|
? The DataGrid is of course probably themost popular and most implemented GUI control in ASP.NET 1.x. One ofthe fun parts of working with this control is the level of flexibilityit brings developers allowing for unlimited combinations of creativeimplementations. Note: VisualStudio .NET 2002/2003 running ASP.NET 1.x is required for thistutorial. Both VB.NET and C# code samples will be provided Setting upFirstwe will need a sample ASP.NET project to work with. You can use eitherVB.NET or C# as your code type. Begin by starting up Visual Studio .NETand creating a new ASP.NET web project named "ItemDataBound" for VB.NETor "ItemDataBoundCs" for C#. The reason for the different names is onlyfor compatibility with the sample code provided since I have bothversions running on my machine and can't use the same name. Wewill work with the default WebForm1.aspx that is created with theproject. Double click this file in the solution explorer and flip theview into HTML view by clicking the HTML button on the lower left. Nowwe need a DataGrid control to work with. We will manually add thiscontrol to the WebForm1.aspx WebForm using HTML. Before we addthe control let's review what we are trying to accomplish first. Wewill use our DataGrid control to display a list of cars. Imagine afictitious car sales company using this DataGrid component to viewtheir inventory of automobiles. Read More
|
|
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2009 Google |