Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Single datagridview column not showing data

Status
Not open for further replies.

pajon

Programmer
Sep 27, 2001
8
US
Hi, All,

I have a VB.net 2008 project talking to an Access database.

In the project I have one form with a datagridview control with 8 columns. All I need it to do is show the data, I don't want users adding records, changing data, just looking.

Everything works great, except for the fact that one of the columns will not show the data from the underlying table consistently. The remaining 7 show the data fine.

When I say "consistently", about every 4-5 refreshes, the data shows up, but any other time, it looks blank.

I've confirmed that the data IS in the field in the underlying table, but the datagridview isn't showing it.

The field in the table is a text field, and the underlying data is a "lastname-comma-firstname" string concatentation.

The remaining field are one string and 6 numeric fields.

I can't find any rhyme or reason as to why 7 columns show up, properly formatted, every time, but this one wants to play hide-and-seek with my data.

Any thoughts?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top