datagrid replacing null values

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2005
Posts: 18
Reputation: reyhan12 is an unknown quantity at this point 
Solved Threads: 0
reyhan12 reyhan12 is offline Offline
Newbie Poster

datagrid replacing null values

 
0
  #1
Jun 29th, 2007
i have a datagrid that has null values. I can't remove the column because there are rows that does not have a null value. is it possible to replace cells with null values to blank spaces? i know this is possible to do manually by selecting a cell and changing the value but i don't know which cells will contain null so it has to be automatic.

any help would be appreciated. thanks!
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,273
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: datagrid replacing null values

 
0
  #2
Jun 29th, 2007
This sounds like a database query.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 812
Reputation: arjunsasidharan is on a distinguished road 
Solved Threads: 13
arjunsasidharan's Avatar
arjunsasidharan arjunsasidharan is offline Offline
Practically a Posting Shark

Re: datagrid replacing null values

 
0
  #3
Jul 3rd, 2007
What you have to do is, if you are using a database then you don't have to medel around with the datasets. Go to the Table in your database which you've been using in your program and give Accept Nulls to the particular column in that table.
There is just two ways to live your life.
One is as though nothing is a miracle.
The other is as if everything is.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4872 | Replies: 2
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC