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. Web Development
  3. ASP.NET
  4. Assign string value in TextBox only display before space value

Assign string value in TextBox only display before space value

Scheduled Pinned Locked Moved ASP.NET
help
2 Posts 2 Posters 0 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.
  • T Offline
    T Offline
    TariqMahmood
    wrote on last edited by
    #1

    when i used this coding its only display string before space.After Space character it donot display so whats the error here. varEstBedTP1 = Request.form("EstBedTP1") select case varEstBedTP1 case 1 strEstBedTP1 ="Flat Bed" case 2 strEstBedTP1 ="Sloping Bed" case 3 strEstBedTP1 ="Real Bed" end select > --Any one ASP GURU Tell Regards From Tariq Mahmood

    A 1 Reply Last reply
    0
    • T TariqMahmood

      when i used this coding its only display string before space.After Space character it donot display so whats the error here. varEstBedTP1 = Request.form("EstBedTP1") select case varEstBedTP1 case 1 strEstBedTP1 ="Flat Bed" case 2 strEstBedTP1 ="Sloping Bed" case 3 strEstBedTP1 ="Real Bed" end select > --Any one ASP GURU Tell Regards From Tariq Mahmood

      A Offline
      A Offline
      Anzy
      wrote on last edited by
      #2

      You might want to try this: I have a feeling at the moment your html source is showing and hence it doesn't know "Bed" also belong to the value attribute so your goal is to sure the html source display something like:

      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