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

x
?
Solved

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

Posted on 2014-10-13
2
Medium Priority
?
203 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
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Integration Management Part 2

916 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