Hi All,
I am working in web project , I am using Dataadapter.update(dataset) method for batch insert but i am getting "Update unable to find TableMapping['Table'] or DataTable 'Table' " error, I searched on google but did not find any solution,
Code i am using to insert the data is:
dataset DS=new dataset();
IDbDataAdapter Da = ClsDataFactory.CreateAdapter(cmd, dbtype);
cmd.commandtext="storedprocedureName";
Da.InsertCommand = (SqlCommand)cmd;
Da.InsertCommand.Connection = (SqlConnection)con;
RecordAffected = Da.Update(DS);
Please help me. its very urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks in Adavance,
Sudhir