How to check null values in dataset ?
Answers were Sorted based on User's Feedback
Answer / jon
if(ds.Tables[0].Rows[0].IsNull(columnName)==true)
{
Response.write("Contains null value")
}
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / divya
if (IsDBNull(ds.Tables(0).rows(0).Item("fldname")) then
Response.write("Contains null value")
end if
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / sharad praskash singhania
If IsDBNull(ds) Then
Response.write("Null Value")
End If
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / jha
if(dataSet.Tables[0].Rows[0].IsNull("ColumnName"))
{
<code>
}
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
Dataset.TableName[RowNumber].IsCOLUMNNAMENull
response.PayAnyonePaymentDetails[0].IsQueueNumberNull()
Is This Answer Correct ? | 3 Yes | 6 No |
What is slidemaster?
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
detail code for sql data connections?
How many types of validation controls are provided by ASP.NET?
What does asax stand for?
Is it right that ASP.NET Web API has replaced WCF?
Tell about WebService in Asp.Net?
What are Themes? What is their use ?
What is skin in asp.net?
What is the postback property in asp.net?
What is data caching?
What r Callbacks in ASP.NET?