G
Guest
I am disposing the dataset using the using block
like
using(DataSet ds = new DataSet()
...
} but the I can to any assignment in side the using block , It give the exception as DataSet is read only ,
I am using the work around by declaring the dataset outside the using block
like
DataSet ds = null
using(DataSet ds = new DataSet()
...
I dont understand why I should do this can some one explai
thank
like
using(DataSet ds = new DataSet()
...
} but the I can to any assignment in side the using block , It give the exception as DataSet is read only ,
I am using the work around by declaring the dataset outside the using block
like
DataSet ds = null
using(DataSet ds = new DataSet()
...
I dont understand why I should do this can some one explai
thank