How to check null values in dataset ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate the session object and application object?

541


3. What goals do you have in your career?

1424


What is the use of data set in asp.net?

496


What are the different kinds of assemblies?

523


How can we create pie chart in asp.net?

591






Which is better session or viewstate?

516


What is cache in asp net?

538


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.

1435


Can I stream live content/events?

583


What is directive in asp net?

546


What is global.asax file used for?

565


In ViewState How much lifespan items stored?

595


How do I force the dispose method to be called automatically, as clients can forget to call dispose method?

515


What is Web Server Control Templates.?

591


What are demand-paging and pre-paging?

586