How to check null values in dataset ?

Answer Posted / jon

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

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to unit test Web API?

702


Why do we need master page in asp.net?

530


Can we set which type of comparison we want to perform by the CompareValidator control?

513


What is the use of worker process in asp.net?

525


Which Is Faster MVC or ASP.net ?

579






List some of the important session state modes of asp.net.

498


What is distributed system in asp.net?

535


What are the ways to sending the data in ASP.NET page?

563


Describe the events in the life cycle of a web application.

596


What is the file extension of web service?

552


Explain what does wsdl stand for?

559


What is the difference between user control an custom control?

613


Explain difference between dataset and datareader?

602


What is the difference between asp.net and mvc?

578


What are the authentication types in asp.net?

571