Click here to Skip to main content
16,008,750 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: alternative of recordset in vb.net Pin
Colin Angus Mackay18-Aug-08 21:32
Colin Angus Mackay18-Aug-08 21:32 
AnswerRe: alternative of recordset in vb.net Pin
Parwej Ahamad17-Aug-08 5:40
professionalParwej Ahamad17-Aug-08 5:40 
GeneralRe: alternative of recordset in vb.net Pin
lahsiv17-Aug-08 6:44
lahsiv17-Aug-08 6:44 
AnswerRe: alternative of recordset in vb.net [modified] Pin
supercat918-Aug-08 9:43
supercat918-Aug-08 9:43 
GeneralRe: alternative of recordset in vb.net Pin
Mycroft Holmes18-Aug-08 12:32
professionalMycroft Holmes18-Aug-08 12:32 
GeneralRe: alternative of recordset in vb.net Pin
supercat918-Aug-08 12:37
supercat918-Aug-08 12:37 
GeneralRe: alternative of recordset in vb.net Pin
Mycroft Holmes18-Aug-08 14:04
professionalMycroft Holmes18-Aug-08 14:04 
GeneralRe: alternative of recordset in vb.net Pin
supercat919-Aug-08 6:32
supercat919-Aug-08 6:32 
Mycroft Holmes wrote:
Whats a datawriter?


(blush) When I started using DataReaders, I thought there was a corresponding class of DataWriter objects I simply didn't understand. Having looked through the documentation, it seems that I was confusing read/write DataAdapters with DataWriters, as I don't think the latter concept exists.

Mycroft Holmes wrote:
How else do you get the data to and from a database?


I think there exists some means of doing bulk-data inserts into a cursor or something. Using one INSERT or UPDATE query per record seems to run rather slowly, even when I combine multiple queries into a single command. BTW, I know this is the VB forum rather than the SQL forum, but I'll ask anyway: is there a good way to specify, when inserting data into a table with a uniqueness constraint, that new data should overwrite old data? For example, if I'm updating a record associated with a hardware token (so I know that no other task will simultaneously update the same record) two approaches that would be workable are:
  1. Delete the old record and write a new one.
  2. Try an 'Update' on the serial number, and if no records were updated, do an 'Insert'.
The first approach is rather ugly and creates unnecessary work at the server removing and re-adding data to the indexes. The second approach would be cleaner except that it doesn't allow for easy consolidation of multiple updates.
GeneralRe: alternative of recordset in vb.net Pin
Mycroft Holmes19-Aug-08 12:03
professionalMycroft Holmes19-Aug-08 12:03 
AnswerRe: alternative of recordset in vb.net Pin
rprateek18-Aug-08 18:46
rprateek18-Aug-08 18:46 
QuestionHow to work with errors in visual basic Pin
Matthew Leggett17-Aug-08 4:06
Matthew Leggett17-Aug-08 4:06 
AnswerRe: How to work with errors in visual basic Pin
ChandraRam17-Aug-08 20:58
ChandraRam17-Aug-08 20:58 
Questionkindly check this and suggest me where i did mistake Pin
Rameez Raja17-Aug-08 1:06
Rameez Raja17-Aug-08 1:06 
AnswerRe: kindly check this and suggest me where i did mistake Pin
lisan_al_ghaib17-Aug-08 1:17
lisan_al_ghaib17-Aug-08 1:17 
GeneralRe: kindly check this and suggest me where i did mistake [modified] Pin
Rameez Raja17-Aug-08 16:45
Rameez Raja17-Aug-08 16:45 
Questionhi Pin
ershad15-Aug-08 22:49
ershad15-Aug-08 22:49 
AnswerRe: hi Pin
Christian Flutcher15-Aug-08 23:19
Christian Flutcher15-Aug-08 23:19 
GeneralRe: hi Pin
ershad15-Aug-08 23:54
ershad15-Aug-08 23:54 
GeneralRe: hi Pin
Christian Graus16-Aug-08 0:07
protectorChristian Graus16-Aug-08 0:07 
GeneralRe: hi Pin
Paul Conrad16-Aug-08 9:22
professionalPaul Conrad16-Aug-08 9:22 
AnswerRe: hi Pin
~Khatri Mitesh~16-Aug-08 0:02
~Khatri Mitesh~16-Aug-08 0:02 
GeneralRe: hi Pin
Christian Graus16-Aug-08 0:08
protectorChristian Graus16-Aug-08 0:08 
GeneralRe: hi Pin
Paul Conrad16-Aug-08 9:23
professionalPaul Conrad16-Aug-08 9:23 
AnswerRe: hi Pin
rprateek18-Aug-08 18:53
rprateek18-Aug-08 18:53 
Questionhow to import .csv or .txt file into listview control?? Pin
aungthiha15-Aug-08 21:08
aungthiha15-Aug-08 21:08 

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.