datarow error................

i am getting an error in btnsave_Click event that object refrence not set to instance of an object i have created an instance still the error promptscan anyone please suggest possible solution for this

Hi Anand,
main problem you are facing is...
before btnSave_Click event fire you datatable doesn't instanciate properly.
previously it was null, but now though it's not null but still columns is not there..

so i would like to suggest you..first create proper structure as you want in datatable.