Click here to Skip to main content
15,912,578 members
Home / Discussions / Database
   

Database

 
GeneralQuery on 2 DB Pin
Sebastien Lachance19-Jan-05 9:35
Sebastien Lachance19-Jan-05 9:35 
GeneralRe: Query on 2 DB Pin
David Salter19-Jan-05 11:16
David Salter19-Jan-05 11:16 
QuestionDataBind causing infinite loop? Pin
Evan Schultz19-Jan-05 6:38
Evan Schultz19-Jan-05 6:38 
GeneralSQL - Autonumber - Remove Pin
Purple Monk19-Jan-05 1:50
Purple Monk19-Jan-05 1:50 
GeneralRe: SQL - Autonumber - Remove Pin
David Salter19-Jan-05 7:57
David Salter19-Jan-05 7:57 
GeneralRe: SQL - Autonumber - Remove Pin
Purple Monk19-Jan-05 23:21
Purple Monk19-Jan-05 23:21 
GeneralRe: SQL - Autonumber - Remove Pin
David Salter20-Jan-05 11:12
David Salter20-Jan-05 11:12 
GeneralSQL UPDATE Multiple Params Pin
Vector718-Jan-05 22:10
Vector718-Jan-05 22:10 
Hello,

I have a problem with this code here.

cmd.CommandText = "UPDATE DBPROF SET (ID,NAME,PROF) = " +<br />
					"(?,?,?) WHERE (rowguid = '"+strGUID+"')";<br />
<br />
cmd.Parameters.Add(@"ID",dID);<br />
cmd.Parameters.Add(@"NAME",strName);<br />
cmd.Parameters.Add(@"PROF",strPROF);<br />


Why this code isn't working for updating db ?

also values instead "?" don't work:
(@ID,@NAME,@PROF)
GeneralRe: SQL UPDATE Multiple Params Pin
Colin Angus Mackay18-Jan-05 22:59
Colin Angus Mackay18-Jan-05 22:59 
GeneralRe: SQL UPDATE Multiple Params Pin
Mike Dimmick18-Jan-05 23:02
Mike Dimmick18-Jan-05 23:02 
GeneralRe: SQL UPDATE Multiple Params Pin
Vector719-Jan-05 0:31
Vector719-Jan-05 0:31 
QuestionMSDE installation problem?? Pin
BSRK18-Jan-05 22:06
BSRK18-Jan-05 22:06 
QuestionWhere to keep my connection? Pin
Luis Alonso Ramos18-Jan-05 12:59
Luis Alonso Ramos18-Jan-05 12:59 
AnswerRe: Where to keep my connection? Pin
Colin Angus Mackay18-Jan-05 13:09
Colin Angus Mackay18-Jan-05 13:09 
AnswerRe: Where to keep my connection? Pin
Rob Graham18-Jan-05 15:41
Rob Graham18-Jan-05 15:41 
GeneralUsing NULLs in database fields Pin
Luis Alonso Ramos18-Jan-05 12:19
Luis Alonso Ramos18-Jan-05 12:19 
GeneralRe: Using NULLs in database fields Pin
Colin Angus Mackay18-Jan-05 12:49
Colin Angus Mackay18-Jan-05 12:49 
GeneralRe: Using NULLs in database fields Pin
Luis Alonso Ramos18-Jan-05 14:15
Luis Alonso Ramos18-Jan-05 14:15 
QuestionWhat is wrong with this SQL code Pin
Asabere18-Jan-05 9:02
Asabere18-Jan-05 9:02 
AnswerRe: What is wrong with this SQL code Pin
Colin Angus Mackay18-Jan-05 13:02
Colin Angus Mackay18-Jan-05 13:02 
GeneralNavigate in dataset Pin
hendriks17-Jan-05 4:57
hendriks17-Jan-05 4:57 
GeneralMS-SQL to Oracle Pin
spsharma16-Jan-05 22:10
spsharma16-Jan-05 22:10 
GeneralRe: MS-SQL to Oracle Pin
Member 80036019-Jan-05 1:27
Member 80036019-Jan-05 1:27 
GeneralRe: MS-SQL to Oracle Pin
basementman20-Jan-05 4:44
basementman20-Jan-05 4:44 
GeneralOle db connecting problem Pin
lisoft16-Jan-05 21:50
lisoft16-Jan-05 21:50 

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.