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. Visual Basic
  4. want to read a field line by line.

want to read a field line by line.

Scheduled Pinned Locked Moved Visual Basic
helptutorial
4 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.
  • K Offline
    K Offline
    kokilaB
    wrote on last edited by
    #1

    Hi, I having a column named Steps which has more than five steps in it with line break now i want to read it line by line. Example: Steps has the following data in one field. 1.Type the valid URL in the address bar. 2.Enter the valid Username in the username textbox. 3.Enter the valid Password in the password textbox. 4.click log in button. 5.click ok button. i need to read it as 1.Type the valid URL in the address bar. 2.Enter the valid Username in the username textbox. 3.Enter the valid Password in the password textbox. 4.click log in button. 5.click ok button. Can anybody help me please very urgent... kokila B

    C 1 Reply Last reply
    0
    • K kokilaB

      Hi, I having a column named Steps which has more than five steps in it with line break now i want to read it line by line. Example: Steps has the following data in one field. 1.Type the valid URL in the address bar. 2.Enter the valid Username in the username textbox. 3.Enter the valid Password in the password textbox. 4.click log in button. 5.click ok button. i need to read it as 1.Type the valid URL in the address bar. 2.Enter the valid Username in the username textbox. 3.Enter the valid Password in the password textbox. 4.click log in button. 5.click ok button. Can anybody help me please very urgent... kokila B

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Replace the end of line (Environment.NewLine) with a <br/>


      Upcoming FREE developer events: * Developer Day Scotland My website

      K 1 Reply Last reply
      0
      • C Colin Angus Mackay

        Replace the end of line (Environment.NewLine) with a <br/>


        Upcoming FREE developer events: * Developer Day Scotland My website

        K Offline
        K Offline
        kokilaB
        wrote on last edited by
        #3

        Thanks for your immediate help.. Storing the data is not through Program its from another DB. so i cant concenrate on insert part.. Kokila B

        K 1 Reply Last reply
        0
        • K kokilaB

          Thanks for your immediate help.. Storing the data is not through Program its from another DB. so i cant concenrate on insert part.. Kokila B

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

          Ya I got the result Dim a() As Char = {"" & Chr(10) & ""} ds = bl.GetStepDS(record(0)) Dim strtest As String = Nothing strtest = ds.Tables(0).Rows(0).Item(0).ToString() Dim strarray() As String = strtest.Split(a) You will get each line in array strarray. Thanks, Kokila

          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