Results 1 to 2 of 2

Thread: Application Variable in SQLDatasource!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    150

    Application Variable in SQLDatasource!

    I have been searching for hours , how can I use an application variable in my datasource as a parameter . . .


    Does anyone know

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Application Variable in SQLDatasource!

    You could either use <% %> or you could modify it in the codebehind

    SqlDataSource1.SelectParameters("employeeid").Value = TextBox1.Text


    (It may be .Value or .DefaultValue)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width