P
Praveen
Hi All,
I wanted to get readonly copy of a Dataset instance. Dataset has a Copy
Function which can give me a give me a copy of the dataset but I did not
find a way to make it readonly.
I found a workaround like below is there a better way to do this ?
Thanks in advance,
Praveen
foreach(DataTable DT in CP.Tables)
{
foreach(DataColumn DC in DT.Columns)
{
DC.ReadOnly = true;
}
}
I wanted to get readonly copy of a Dataset instance. Dataset has a Copy
Function which can give me a give me a copy of the dataset but I did not
find a way to make it readonly.
I found a workaround like below is there a better way to do this ?
Thanks in advance,
Praveen
foreach(DataTable DT in CP.Tables)
{
foreach(DataColumn DC in DT.Columns)
{
DC.ReadOnly = true;
}
}