string sql = "insert into reg_table(name, gender, phone, country) values('" + name + "', '" + gender + "', " + phone + ", '" + country + "')"; SqlCommand MyCmd = new SqlCommand(sql, conn);
try..catch
ExecuteNonQuery
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)