please view the refrence given below it has complete implementation that required for simple DB operations,the following links have both sqldatasource or with sqldatasource implementaion but i recommend you to avoid SQLDATASOURCE on the asp page or on master
page.
Should I put the SqlDataSource in .aspx or masterpage?
Yes,you can put the SqlDataSource to bind to the DataTable from your real database that supports CRUD when they are all generated automatically……And what's more,I think you can handle events like RowUpdating,RowEditing……:
TaeliaNing
Member
12 Points
44 Posts
Does anyone can tell me the concept of storing web data?
May 13, 2012 07:12 AM|LINK
Hi everyone,
I want to know the concept of storing web data.
I am building a website and I want all the text and pictures can store in a database so that can edit them in future.
Should I put the SqlDataSource in .aspx or masterpage?
Can anyone tell me all the steps of storing web data?
Thankyou so much!!!
kashif786
Member
312 Points
83 Posts
Re: Does anyone can tell me the concept of storing web data?
May 13, 2012 07:24 AM|LINK
hi,
please view the refrence given below it has complete implementation that required for simple DB operations,the following links have both sqldatasource or with sqldatasource implementaion but i recommend you to avoid SQLDATASOURCE on the asp page or on master page.
http://wiki.asp.net/page.aspx/1360/add-edit-update-delete-gridview/
http://www.asp.net/web-forms/tutorials/data-access/accessing-the-database-directly-from-an-aspnet-page/inserting-updating-and-deleting-data-with-the-sqldatasource-vb
"happy Coding"
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Does anyone can tell me the concept of storing web data?
May 15, 2012 01:12 AM|LINK
Yes,you can put the SqlDataSource to bind to the DataTable from your real database that supports CRUD when they are all generated automatically……And what's more,I think you can handle events like RowUpdating,RowEditing……:
For this sample,I've done one for you;you can download it from here to see clearly: How To CRUD Text With Image in a DetailsView with GridView