on the click of save button write dowo following code
cmd=new SQlcommand("update tablename set columnname='"+textbox.text +"' where id='"+id+"'",con);
con.open();
cmd.executeNonQUery();
con.close();
where con is connection object
cmd in sqlcommand object
id is the primary key for which row you want to update