hi evryone,
i am write this code it's working . data show in gridview but data not update in Sql dat base .. any suggestion
cmd = new SqlCommand("Select * from NewTryTable", localclass1.mycon);
adp = new SqlDataAdapter(cmd);
ds = new DataSet();
adp.Fill(ds);
DataRow nRow = ds.Tables[0].NewRow();
nRow["Name"] = "Prem";
nRow["Password"] = "Prabhu";
ds.Tables[0].Rows.Add(nRow);
ds.GetChanges();
gv.DataSource = ds.Tables[0];
gv.DataBind();
Best Regard's
Prabhakar