VB.NET
if ds.Tables(0).Rows.Count= 0 then
’No record
else
’Record Found
end if
C#
if (ds.Tables[0].Rows.Count == 0 )
{
//No record
}
else
{
//Record Found
}
VB.NET
if ds.Tables(0).Rows.Count= 0 then
’No record
else
’Record Found
end if
C#
if (ds.Tables[0].Rows.Count == 0 )
{
//No record
}
else
{
//Record Found
}
Share with