Click here to Skip to main content
16,010,876 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Is this possible? Pin
Jörgen Sigvardsson7-Oct-02 7:15
Jörgen Sigvardsson7-Oct-02 7:15 
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 
I'm not so sure, but you mite need to set the command before opening the connection, as such:

OleDbCommand myCommand = new OleDbCommand(myScalarQuery, myConnection);
 myCommand.Connection.Open();
 myCommand.ExecuteScalar();
 myConnection.Close();


Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
GeneralRe: Daaah!! ExecuteScalar always throws an exception!! Pin
Paul Watson6-Oct-02 21:19
sitebuilderPaul Watson6-Oct-02 21:19 
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 

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.