SqlConnection conn = new SqlConnection();
conn.ConnectionString = @"Data Source=CLIK-BOX\SQLEXPRESS;Initial Catalog=amlak;Integrated Security=True";
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
string sql = "SELECT tblrenult.* FROM tblrenult where id="+textBox1.Text;
cmd.CommandText = sql;
SqlDataReader dr = cmd.ExecuteReader();
if(dr.HasRows)
{
if (myReader.HasRows)
{

if (myReader.Read())
{
Txt1.text= myReader.GetString(0);
}


}