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
Solved

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

Posted on 2014-10-13
2
190 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 29

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Suggested Solutions

Title # Comments Views Activity
HttpPostedFile 1 30
Create a WebAPI using a generic return parameter 9 31
C# Formatting DateTime String Value 5 31
itextsharp with c# 3 8
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…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

829 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