| | |
How many datasets in MS VS Project?
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
Hi,
1) Is it better to create one dataset for the whole project than many smaller (like one for each form)?
2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables changes and appropriate tableadapter updates the DB with it. Is data in second dataset also updated??
3) I load, lets say, 1 column from DB to column of table that has tree columns (two stay empty). Now I use only data from that 1 column, but in some moment I need to load also the other 2 columns. If I use .Fill() method of appropriate table adapter will it reload the first column of the table even if it contains identical data as DB??
Please help me with these questions. They are somewhat important if I'm to write fast DB app.
1) Is it better to create one dataset for the whole project than many smaller (like one for each form)?
2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables changes and appropriate tableadapter updates the DB with it. Is data in second dataset also updated??
3) I load, lets say, 1 column from DB to column of table that has tree columns (two stay empty). Now I use only data from that 1 column, but in some moment I need to load also the other 2 columns. If I use .Fill() method of appropriate table adapter will it reload the first column of the table even if it contains identical data as DB??
Please help me with these questions. They are somewhat important if I'm to write fast DB app.
•
•
•
•
Hi,
1) Is it better to create one dataset for the whole project than many smaller (like one for each form)?
•
•
•
•
2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables changes and appropriate tableadapter updates the DB with it. Is data in second dataset also updated??
•
•
•
•
3) I load, lets say, 1 column from DB to column of table that has tree columns (two stay empty). Now I use only data from that 1 column, but in some moment I need to load also the other 2 columns. If I use .Fill() method of appropriate table adapter will it reload the first column of the table even if it contains identical data as DB??
Please help me with these questions. They are somewhat important if I'm to write fast DB app.
Even if the data is exactly the same row-for-row, it doesn't make a difference. It reloads it all.
Alex Cavnar, aka alc6379
![]() |
Similar Threads
- Datasets for Bellman-Ford algorithm (Computer Science)
- Need help for my image classification FYP (Computer Science)
- detecting flaws (Computer Science)
- Difference between typed dataset and untyped dataset..? (VB.NET)
- management system (C#)
- Please Help Me, I Am to Be Fired! (ASP.NET)
- Manipulating A Database (C#)
- Connecting and retrieving information from an MSSQL Table (VB.NET)
Other Threads in the C# Forum
- Previous Thread: Backgroundimages/ Skins ?
- Next Thread: Any Idea how i can do this?
| Thread Tools | Search this Thread |
.net access activedirectory ado.net algorithm array barchart bitmap box broadcast buttons c# check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development disabled displayingopenforms draganddrop drawing encryption enum event excel exectuable file files form format forms ftp function gdi+ httpwebrequest image index index-error input install java label list listbox listener mandelbrot math mathematics mouseclick mysql operator path photoshop picturebox pixelinversion post prime programming radians regex remote remoting richtextbox serialization server setup sleep socket sql statistics stream string table tcp text textbox thread time timer update user usercontrol validation visualstudio webbrowser windows winforms wpf xml






! 