Hello Team
i want to insert more than one row to the dataset before update the sqladapter for ex i want to insert rows for orderlines then i send them all to sql by updating adapter
is it done by javascript ? because when i press the button a postback hapend then it clears the dataset so the new row clears the old one
any idea Thanks lot
Hi,
this probably relates to that the DataSet instance isn't preserved over postbacks? E.g you have a DataSet to which (a DataTable in it) you add the row when Button is clicked, but since DataSet isn't using anything as store to survive over postbacks, it gets recreated. E.g standard member variables do not surive postbacks in ASP.NET, they need to use something to keep them alive (ViewState, Session, cache etc)