Code:
SqlConnection dbCon = new SqlConnectio(connectionstring);
SqlCommand sqlCom = new SqlCommand();
sqlCom.CommandText = "SELECT FROM rizha";//comment:rizha is a table
try
{
SqlDataReader dr;
dbCon.Open();
dr = sqlCom.ExecuteReader();
if (dr.HasRows == true )
{//comment:I run with break piont and I undrestand this line never