How to check null values in dataset ?

Answer Posted / jha

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

<code>

}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of master page?

609


Which validator control you use if you need to make sure the values in two different controls matched?

739


What is enableviewstate?

631


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

1739


How to fetch a data from one table to another table in asp.net ?

664






What is difference between asp state management and asp.net state management?

672


What are the different types of validation controls provided in ASP.NET?

753


What are the memory-mapped files?

625


How to change Master page in ASP.Net using code?

668


Explain automatic memory management in .net.

671


Is session server side or client side?

617


Difference between application events and session events

678


Write code to send e-mail from an asp.net application?

645


What is application state?

595


In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?

761