Can't see datagrid at run time...

  • Thread starter Thread starter rcoco
  • Start date Start date
R

rcoco

Hi,
I'm designing a dtagrid that will contain all the data that is in an
sqlserver database. But all after this when I run it I can't see the
datagrid I only see the form. Someone has an idea on what i'm missing?
 
I might be wrong, but I have a feeling that the datagrid isn't displayed if
there is no data present.

Have you tried putting some data in the database your looking at, and then
running the form

hope it helps

Andy
 
yes, the data has all the info. but I only need to see 2 column out of
the whole table.
 
The datagrid won't display if no data is returned from the query/stored
procedured attached to the datasource and/or datagrid. Or, the data
key names are incorrect.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top