hello i got this error there is no row position
i want 2 check null values from db
my code is here
try
{
DataSet ds = new DataSet();
List<string> para = new List<string>();
para.Add(txt_empid.Text);
ds = bl_obj.blFillGrid_WithParameter("sp_showempname", para);
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count >= 0)
{
if (ds.Tables[0].Rows[0][0].ToString()==null)
{
lbl_msg.Text = "Record not available";
}
else
{
lbl_msg.Text = "Record Available";
}
}
}
txt_Empname.Text = ds.Tables[0].Rows[0][0].ToString();
}
catch (Exception eX)
{
}
plz help me for this