dataset cnat get in function

May 20 2010 9:29 AM

 
i am declaring the datase globally and i wnt delete the 3th row of that dataset table[0]
for that i write:
ds.Tables[0].Rows.RemoveAt(3);

but it can display an error that is : Object reference not set to an instance of an object.
what is the problem

Answers (1)