You can choose the most appropriate combination of data fields to render each piece of information conveniently.
Close() 'binding datasource to Details View Details View1. Data Bind() End Sub Thanks in Advance guys and I would appreciate your kind help. Something like this: Protected Sub Details View1_Mode Changing(sender As Object, e As Details View Mode Event Args) e.
Here Database name is Employee and table name is tbl Emps. For achieve paging set Allow Paging property as True.
If user clicks on paging link at bottom of Detail View control, then Page Index Changing event fires.
Code-behind: protected void Page_Load(object sender, Event Args e) private void Bind Grid() protected Data Table Get Data Source() protected void Grid View1_Row Editing(object sender, Grid View Edit Event Args e) protected void Grid View1_Row Canceling Edit(object sender, Grid View Cancel Edit Event Args e) protected void Grid View1_Row Updating(object sender, Grid View Update Event Args e) private Data Row Find Rows By ID(int id) private Data View Create Data View By ID(int id) protected void Grid View1_Selected Index Changed(object sender, Event Args e) private void Bind Details View() protected void Details View1_Mode Changing(object sender, Details View Mode Event Args e) protected void Details View1_Item Updating(object sender, Details View Update Event Args e) Hope this helps.
Regards, Walter Wang ([email protected], remove 'online.') Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.