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 many Directives r in ASP.NET?
Is overloading possible in web services?
What does WSDL stand for?
Can we use a static function with a non-static variable?
what is clr . how we access them?
how many session modes are available?some brief explnation
What are the Types of object in asp
what is caching,session? when & what is used mostly in which situtations, how they r implemented in real time? tell with example?
What is the difference between asp.net and mvc?
Explain the server control events of asp.net ?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What are three ways that you can use a compare validator?
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)