Tuesday, 31 January 2012

How to check null values in dataset


if(ds.Tables[0].Rows[0].IsNull(columnName)==true)
{
Response.write("Contains null value")
}

No comments:

Post a Comment