Click here to Skip to main content
16,011,578 members
Home / Discussions / Database
   

Database

 
AnswerRe: function vs stored procedure in sqlserver 2000 Pin
saqib827-Sep-06 4:29
saqib827-Sep-06 4:29 
AnswerRe: function vs stored procedure in sqlserver 2000 Pin
Sumitjh8213-Sep-06 20:02
Sumitjh8213-Sep-06 20:02 
QuestionHow would i query these tables? Pin
Red_Wizard_Shot_The_Food7-Sep-06 0:15
Red_Wizard_Shot_The_Food7-Sep-06 0:15 
AnswerRe: How would i query these tables? Pin
SeMartens7-Sep-06 1:48
SeMartens7-Sep-06 1:48 
AnswerRe: How would i query these tables? Pin
Mike Dimmick7-Sep-06 2:13
Mike Dimmick7-Sep-06 2:13 
GeneralRe: How would i query these tables? Pin
Red_Wizard_Shot_The_Food7-Sep-06 22:55
Red_Wizard_Shot_The_Food7-Sep-06 22:55 
QuestionC# DataSet DataAdapter Design Pin
llap4446-Sep-06 5:03
llap4446-Sep-06 5:03 
AnswerRe: C# DataSet DataAdapter Design Pin
Stephen McGuire6-Sep-06 7:02
Stephen McGuire6-Sep-06 7:02 
The most efficient and maintainable method would be to have a DataSet that represents all the 'related' tables required for your form. This DataSet should contain all the tables and each table should have a relationship between Primary and Foreign keys. You then need a DataAdapter for each table in your DataSet. When you close the form, clear the tables and DataSet.

Alternatively, you can have have a main DataSet that represents your entire database and extend it (add tables and relations) as you open each form. You can then clear all tables and the DataSet when you close the application. This is difficult to maintain and the least efficient since it consumes more resources on the client.

With either method, you could re-use one global DataSet object as required.
I usually create another DataSet to hold any temporary tables required.

Steve


GeneralRe: C# DataSet DataAdapter Design Pin
llap4446-Sep-06 7:34
llap4446-Sep-06 7:34 
QuestionTranforming two text files using DTS Pin
dayakar_dn6-Sep-06 2:42
dayakar_dn6-Sep-06 2:42 
QuestionRunning Program(on VB .NET) Without SQL Pin
FriendlySoluations6-Sep-06 1:24
FriendlySoluations6-Sep-06 1:24 
AnswerRe: Running Program(on VB .NET) Without SQL Pin
Colin Angus Mackay6-Sep-06 3:14
Colin Angus Mackay6-Sep-06 3:14 
AnswerRe: Running Program(on VB .NET) Without SQL Pin
Stephen McGuire6-Sep-06 5:27
Stephen McGuire6-Sep-06 5:27 
Question.NET and metadata of database Pin
Imtiaz Murtaza5-Sep-06 22:51
Imtiaz Murtaza5-Sep-06 22:51 
Questionstoere procedure Pin
yazan_zahi5-Sep-06 22:44
yazan_zahi5-Sep-06 22:44 
AnswerRe: stoere procedure Pin
Eric Dahlvang6-Sep-06 12:11
Eric Dahlvang6-Sep-06 12:11 
Questionhow to pass a parameter in procedure Pin
yazan_zahi5-Sep-06 22:03
yazan_zahi5-Sep-06 22:03 
AnswerRe: how to pass a parameter in procedure Pin
albCode5-Sep-06 22:10
albCode5-Sep-06 22:10 
GeneralRe: how to pass a parameter in procedure Pin
yazan_zahi5-Sep-06 22:17
yazan_zahi5-Sep-06 22:17 
GeneralRe: how to pass a parameter in procedure Pin
albCode5-Sep-06 22:37
albCode5-Sep-06 22:37 
QuestionEditing a MS Access database Pin
myNameIsRon5-Sep-06 21:28
myNameIsRon5-Sep-06 21:28 
AnswerRe: Editing a MS Access database Pin
Stephen McGuire6-Sep-06 5:22
Stephen McGuire6-Sep-06 5:22 
GeneralRe: Editing a MS Access database Pin
myNameIsRon6-Sep-06 15:16
myNameIsRon6-Sep-06 15:16 
GeneralRe: Editing a MS Access database Pin
Stephen McGuire7-Sep-06 2:57
Stephen McGuire7-Sep-06 2:57 
QuestionSql statement Pin
charbelasmar5-Sep-06 20:53
charbelasmar5-Sep-06 20:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.