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 |
Difference between .NET and previous version?
How can we Maintain more than on config file in one .Net web application and how?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
What is the typical session identifier?
Disable browser cache for entire ASP.NET website?
Which is faster union or union all?
What are typed datasets?
what is webpart? what r the parts in this webpart (zone)
hi guys do u know how to go one page to one page to another page plz tell me any of u know
How can we communicate with each server in N-tier Architecture? and what are the methods?
how can u create the forms authentication?and what is the difference between forms authentication and windows authentication?
If there are two web.config files in a application which config files will get priority?
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)