Click here to Skip to main content
15,899,124 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralAJAX scriptmanager in master page Pin
Ahmad Adnan16-Dec-07 2:30
Ahmad Adnan16-Dec-07 2:30 
GeneralRe: AJAX scriptmanager in master page Pin
Bassam Saoud16-Dec-07 3:16
Bassam Saoud16-Dec-07 3:16 
GeneralRe: AJAX scriptmanager in master page Pin
Ahmad Adnan16-Dec-07 3:23
Ahmad Adnan16-Dec-07 3:23 
GeneralCannot get network and local printers on the web server Pin
reza toorani16-Dec-07 1:22
reza toorani16-Dec-07 1:22 
GeneralAbout reading properties file Pin
c_sk15-Dec-07 20:09
c_sk15-Dec-07 20:09 
GeneralRe: About reading properties file Pin
Bassam Saoud16-Dec-07 2:09
Bassam Saoud16-Dec-07 2:09 
GeneralRe: About reading properties file Pin
c_sk16-Dec-07 3:42
c_sk16-Dec-07 3:42 
GeneralUsing ADOX to chnage an MS Access query definition Pin
Mack Ait-Aoudia15-Dec-07 16:02
Mack Ait-Aoudia15-Dec-07 16:02 
View a printable version of this message! Hi,
I'm trying to change an MS Access query definition using ADOX in my ASP.NET 2.0 c# web site.

Here is my function:

<br />
public void ModifyQueryXDateFilter( string strConn, string strQryName, string strSQL)<br />
{<br />
        ADOX.Catalog catDB = new ADOX.Catalog();<br />
        ADODB.Command cmd = new ADODB.Command();<br />
        catDB.ActiveConnection = strConn;<br />
        cmd = (ADODB.Command) catDB.Procedures[strQryName].Command;<br />
        cmd.CommandText = strSQL;<br />
        catDB.Procedures[strQryName].Command = cmd;<br />
        catDB = null;<br />
}<br />

the line:
catDB.ActiveConnection = strConn;

doesn't work. I get a typically microsoft error that means every thing except the right thing:

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

Can anyone help with this?
Just Relax And Keep It Simple.

Generalasp:Panel Displays Differently in Different Browsers Pin
Brendan Vogt15-Dec-07 10:50
Brendan Vogt15-Dec-07 10:50 
GeneralRe: asp:Panel Displays Differently in Different Browsers Pin
Bassam Saoud15-Dec-07 19:36
Bassam Saoud15-Dec-07 19:36 
GeneralRe: asp:Panel Displays Differently in Different Browsers Pin
Brendan Vogt15-Dec-07 22:56
Brendan Vogt15-Dec-07 22:56 
GeneralRe: asp:Panel Displays Differently in Different Browsers Pin
Guffa16-Dec-07 0:30
Guffa16-Dec-07 0:30 
QuestionRe: asp:Panel Displays Differently in Different Browsers Pin
Brendan Vogt16-Dec-07 2:30
Brendan Vogt16-Dec-07 2:30 
AnswerRe: asp:Panel Displays Differently in Different Browsers Pin
Guffa16-Dec-07 3:27
Guffa16-Dec-07 3:27 
GeneralRe: asp:Panel Displays Differently in Different Browsers Pin
Bassam Saoud16-Dec-07 1:48
Bassam Saoud16-Dec-07 1:48 
GeneralRe: asp:Panel Displays Differently in Different Browsers Pin
Brendan Vogt16-Dec-07 2:28
Brendan Vogt16-Dec-07 2:28 
GeneralRe: asp:Panel Displays Differently in Different Browsers Pin
Bassam Saoud16-Dec-07 3:11
Bassam Saoud16-Dec-07 3:11 
GeneralRe: asp:Panel Displays Differently in Different Browsers Pin
Brendan Vogt16-Dec-07 3:15
Brendan Vogt16-Dec-07 3:15 
AnswerRe: asp:Panel Displays Differently in Different Browsers Pin
Guffa16-Dec-07 3:31
Guffa16-Dec-07 3:31 
QuestionHow I appear a custom dialog box ?? Pin
sofy200815-Dec-07 10:25
sofy200815-Dec-07 10:25 
AnswerRe: How I appear a custom dialog box ?? Pin
sepel15-Dec-07 18:43
sepel15-Dec-07 18:43 
GeneralRe: How I appear a custom dialog box ?? Pin
sofy200816-Dec-07 2:21
sofy200816-Dec-07 2:21 
GeneralRe: How I appear a custom dialog box ?? Pin
sepel16-Dec-07 3:00
sepel16-Dec-07 3:00 
GeneralSqlDataAdapter.Fill Problem Pin
mehran.asg15-Dec-07 9:29
mehran.asg15-Dec-07 9:29 
GeneralRe: SqlDataAdapter.Fill Problem Pin
pmarfleet15-Dec-07 9:59
pmarfleet15-Dec-07 9:59 

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.