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 |
Every Validation controls have same option ?
Difference between .NET components and COM components?
How can you apply a theme to your asp.net application?
Usage of web.configuration ?
Why the javascript validation not run on the asp.net button but run successfully on the html button?
Explain the difference between overriding and overloading?
Is object a value type or referenced type?
To call a Web service SOAP which transport protocol you use?
What is viewstate parameter?
What is gridview in asp.net?
What is the server of asp.net?
Should sn.exe be used before gacutil.exe ?
2 Answers Accenture, BirlaSoft,