Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

How to connect a table to datagrid

I am trying to develop a wince application,. I am using the datagrid in order to display data.
Yet,. I do not know how to create a binding between the datagrid and the dataset (which is a local database, with one table)

I think I must fill in the datamember variable,. yet I do not know how to create one,. Now all I see in the datamember combobox is "none"...

How can I bind the table to the grid?
0
amitbueno
Asked:
amitbueno
  • 2
1 Solution
 
Obadiah ChristopherCommented:
datagrid1.datasource = ds;
0
 
amitbuenoAuthor Commented:
I've attached already the database to the datasource in design time,.
Yet, I need to define the table,. how do I do that?
0
 
amitbuenoAuthor Commented:
I need to define the datamember in the datasource but I do not know how to do that?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now