comm.CommandText = "SELECT sponcorid from Registration_Master WHERE regCode='" + temp + "'AND count_mem=" + count_mem + ""; comm.CommandType = CommandType.Text; comm.ExecuteNonQuery();
comm.CommandText = "Update Registration_Master SET regCode='" + temp + "'AND count_mem=" + count_mem + "";
comm.CommandText = string.Format("Update Registration set Regcode={0}, count_mem={1} where sponcorid={2}", temp, count_mem, sponcor_id);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)