Hi, I need help. After making the ordering of the grid I need to get this data from the modified datatable, how can I do??
I am passing the values to sort through the code below:
GridSortExpression expression = new GridSortExpression ();
expression.FieldName = "ds2";
this.RgDados.MasterTableView.SortExpressions.AddSortExpression (expression);
this.RgDados.MasterTableView.Rebind ();
DataTable dt = (DataTable) RgDados.MasterTableView.DataSource;
Session [ "Data"] = dt;
I am passing the values to sort through the code below:
GridSortExpression expression = new GridSortExpression ();
expression.FieldName = "ds2";
this.RgDados.MasterTableView.SortExpressions.AddSortExpression (expression);
this.RgDados.MasterTableView.Rebind ();
DataTable dt = (DataTable) RgDados.MasterTableView.DataSource;
Session [ "Data"] = dt;