Yes, you will not have the query string from the original page. Create
a own class that will not know anything from HttpContext (Request,
Response, Session,...) and you will not have any problem, there you
have to pass the values as an argument.
Regards,
Michael
On 5/17/06, Joe <[EMAIL PROTECTED]> wrote:
>
> I would start by bookmarking the queryDB method. My suspicion is that
> it is getting called but no parameter is being past to the Command
> object.
>
> OdbcCommand odbcCommand = new OdbcCommand("{ CALL h_Ajax_test(?) }",
> odbcConnection);
> odbcCommand.CommandType = CommandType.StoredProcedure;
> odbcCommand.Parameters.Add("@ItemDescription",
> OdbcType.NVarChar, 64).Value = strGValue;
>
> Reason being, I believe, the Request object will not get loaded on the
> Ajax call. I would pass the parameter to the queryDB from with the
> JavaScript.
>
> Joe
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---