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. Returning Columns Name Only

Returning Columns Name Only

Scheduled Pinned Locked Moved Visual Basic
questioncsharptutorial
3 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.
  • B Offline
    B Offline
    Brendan Vogt
    wrote on last edited by
    #1

    Hi, I have a webpage with a check boxes. The user must be able to select which fields he/she wants to include in a SELECT statement. So I am going to have 1 checkbox for each field. I want these checkboxes to be created dynamically for each field. I was thinking of doing it like this, for example with the long description field: LongDescription AS "Long Description" The "LongDescription" will probably be the name of the checkbox. And the "Long Description" will be displayed next to the checkbox as a description to the user. How do I return columns only and not the rows of the records, how would I do this? I am using VB.NET 1.1. Regards ma se

    D 1 Reply Last reply
    0
    • B Brendan Vogt

      Hi, I have a webpage with a check boxes. The user must be able to select which fields he/she wants to include in a SELECT statement. So I am going to have 1 checkbox for each field. I want these checkboxes to be created dynamically for each field. I was thinking of doing it like this, for example with the long description field: LongDescription AS "Long Description" The "LongDescription" will probably be the name of the checkbox. And the "Long Description" will be displayed next to the checkbox as a description to the user. How do I return columns only and not the rows of the records, how would I do this? I am using VB.NET 1.1. Regards ma se

      D Offline
      D Offline
      Dileep_Vickey
      wrote on last edited by
      #2

      ma se wrote:

      How do I return columns only and not the rows of the records

      Hi, You really mean column names?. If you are using recordset then you can take field anmes by adors.fields(index).name.

      B 1 Reply Last reply
      0
      • D Dileep_Vickey

        ma se wrote:

        How do I return columns only and not the rows of the records

        Hi, You really mean column names?. If you are using recordset then you can take field anmes by adors.fields(index).name.

        B Offline
        B Offline
        Brendan Vogt
        wrote on last edited by
        #3

        I'm using VB.NET 1.1 and not using recordset.

        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