Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

visual studio c# 2005 - dataset dynamic add remove tables.

Posted on 2014-10-13
2
Medium Priority
?
200 Views
Last Modified: 2014-10-17
I have done this in olddbadapter in VB.net, but now i am trying to do this in c#, learning C#.

dynamically add and remove tables instead of them being static in the dataset.

I have a combo box that I want to choose the selected value ( a table name in the DB) then dynamically create the table in the dataset then fill the new dataset table then set the datasource on datagrid to it.

i used to changed the select commands on the fly but do not know how to do this in visual 2005 c#.

thank you
0
Comment
Question by:mphillip85
[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 Comments
 
LVL 30

Accepted Solution

by:
anarki_jimbel earned 1500 total points
ID: 40378636
Before working with GUI I would recommend to walk through the following MS tutorial.
It explains most important techniques. After that you will be quite comfortable with your task.

http://support.microsoft.com/kb/314145
0
 

Author Comment

by:mphillip85
ID: 40382742
still working on it.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

688 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