Solved

How to connect a table to datagrid

Posted on 2008-10-03
3
360 Views
Last Modified: 2013-11-26
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
Comment
Question by:amitbueno
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Expert Comment

by:informaniac
ID: 22632336
datagrid1.datasource = ds;
0
 

Author Comment

by:amitbueno
ID: 22632358
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
 

Accepted Solution

by:
amitbueno earned 0 total points
ID: 22632378
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question