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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Retrieve multiple Eval in textbox.

Retrieve multiple Eval in textbox.

Scheduled Pinned Locked Moved ASP.NET
helptutorial
5 Posts 3 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.
  • K Offline
    K Offline
    kavitha_blueindia
    wrote on last edited by
    #1

    Hi All, How to retrieve multiple eval values in textbox/textarea.I need to use "\r\n" along with multiple eval in textbox.Please help me. Thanks, kavitha.

    C A 2 Replies Last reply
    0
    • K kavitha_blueindia

      Hi All, How to retrieve multiple eval values in textbox/textarea.I need to use "\r\n" along with multiple eval in textbox.Please help me. Thanks, kavitha.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I'm sorry, but I can't work out what you're asking. Best guess - use the Split method on the string class with Environment.NewLine to turn a multi line string into multiple strings.

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • K kavitha_blueindia

        Hi All, How to retrieve multiple eval values in textbox/textarea.I need to use "\r\n" along with multiple eval in textbox.Please help me. Thanks, kavitha.

        A Offline
        A Offline
        AlexeiXX3
        wrote on last edited by
        #3

        im not sure if this is what you are asking But if you want to concatenate several columns use something like this: Text = '<%# String.format("{0}\r\n{1}") Eval("Col1").tostring, Eval("Col2").tostring %>' You could concatenate the columns in the database as well And you could explain better your question

        Alexei Rodriguez

        K 1 Reply Last reply
        0
        • A AlexeiXX3

          im not sure if this is what you are asking But if you want to concatenate several columns use something like this: Text = '<%# String.format("{0}\r\n{1}") Eval("Col1").tostring, Eval("Col2").tostring %>' You could concatenate the columns in the database as well And you could explain better your question

          Alexei Rodriguez

          K Offline
          K Offline
          kavitha_blueindia
          wrote on last edited by
          #4

          Hi all, The following code snippet written in asp.I need to convert it as asp.net and language C#.I have to store the strPrevComplete into textbox.Please help. strPrevComplete = vbcrlf & vbcrlf _ & "--------------------------" _ & vbcrlf _ & "Sent: " & strPrevDate _ & vbcrlf _ & "From: " & strPrevFrom _ & vbcrlf _ & "To: " & strPrevTo _ & vbcrlf _ & "Subject: " & strPrevSubject _ & vbcrlf & vbcrlf _ & strPrevBody else strPrevComplete = "" end if

          A 1 Reply Last reply
          0
          • K kavitha_blueindia

            Hi all, The following code snippet written in asp.I need to convert it as asp.net and language C#.I have to store the strPrevComplete into textbox.Please help. strPrevComplete = vbcrlf & vbcrlf _ & "--------------------------" _ & vbcrlf _ & "Sent: " & strPrevDate _ & vbcrlf _ & "From: " & strPrevFrom _ & vbcrlf _ & "To: " & strPrevTo _ & vbcrlf _ & "Subject: " & strPrevSubject _ & vbcrlf & vbcrlf _ & strPrevBody else strPrevComplete = "" end if

            A Offline
            A Offline
            AlexeiXX3
            wrote on last edited by
            #5

            The task you are trying to accomplish is really basic, i suggest you try to do it yourself

            Alexei Rodriguez

            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