Click here to Skip to main content
15,920,704 members
Home / Discussions / Web Development
   

Web Development

 
GeneralAccess User Control in ASP.NET Pin
Mazdak6-Oct-02 19:55
Mazdak6-Oct-02 19:55 
GeneralRe: Access User Control in ASP.NET Pin
Paul Watson6-Oct-02 21:12
sitebuilderPaul Watson6-Oct-02 21:12 
GeneralASP.Net Application Compilation Pin
MrGlover6-Oct-02 13:07
MrGlover6-Oct-02 13:07 
GeneralRe: ASP.Net Application Compilation Pin
Paul Ingles7-Oct-02 10:01
Paul Ingles7-Oct-02 10:01 
GeneralDaaah!! ExecuteScalar always throws an exception!! Pin
Rickard Andersson206-Oct-02 9:35
Rickard Andersson206-Oct-02 9:35 
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
leppie6-Oct-02 11:24
leppie6-Oct-02 11:24 
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
leppie6-Oct-02 11:27
leppie6-Oct-02 11:27 
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
Paul Watson6-Oct-02 21:19
sitebuilderPaul Watson6-Oct-02 21:19 
Rickard Andersson wrote:
FROM Loin WHERE User = \'"); builder.Append(user); builder.Append("\' AND CAST (rtrim (Password) as VARBINARY) = CAST(\'"); builder.Append(password); builder.Append("\' as VARBINARY");

Why have you put the character-escape \ into this? A single quote does not need to be escaped, does it?

Anyway I just put your code into C# and no compiler errors came up without the \ bits. Maybe thoses \s are going through to SQL itself and causing a problem.

Paul Watson
Bluegrass
Cape Town, South Africa

GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
Rickard Andersson207-Oct-02 1:54
Rickard Andersson207-Oct-02 1:54 
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
Paul Watson6-Oct-02 21:31
sitebuilderPaul Watson6-Oct-02 21:31 
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
Rickard Andersson207-Oct-02 1:59
Rickard Andersson207-Oct-02 1:59 
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
Jörgen Sigvardsson7-Oct-02 7:20
Jörgen Sigvardsson7-Oct-02 7:20 
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
Rickard Andersson207-Oct-02 9:04
Rickard Andersson207-Oct-02 9:04 
GeneralFill in label.text from Page_Load... Pin
Ray Cassick6-Oct-02 5:44
Ray Cassick6-Oct-02 5:44 
GeneralRe: Fill in label.text from Page_Load... Pin
Ray Cassick7-Oct-02 4:09
Ray Cassick7-Oct-02 4:09 
GeneralEfficiency Pin
Paul Riley6-Oct-02 4:21
Paul Riley6-Oct-02 4:21 
GeneralRe: Efficiency Pin
leppie6-Oct-02 5:39
leppie6-Oct-02 5:39 
GeneralRe: Efficiency Pin
Paul Riley6-Oct-02 5:53
Paul Riley6-Oct-02 5:53 
GeneralRe: Efficiency Pin
Paul Riley6-Oct-02 6:31
Paul Riley6-Oct-02 6:31 
GeneralRe: Efficiency Pin
leppie6-Oct-02 6:42
leppie6-Oct-02 6:42 
GeneralRe: Efficiency Pin
Paul Riley6-Oct-02 6:48
Paul Riley6-Oct-02 6:48 
GeneralRe: Efficiency Pin
leppie6-Oct-02 7:48
leppie6-Oct-02 7:48 
GeneralRe: Efficiency Pin
Paul Riley6-Oct-02 9:01
Paul Riley6-Oct-02 9:01 
GeneralRe: Efficiency Pin
leppie6-Oct-02 9:23
leppie6-Oct-02 9:23 
GeneralRe: Efficiency Pin
Andy Smith7-Oct-02 10:36
Andy Smith7-Oct-02 10:36 

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.