Re: New to VB.Net/ASP1.1

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 02/03/05


Date: Thu, 03 Feb 2005 08:00:35 -0600

On Wed, 2 Feb 2005 10:41:02 -0800, "Jeff Thur" <computercardio@verizon.net> wrote:

¤ I need help with the following:
¤ I am doing a lookup screen for users.
¤ I am accessing a SQL Query.
¤ The User can enter either a State or the first 6
¤ characters of the first name and the first name initial.
¤ Passing a parameter of the State code is not a problem,
¤ as I can do it with a Drop Down box and use
¤ SelectedValue. However I need the user to be able to
¤ enter the first 6 characters of the last name and the
¤ first intial of the first name into a Text type Box. I
¤ tried to use a Text Box Control for this but as I found
¤ out, the Text Box doesn't Support the SelectedValue so
¤ this won't cut it for me. Any ideas as to how I would go
¤ about this would be welcomed. Thank You for any help that
¤ you can provide.

I'm not exactly sure what you are trying to do here. The TextBox has a Text property that contains
the value entered. It doesn't function like a DropDownList.

You may also want to re-post to microsoft.public.dotnet.framework.aspnet.webcontrols if you don't
get an answer here.

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)



Relevant Pages

  • Help with using a Text Box to pass parameters to SQL
    ... > characters of the first name and the first name initial. ... > Passing a parameter of the State code is not a problem, ... the Text Box doesn't Support the SelectedValue so ... textbox for passing parameters. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • HELP on Using Text Box for Passing parameters to SQL
    ... > characters of the first name and the first name initial. ... > Passing a parameter of the State code is not a problem, ... the Text Box doesn't Support the SelectedValue so ... textbox for passing parameters. ...
    (microsoft.public.dotnet.languages.vb.controls)
  • New to VB.Net
    ... I am accessing a SQL Query. ... characters of the first name and the first name initial. ... the Text Box doesn't Support the SelectedValue so ...
    (microsoft.public.vb.general.discussion)
  • New To VB.Net/ASP1.1
    ... I am accessing a SQL Query. ... characters of the first name and the first name initial. ... the Text Box doesn't Support the SelectedValue so ...
    (microsoft.public.dotnet.languages.vb.controls)
  • New to VB.Net/ASP1.1
    ... I am accessing a SQL Query. ... characters of the first name and the first name initial. ... the Text Box doesn't Support the SelectedValue so ...
    (microsoft.public.dotnet.languages.vb)