your update statement needs to be amended so that it only updates a particular row or rows
"UPDATE Customer SET Code='" + txt_kodi.Value + "', Tel='" + txt_tel.Value + "', Mobile = '" + txt_mobile.Value + "'"
needs to have a where clause on it to stop it updating the entire table
i.e.
UPDATE Customer SET Code = '" + txt_kodi.Value + "', Tel='" + txt_tel.Value + "', Mobile = '" + txt_mobile.Value + "' WHERE CustomerID = 1
I would also recommend that you get into using parameterised queries too they will make your code more secure against SQL Injection
Parameterised Queries Example[
^]
EDIT [Updated to add how to Update Records in ADO.NET]
using (SQLConnection db = new SQLConnection(mydatabaseString))
{
SqlCommand cmd = new SqlCommand(sqlString, db);
int RowsEffected = cmd.ExecuteNonQuery();
}