Solved

How to connect a table to datagrid

Posted on 2008-10-03
3
352 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now