I see what you are talking about.  The problem lies within the following code
 
      '    sCon1.Open()
       '    Dim strRQ As String = txtStateInitial.Text.ToString()
       '    Dim strSQL As String = "Select count(*) from WBTbl where

You can not access the txtStateInitial text box becuase ASP.NET runtime does not about it since you are not officially posting back. Change the line strRQ  to
 
Dim strRQ As String = stateInitial
 
Joseph Guadagno
http://josephguadagno.net

 
On 7/11/06, bubberz <[EMAIL PROTECTED]> wrote:

I can write the variable sent to the method out to a div tag, and see
it's value, and even write out the SQL string to the div tag and it
works.

It's just when I get to the SQLCommand it says null in debug.


http://josephguadagno.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to