Datagid is a complex control,which is used to display information from database using command(like sqlcommand,oledb command etc..).The Built function is used in datagrid they are Paging and Sorting. Source: CoolInterview.com

How to sort the data in Datagrid ? when we use DataBound event of Datagrid, I want to display te data using controls....For an example, If i click a button, which is outside of the datagrid, entire data should be shown. 1st column in TextBoxs. second column in Drop down List Boxs..How to bind the data in Dropdownlist,which is in DataGrid at run time?Row1 Row2 Row3 Row4 ----------------- This is the record in datagrid...

When we click button (Bottom of the DataGrid), This Record should be shown...Row1 in TextBox,,, Row2 in TextBox, Row3 in DropDownlistbox, Row4 in TextBox...How to do this one?Which event we should use?