Exforsys.com
 
Home Tutorials ASP.NET 2.0
 

ASP.NET DataBound Controls - Details View

 

ASP.NET DataBound Controls - Details View - Page 2

Page 2 of 3


.




6. This configures the control so that it causes the page to post back to the server whenever a selection is made from the list, rather than waiting until the user clicks a button.


7. In the smart tag panel, select Choose Data Source.


8. The Choose Data Source wizard starts.


9. In the Select a data source list, click < New Data Source >.



10. The Data Source Configuration dialog box is displayed:



11. Select Database.


12. This specifies that data is to be fetched from a database that supports SQL statements. (This includes SQL Server and other OLE-DB-compatible databases.)


13. In the Specify an ID for the data source box, a default data source control name is displayed (SqlDataSource1).


14. Click OK.


15. The wizard displays a page where a connection has to be selected:


16. From the Choose a data connection list, select the connection created earlier.



17. Click Next.


18. The wizard displays a page where you can choose to store the connection string in the configuration file.




Next Page: ASP.NET DataBound Controls - Details View - Page 3


Read Next: ASP.NET : Using a Grid to Display Detail Information



 

 

Comments


s_w_eety said:

  nice article
November 18, 2007, 1:33 pm

shail nautiyal said:

  Good article..!!! keep it on guys..!!!

thank you very much for such simple explanation..!!!!
January 22, 2009, 5:27 am

basser said:

  How I can edit name of AutoGenerateEditButton?
March 3, 2009, 10:36 am

mangesh said:

  How to get a selected row from Grid View to Details View? I have connected GridView to Sqldatasource.
August 14, 2009, 8:01 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 - 2010 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape