How to check null values in dataset ?

Answers were Sorted based on User's Feedback



How to check null values in dataset ?..

Answer / jon

if(ds.Tables[0].Rows[0].IsNull(columnName)==true)
{
Response.write("Contains null value")
}

Is This Answer Correct ?    11 Yes 1 No

How to check null values in dataset ?..

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

How to check null values in dataset ?..

Answer / sharad praskash singhania

If IsDBNull(ds) Then
Response.write("Null Value")
End If

Is This Answer Correct ?    1 Yes 1 No

How to check null values in dataset ?..

Answer / jha

if(dataSet.Tables[0].Rows[0].IsNull("ColumnName"))
{

<code>

}

Is This Answer Correct ?    0 Yes 0 No

How to check null values in dataset ?..

Answer / guest

Dataset.TableName[RowNumber].IsCOLUMNNAMENull

response.PayAnyonePaymentDetails[0].IsQueueNumberNull()

Is This Answer Correct ?    3 Yes 6 No

How to check null values in dataset ?..

Answer / fusion it

if dataset.tables(0).rows.count = 0

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More ASP.NET Interview Questions

What is slidemaster?

0 Answers  


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

0 Answers  


detail code for sql data connections?

2 Answers  


How many types of validation controls are provided by ASP.NET?

8 Answers  


What does asax stand for?

0 Answers  






Is it right that ASP.NET Web API has replaced WCF?

0 Answers  


Tell about WebService in Asp.Net?

5 Answers   Accenture, CTS,


What are Themes? What is their use ?

1 Answers  


What is skin in asp.net?

0 Answers  


What is the postback property in asp.net?

0 Answers  


What is data caching?

0 Answers  


What r Callbacks in ASP.NET?

1 Answers  


Categories