Exforsys.com
 
Home Tutorials ASP.NET 2.0
 

ASP.NET GridView Control

 

ASP.NET GridView Control - Page 2

Page 2 of 2




8. Select the columns we need to bind to the GridView control and check Return only Unique rows if required. For the purpose of this exercise let us select StudentId and StudentName alone and click Next. The Test Query Screen appears. Click the test Query button to test the impact of the query we generated in the Select statement of the previous screen.



9. Now click on Finish and note that the Columns have been bound to the GridView control.



10. Check the paging, sorting and Delete Selection options if these functionalities are required. We will be dealing with this in greater detail a little later in this tutorial.



11. Now look at the code and see the impact on the source code.


Click here to view sample code


12. Now press F5 to execute the Gridview control page.





First Page: ASP.NET GridView Control


Read Next: ASP.NET 2.0 Tutorials : GridView Filtering



 

 

Comments


jebaa said:

  how to retrive a particular grid field value into a variable in asp.net 2.0?
December 31, 2008, 1:57 am

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape