Solved

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

Posted on 2014-10-13
2
196 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

636 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