Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
GeneralRe: Designer Problem Pin
Meysam Toluie9-Apr-14 21:30
Meysam Toluie9-Apr-14 21:30 
GeneralRe: Designer Problem Pin
OriginalGriff9-Apr-14 21:54
mveOriginalGriff9-Apr-14 21:54 
GeneralRe: Designer Problem Pin
Meysam Toluie9-Apr-14 22:36
Meysam Toluie9-Apr-14 22:36 
GeneralRe: Designer Problem Pin
OriginalGriff9-Apr-14 22:57
mveOriginalGriff9-Apr-14 22:57 
GeneralRe: Designer Problem Pin
Meysam Toluie9-Apr-14 23:23
Meysam Toluie9-Apr-14 23:23 
GeneralRe: Designer Problem Pin
Dave Kreskowiak10-Apr-14 2:26
mveDave Kreskowiak10-Apr-14 2:26 
AnswerRe: Designer Problem Pin
V.10-Apr-14 22:57
professionalV.10-Apr-14 22:57 
QuestionWhen to read data tables? Pin
Shady George9-Apr-14 11:26
Shady George9-Apr-14 11:26 
I’m writing an exam management program for a high school, using a remote SQL Server database. In the project, I access the database quite often, to get lists of student names, subjects, sets etc. The student (about 2200 records), Teacher (about 50 records) and subject (20 records) tables contents change very infrequently, I was wondering:

1. Would it be more efficient to read these tables at program start, and retain the information as lists<T> in memory, or should I read each table whenever the user needs it (possibly five times per session)?

2. Is SQL Server 2012 overkill for this project? I’ve thought about using SQLite in a local database, but for the life of me, I cannot get it to work. (This is the problem of working by myself, I’ve no-one to bounce ideas off).

3. Do any of you boffins have any better suggestions as to how to go about this?

I’m putting this in the C# forum, as that’s the language the database will be accessed from, but if you think that it should be in the database forum, please feel free to move it. (Or tell me and I’ll re-write it there).
AnswerRe: When to read data tables? Pin
OriginalGriff9-Apr-14 20:29
mveOriginalGriff9-Apr-14 20:29 
GeneralRe: When to read data tables? Pin
Shady George9-Apr-14 22:13
Shady George9-Apr-14 22:13 
GeneralRe: When to read data tables? Pin
OriginalGriff9-Apr-14 22:19
mveOriginalGriff9-Apr-14 22:19 
GeneralRe: When to read data tables? Pin
joost.versteegen10-Apr-14 1:40
joost.versteegen10-Apr-14 1:40 
QuestionRe: When to read data tables? Pin
Eddy Vluggen10-Apr-14 2:59
professionalEddy Vluggen10-Apr-14 2:59 
AnswerRe: When to read data tables? Pin
joost.versteegen10-Apr-14 3:35
joost.versteegen10-Apr-14 3:35 
SuggestionRe: When to read data tables? Pin
Eddy Vluggen10-Apr-14 6:41
professionalEddy Vluggen10-Apr-14 6:41 
GeneralRe: When to read data tables? Pin
joost.versteegen10-Apr-14 7:57
joost.versteegen10-Apr-14 7:57 
QuestionLooking for a new file editor Pin
MacRaider49-Apr-14 4:11
MacRaider49-Apr-14 4:11 
AnswerRe: Looking for a new file editor Pin
GuyThiebaut9-Apr-14 4:57
professionalGuyThiebaut9-Apr-14 4:57 
GeneralRe: Looking for a new file editor Pin
MacRaider49-Apr-14 5:13
MacRaider49-Apr-14 5:13 
AnswerRe: Looking for a new file editor Pin
Pete O'Hanlon9-Apr-14 5:19
mvePete O'Hanlon9-Apr-14 5:19 
GeneralRe: Looking for a new file editor Pin
MacRaider49-Apr-14 6:17
MacRaider49-Apr-14 6:17 
AnswerRe: Looking for a new file editor Pin
Ron Nicholson9-Apr-14 6:39
professionalRon Nicholson9-Apr-14 6:39 
AnswerRe: Looking for a new file editor Pin
BillWoodruff9-Apr-14 14:47
professionalBillWoodruff9-Apr-14 14:47 
Questionserial port of Huawei modem Pin
ASalamBarket8-Apr-14 23:28
ASalamBarket8-Apr-14 23:28 
AnswerRe: serial port of Huawei modem Pin
Dave Kreskowiak9-Apr-14 2:32
mveDave Kreskowiak9-Apr-14 2:32 

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.