Sunday, July 29, 2012

ASP.NET - Sorting Dataset


How to Sorting "DataSet" value in ASP.NET C#


DataSet dsList = new DataSet();

 OleDbDataAdapter da = new OleDbDataAdapter(sqlStr, conn);
 da.Fill(dsList);

dsList.Tables["FIU.CASES_MASTER"].DefaultView.Sort = "CREATE_DATE";

No comments:

Post a Comment