Click here to Skip to main content
15,893,564 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: printer status Pin
Eddy Vluggen8-Sep-12 4:52
professionalEddy Vluggen8-Sep-12 4:52 
GeneralRe: printer status Pin
wkalo8-Sep-12 20:45
wkalo8-Sep-12 20:45 
GeneralRe: printer status Pin
wkalo8-Sep-12 22:22
wkalo8-Sep-12 22:22 
GeneralRe: printer status Pin
Eddy Vluggen9-Sep-12 6:29
professionalEddy Vluggen9-Sep-12 6:29 
QuestionUpdate previous date data and then update the rest of the data Pin
garyu877-Sep-12 22:22
garyu877-Sep-12 22:22 
AnswerRe: Update previous date data and then update the rest of the data Pin
David Mujica10-Sep-12 3:52
David Mujica10-Sep-12 3:52 
GeneralRe: Update previous date data and then update the rest of the data Pin
garyu8711-Sep-12 3:19
garyu8711-Sep-12 3:19 
GeneralRe: Update previous date data and then update the rest of the data Pin
David Mujica11-Sep-12 3:39
David Mujica11-Sep-12 3:39 
Wow. That is a lot of detail to go through ... Sorry I can't spend that much time going through each line of code.

Here are some suggestions:
1) You may want to investigate using transactions so that you can guarantee data consistency among all of your tables. If there is an update failure in one table, rollback the transaction and the data remains consistent. Commit only when you know that all updates have taken place correctly.

2) If you need to obtain the wallet amount at any point in your update, yoyou can issue a SqlCommand.ExecuteScalar function and get a numeric value.

Hope that helps. Thumbs Up | :thumbsup:

http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.executescalar.aspx[^]
GeneralRe: Update previous date data and then update the rest of the data Pin
garyu8711-Sep-12 4:03
garyu8711-Sep-12 4:03 
Questionrelated dabase connectivity in vb6.0 Pin
sandy20506-Sep-12 18:28
sandy20506-Sep-12 18:28 
AnswerRe: related dabase connectivity in vb6.0 Pin
Eddy Vluggen6-Sep-12 18:36
professionalEddy Vluggen6-Sep-12 18:36 
QuestionVBA Script to update Active Directory Pin
DarrenAuchnie6-Sep-12 5:00
DarrenAuchnie6-Sep-12 5:00 
AnswerRe: VBA Script to update Active Directory Pin
Eddy Vluggen6-Sep-12 18:33
professionalEddy Vluggen6-Sep-12 18:33 
QuestionProblem With Datagridview Pin
sujuu6-Sep-12 0:39
sujuu6-Sep-12 0:39 
AnswerRe: Problem With Datagridview Pin
Eddy Vluggen6-Sep-12 18:31
professionalEddy Vluggen6-Sep-12 18:31 
Question.Net Control similar to Excel Text Wizard Pin
Member 77438055-Sep-12 14:54
Member 77438055-Sep-12 14:54 
AnswerRe: .Net Control similar to Excel Text Wizard Pin
Eddy Vluggen5-Sep-12 23:53
professionalEddy Vluggen5-Sep-12 23:53 
GeneralRe: .Net Control similar to Excel Text Wizard Pin
Member 77438056-Sep-12 2:32
Member 77438056-Sep-12 2:32 
GeneralRe: .Net Control similar to Excel Text Wizard Pin
Eddy Vluggen6-Sep-12 2:50
professionalEddy Vluggen6-Sep-12 2:50 
QuestionHow to Pass Parameter to Report Viewer ( vb.net 2010 ) ? Pin
sali224-Sep-12 20:58
sali224-Sep-12 20:58 
QuestionQuestion About this Function Pin
CHACAMAN3-Sep-12 11:30
CHACAMAN3-Sep-12 11:30 
AnswerRe: Question About this Function Pin
Dave Kreskowiak3-Sep-12 12:43
mveDave Kreskowiak3-Sep-12 12:43 
GeneralRe: Question About this Function Pin
CHACAMAN3-Sep-12 13:43
CHACAMAN3-Sep-12 13:43 
GeneralRe: Question About this Function Pin
CHACAMAN3-Sep-12 15:25
CHACAMAN3-Sep-12 15:25 
GeneralRe: Question About this Function Pin
Dave Kreskowiak4-Sep-12 9:34
mveDave Kreskowiak4-Sep-12 9:34 

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.