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 |
How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)
What are the asp.net server side objects?
How can we implement a identity (sql server) call in an asp.net page?
What is a Cookie? Where is it used in ASP.NET?
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
What is Response.Flush method ?
How To Send Value one page to Another Page On MasterMenu Click ? please Tell Me!
Hi, I Dont know about Application and Session State management. Can anyone explain me with simple example?
How does session work?
how we deploy the asp.net 2.0 application
What is the use of session state and application state and difference between them?
Using shadow variable is good or bad for application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)