Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • 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
 
informaniacCommented:
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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