string commandText = "select id from moshtari where mobile="+ textBox3.Text; Qcommand.CommandText = commandText; Qcommand.CommandType = CommandType.Text; object k = Qcommand.ExecuteScalar();
Qcommand.Parameters.AddWithValue("mobile",textbox3.Text);
string commandText = "select id from moshtari where mobile=@mobileno; Qcommand.Parameters.AddWithValue("@mobileno",Textbox3.Text);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)