hello,
I want to change any of the textbox value and after changing the value when I click on update button record should be reflected into database.
I don't know how it will be done
Thanks..
Hi Muskan...
i think u can use d update query to edit the database...
u have to give d code inside d update button click event...
for executing update query by code u can have SqlCommand class.
and executenonquery() method of it.
eg:
SqlCommand sqlcmd = new SqlCommand(sqlQuery, connection variale);
sqlcmd.ExecuteNonQuery();
open and close d connection for d operation...
while writing d sqlQuery. do it with some condition like
"update table set cols...... where colname=textboxvalue"
hope this helps...
thanx,
sand..