Hi Arindam,

        Does your error message say something like "can't convert DBNull
to string"?  If so, where you present an item that could be null, use
the .ToString() method of the item.  For example:

myDataView.Item("Field1").ToString()

Regards,

Peter Brunone
___________________
www.EasyListBox.com

-----Original Message-----
From: Arindam [mailto:[EMAIL PROTECTED] 

Hello Friends,

When I m trying to bind a data table or data view in a repeater or in a 
datagrid , problem is when there is no data in a particular field. Its
throwing an Error. How can i handle this null value problem.

Same thing is happening when i am trying to add some null value(means
field is empty) to an ArrayList ...


Please give me the solution..

Thanks in advance
Arindam




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to