Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to connect a table to datagrid

Posted on 2008-10-03
3
Medium Priority
?
364 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
  • 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

963 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