Datagrid control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • enahar

    Datagrid control

    How to add a record in the end if we are using sorting .
    My problem is when I add a new row it adds in the middle.
    Is there any way to add a record in the add,



    code is as below:

    if (DataGrid.DataS ource != null)

    sortingColumn = ((DataView)Data Grid.DataSource ).Sort;

    else

    sortingColumn = "DATE,EMPNO ";


Working...