How to check null values in dataset ?

Answer Posted / sharad praskash singhania

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

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why asp.net mvc is better than asp.net? : Asp.Net MVC

495


Explain what are webservices?

539


How you can access the properties and controls of master pages from content pages?

508


What is asp.net architecture?

527


How do you declare static variable? What is its lifetime?

507






What is %20 in a url?

538


What kind of data can be stored in viewstate?

530


What is the difference between a candidate key and primary key?

517


What are the different types of proxy patterns?

592


How can I open ashx file in mobile?

616


Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

1367


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

625


Why viewstate is used in asp.net?

505


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

643


What is web api and why to use it?

553