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

Define resource files.

561


What is custom attribute?

568


What parameters can you pass in the url of the api?

657


What is the default Orientation property in a Menu control?

531


Which is the parent class of the ASP.NET server control?

536






How can you debug your.net application?

554


What is postback pixel?

517


Which control has default post back is enabled(true)?

606


Is asp.net easy to learn?

553


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

649


Can you dynamically assign a Master Page?

583


i want the asp.net technical questions and answeres

1605


What is session start?

518


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

513


What is difference between view state and session state?

477