Hi i have TextField that is bound to DataSet.The bindings work fine.then i have also save button. when I call update() method of SqlDataAdapter i notice that it wont update a data from a text field unless i manualy build a DML Strings . I notice that Dataset becomes empty at the time i click the button for update.I also create a CommandBuilder for SqlDataAdapter for auto generation of update statement. Are any issue on this? or maybe in the postbacK?
if (!this.IsPostBack )
{
}
at click event on button
DataTable dt= this.dsUserList1.Tables["tblUser"];
foreach (DataRow r in dt.Rows)
{
r["FirstName"]="TestValue";
}
oDa.Update(this.dsUserList1,"tblUser");
Roses are #FF0000 Violets are #0000FF all my base are belong to you