Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. passing parameter

passing parameter

Scheduled Pinned Locked Moved LINQ
databasequestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    javadniazi
    wrote on last edited by
    #1

    i have 7 parameter and want to send them to another page and use as where clues,i used query string but do note work. how can i do. my code is: var query=from p in mytable where """ response.redirect["query"] """; i want use query string here.

    N 1 Reply Last reply
    0
    • J javadniazi

      i have 7 parameter and want to send them to another page and use as where clues,i used query string but do note work. how can i do. my code is: var query=from p in mytable where """ response.redirect["query"] """; i want use query string here.

      N Offline
      N Offline
      nlarson11
      wrote on last edited by
      #2

      If I understand you correctly, you want to take the 7 parameters that were passed in the querystring and resend them to the new page? If so, you need review your syntax because it's not doing anything close to what your intending.... 1) what is mytable? how does that relate to querystring variables? 2) link query returns an IEnumerable(of ???) list. You have a redirect in the where clause so why kind of response do you think you'll be getting when it needs to return an ienumerable(of ???) list? 3) where is any mention of request.querystring to go through it's dictionary?

      'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups