AD
Administrator
Syncfusion Team
August 24, 2004 09:39 AM UTC
Here are the two namespaces you need to use the GridGrouping support in our libraries.
using Syncfusion.Grouping;
using Syncfusion.Windows.Forms.Grid.Grouping;
>>CustomersDataRow row = dataSoure.Rows[dataRowPos];
This code should be replaced with whatever strongly typed dataset you are using, something similar to:
DataRow dr = this.dataSet1.Tables["MyTable"].Rows[dataRowPosition];
But there is a simpler way to do it if you datasource is a DataTable (or DataView). Once you have the Record. you can use
DataRowView drv = r.GetData() as DataRowView;
Console.WriteLine(drv[0].ToString() + " " + drv[1].ToString());