Click here to Skip to main content
15,886,798 members
Home / Discussions / Database
   

Database

 
QuestionGlobal exception thrown on execute of stored procedure with parameters Pin
Cannibal6-Apr-06 11:01
Cannibal6-Apr-06 11:01 
AnswerRe: Global exception thrown on execute of stored procedure with parameters Pin
Frank Kerrigan10-Apr-06 1:06
Frank Kerrigan10-Apr-06 1:06 
GeneralRe: Global exception thrown on execute of stored procedure with parameters Pin
Cannibal10-Apr-06 7:47
Cannibal10-Apr-06 7:47 
GeneralRe: Global exception thrown on execute of stored procedure with parameters Pin
Cannibal10-Apr-06 10:01
Cannibal10-Apr-06 10:01 
QuestionDataKeyField,God bless it... Pin
amin_behzadi6-Apr-06 5:56
professionalamin_behzadi6-Apr-06 5:56 
AnswerRe: DataKeyField,God bless it... Pin
junglerover776-Apr-06 16:51
junglerover776-Apr-06 16:51 
AnswerRe: DataKeyField,God bless it... Pin
munklefish9-Apr-06 7:04
munklefish9-Apr-06 7:04 
Questionload + save ADO.NET Methodology (no code) Pin
il_manti6-Apr-06 5:45
il_manti6-Apr-06 5:45 
so, I have to work on my software project for a BTEC national diploma in computing but unfortunately I don't have the support I need from my teacher...

now, i won't go into the detail of the project. what i'd like to talk about is how to go about (the methodology, no actual code...) doing a load, modify, and save to a mySQL database.

I know the code, how to load and save. what i can't get straight is which of these (or any other if better) should i do:

load into dataset, modify by rows and columns, update changes
(this doesn't sound very OOP to me, i hate the idea of having to work with ds.tables[0].rows[0][1] and stuff all the time hehe)

load into dataset, parse into objects and arrays, then dump into dataset and save all
(this sounds very inefficient since saving a lot of records takes time... changing only one record doesn't count here because i would have cleared all dataset and redumped all the data which counts as 'modified' and thus the program will save all records)

load into dataset, parse, dump all data including modifications into new dataset, compare with original dataset, change modified rows only, save old dataset (with modifications)
(this seems the best option because the program will only upload the modified rows... what scares me is : what happens if i delete the first record? all rows will have to shift and thus count as modified, and we still get the inefficiency problem!!)

//god ... now i'm lost

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
In life truth does not matter. What really matters is what others believe to be the truth. (- m4nti)
AnswerRe: load + save ADO.NET Methodology (no code) Pin
Colin Angus Mackay6-Apr-06 20:54
Colin Angus Mackay6-Apr-06 20:54 
GeneralRe: load + save ADO.NET Methodology (no code) Pin
il_manti7-Apr-06 0:57
il_manti7-Apr-06 0:57 
QuestionINSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 3:53
ChrRun6-Apr-06 3:53 
AnswerRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 4:56
albCode6-Apr-06 4:56 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 5:16
ChrRun6-Apr-06 5:16 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 5:31
albCode6-Apr-06 5:31 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 9:34
ChrRun6-Apr-06 9:34 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 20:54
albCode6-Apr-06 20:54 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 22:48
ChrRun6-Apr-06 22:48 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 23:06
albCode6-Apr-06 23:06 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 23:31
ChrRun6-Apr-06 23:31 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 23:37
albCode6-Apr-06 23:37 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 23:39
ChrRun6-Apr-06 23:39 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode6-Apr-06 23:42
albCode6-Apr-06 23:42 
GeneralRe: INSERT INTO....!?!?!?! Pin
ChrRun6-Apr-06 23:53
ChrRun6-Apr-06 23:53 
GeneralRe: INSERT INTO....!?!?!?! Pin
albCode7-Apr-06 0:04
albCode7-Apr-06 0:04 
GeneralRe: INSERT INTO....!?!?!?! Pin
Colin Angus Mackay7-Apr-06 0:20
Colin Angus Mackay7-Apr-06 0:20 

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.