Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i check perticular column is empty or not?
Posted
Comments
Tejas Vaishnav 27-Feb-15 6:58am    
and where is description.... ?

can you please share more description of you question, where you want to check, what you have tried so far, where you stuck...?
Member 10694442 27-Feb-15 7:04am    
i want to check the perticular column of database hve value or not?
if there is value i want to check with previous otherwise show msg null

1 solution

If you are using a Visual Studio generated DataSet, for every DataRow the compiler has generated a
C#
data_row.Iscolumn_nameNull
member.

If you are using a generic DataTable/DataRow, you can use

DataRow.IsNull(...)


method.
 
Share this answer
 
Comments
Member 10694442 27-Feb-15 7:10am    
thanks
Member 10694442 27-Feb-15 7:12am    
i m using datasource & databind
Joan Magnet 27-Feb-15 7:26am    
If answer helps you, please rate it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900