Click here to Skip to main content
16,007,814 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Registry Access Problem Pin
psgeorge10-Jan-08 1:35
psgeorge10-Jan-08 1:35 
QuestionRe: Registry Access Problem Pin
psgeorge11-Jan-08 1:51
psgeorge11-Jan-08 1:51 
GeneralRe: Registry Access Problem Pin
Dave Kreskowiak11-Jan-08 12:15
mveDave Kreskowiak11-Jan-08 12:15 
GeneralRe: Registry Access Problem Pin
psgeorge14-Jan-08 0:18
psgeorge14-Jan-08 0:18 
QuestionDraw a graph in VB.NET Pin
Yatish Kasa9-Jan-08 6:51
Yatish Kasa9-Jan-08 6:51 
GeneralRe: Draw a graph in VB.NET Pin
Dave Kreskowiak9-Jan-08 7:01
mveDave Kreskowiak9-Jan-08 7:01 
Generalwriting function in vb.net Pin
chandra_779-Jan-08 6:18
chandra_779-Jan-08 6:18 
GeneralRe: writing function in vb.net Pin
Dave Kreskowiak9-Jan-08 6:59
mveDave Kreskowiak9-Jan-08 6:59 
So what's the question?

You iterate over the collection of hat objects passed in, get the ID from the object, and check to see if it's in the database. If not, INSERT a new record in the database using the data supplied for that record. If it does exist, UPDATE the existing record. Better yet, this would probably be better suited as a stored procedure in the database. All you would have to do is pass in the 3 parameters to the procedure and it should do the appropriate checks and updates.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: writing function in vb.net Pin
chandra_779-Jan-08 8:02
chandra_779-Jan-08 8:02 
GeneralContract specifications and DLL's and debuggers. Pin
cdansreau9-Jan-08 5:48
cdansreau9-Jan-08 5:48 
GeneralRe: Contract specifications and DLL's and debuggers. Pin
Dave Kreskowiak9-Jan-08 6:55
mveDave Kreskowiak9-Jan-08 6:55 
GeneralRe: Contract specifications and DLL's and debuggers. Pin
cdansreau10-Jan-08 5:34
cdansreau10-Jan-08 5:34 
GeneralRe: Contract specifications and DLL's and debuggers. Pin
Dave Kreskowiak10-Jan-08 13:07
mveDave Kreskowiak10-Jan-08 13:07 
GeneralStill struggling with appdomain Pin
cstrader2329-Jan-08 5:35
cstrader2329-Jan-08 5:35 
GeneralExtract icon from dropdown Pin
cstrader2329-Jan-08 4:33
cstrader2329-Jan-08 4:33 
GeneralRe: Extract icon from dropdown Pin
Dave Kreskowiak9-Jan-08 4:48
mveDave Kreskowiak9-Jan-08 4:48 
GeneralRe: Extract icon from dropdown Pin
cstrader2329-Jan-08 5:30
cstrader2329-Jan-08 5:30 
GeneralRe: Extract icon from dropdown Pin
Dave Kreskowiak9-Jan-08 6:49
mveDave Kreskowiak9-Jan-08 6:49 
QuestionPlease help with Error in VB.Net Code :-( Pin
Support1239-Jan-08 3:13
Support1239-Jan-08 3:13 
GeneralRe: Please help with Error in VB.Net Code :-( Pin
Dave Kreskowiak9-Jan-08 4:19
mveDave Kreskowiak9-Jan-08 4:19 
GeneralRe: Please help with Error in VB.Net Code :-( Pin
Support1239-Jan-08 17:36
Support1239-Jan-08 17:36 
QuestionHow to update a datagrid from a Command builder Pin
Vimalsoft(Pty) Ltd9-Jan-08 0:45
professionalVimalsoft(Pty) Ltd9-Jan-08 0:45 
AnswerRe: How to update a datagrid from a Command builder Pin
Dave Kreskowiak9-Jan-08 4:14
mveDave Kreskowiak9-Jan-08 4:14 
GeneralRe: How to update a datagrid from a Command builder Pin
Vimalsoft(Pty) Ltd9-Jan-08 4:21
professionalVimalsoft(Pty) Ltd9-Jan-08 4:21 
GeneralRe: How to update a datagrid from a Command builder Pin
Dave Kreskowiak9-Jan-08 5:02
mveDave Kreskowiak9-Jan-08 5:02 

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.