We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Bug is Syncfusion GGC

Hi ,
I am using a GCC,when I want to edit a row with normal mode I got the Null Reference Exception
below a part of my code :

private void WebForm1_Init(object sender, System.EventArgs e)
{
try
{
if (this.IsPostBack==false)
{
oracleSelectCommand1.Connection=this.oracleConnection1;
oracleSelectCommand1.CommandText=" select * from EM_HISTO_CORPOS_FINANCIALS";
oracleDataAdapter1.SelectCommand=oracleSelectCommand1;
oracleDataAdapter1.Fill(dataSet1,"TABLE");
dataSet1.Tables["TABLE"].PrimaryKey=new DataColumn[]{dataSet1.Tables["TABLE"].Columns[0]};
Session["data"]=dataSet1;
}
this.GridGroupingControl1.DataSource=((DataSet) Session["data"]).Copy();
this.GridGroupingControl1.DataMember="TABLE";
this.GridGroupingControl1.DataBind();
}

catch (Exception ex)
{
Response.Write(ex.Message);
}
}

How to fix this problem
thanks
John


1 Reply

MW Melba Winshia Syncfusion Team August 1, 2007 02:41 PM UTC

Hi John,

Thank you for your interest in Syncfusion Products.

I am afraid that I was not able to reproduce the exception while editing. Please refer to the following steps that I tried to reproduce it.

1. Created a sample with Grid Grouping control
2. Run the sample
3. Edited a row
4. No Exception

Also I have created a simple sample to test this issue and it is available in the following link.

http://www.syncfusion.com/Support/user/uploads/Testing1_a255aec0.zip

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample or send us the reproducing steps and also please provide us the Essential Studio version you are using so that we could sort out the cause of the issue and provide you a solution?

Thanks,
Melba


Loader.
Live Chat Icon For mobile
Up arrow icon