Solved

How to split vb.net dataset

Posted on 2013-05-27
12
412 Views
Last Modified: 2013-05-28
Software vb.net & sql server 2005.

How do I go about splitting a large dataset into 2 datasets using one sqlserver database.

The existing dataset is too large and it is difficult to add columns to tables.

Thanks!
0
Comment
Question by:dave_sky
[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
  • 6
  • 6
12 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 39200974
What do you mean by "too large"?  Too many rows, or too many columns?

AW
0
 

Author Comment

by:dave_sky
ID: 39201687
93 tables - several tables have a large number of rows.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 39201700
You have a dataset composed of 93 DataTables?

AW
0
Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

 

Author Comment

by:dave_sky
ID: 39201802
Yes
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 39201811
What is the nature of your application.  

AW
0
 

Author Comment

by:dave_sky
ID: 39201893
Construction quotes, workorders, material data.
0
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 500 total points
ID: 39201905
Rather than creating a single, all-encompassing Dataset, how about creating more targetted datasets - say per form, or per application area.  Would something along those lines fit?

AW
0
 

Author Comment

by:dave_sky
ID: 39201958
Yes that should work, the application is almost finished.

Can I use the same sql server 2005 database for more than one dataset?
0
 

Author Comment

by:dave_sky
ID: 39201983
Actually, If I only move one area that would free up the the main dataset so it can be used.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 39202025
>>Can I use the same sql server 2005 database for more than one dataset? <<  Yes, what gave you the idea that you couldn't?

A Dataset is composed to DataTables.  You can have as many Datasets as your application design requires.  There is nothing that requires a single dataset to describe an entire database.  A Dataset can be thought of as an "in-memory mini-database"  That does not mean that the Dataset is an in-memory version of the entire database.

AW
0
 

Author Closing Comment

by:dave_sky
ID: 39202093
Thanks, that really helped!
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 39202193
Glad to be of assistance.

Happy Programming!!! :-)
AW
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 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