944,014 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 7411
  • VB.NET RSS
Jun 29th, 2007
0

datagrid replacing null values

Expand Post »
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!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
reyhan12 is offline Offline
18 posts
since Jul 2005
Jun 29th, 2007
0

Re: datagrid replacing null values

This sounds like a database query.
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Jul 3rd, 2007
0

Re: datagrid replacing null values

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.
Reputation Points: 347
Solved Threads: 13
Practically a Posting Shark
arjunsasidharan is offline Offline
812 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: listview control
Next Thread in VB.NET Forum Timeline: In Windows media player 10, Clips are getting revert (upside down)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC