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. C#
  4. excel to listbox

excel to listbox

Scheduled Pinned Locked Moved C#
8 Posts 4 Posters 1 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.
  • M Offline
    M Offline
    mist_psycho
    wrote on last edited by
    #1

    how to read data from excel and display it in a list box using visual c# ????

    C G L 3 Replies Last reply
    0
    • M mist_psycho

      how to read data from excel and display it in a list box using visual c# ????

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

      This is a multi step process. The data in an Excel sheet may or may not be suitable to show in a listbox. Which bit have you tried ? What research have you done ? Where are you stuck ?

      Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

      M 1 Reply Last reply
      0
      • C Christian Graus

        This is a multi step process. The data in an Excel sheet may or may not be suitable to show in a listbox. Which bit have you tried ? What research have you done ? Where are you stuck ?

        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

        M Offline
        M Offline
        mist_psycho
        wrote on last edited by
        #3

        I am not understanding how to go about it actually !!! E.g..if i fill 4-5 columns of data in an excel sheet, i want to display them in my form (without any grid view)....[just d values]. I wanted to try with list box, but i guess its not working out for me !!! can u help me plz...!!

        C 1 Reply Last reply
        0
        • M mist_psycho

          how to read data from excel and display it in a list box using visual c# ????

          G Offline
          G Offline
          Giorgi Dalakishvili
          wrote on last edited by
          #4

          You can use Ole db to read data from an excel file.

          Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

          M 1 Reply Last reply
          0
          • G Giorgi Dalakishvili

            You can use Ole db to read data from an excel file.

            Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

            M Offline
            M Offline
            mist_psycho
            wrote on last edited by
            #5

            hw should i display (only the values) in the windows form ??

            C 1 Reply Last reply
            0
            • M mist_psycho

              I am not understanding how to go about it actually !!! E.g..if i fill 4-5 columns of data in an excel sheet, i want to display them in my form (without any grid view)....[just d values]. I wanted to try with list box, but i guess its not working out for me !!! can u help me plz...!!

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

              I won't do all your work for you, no. A listview is surely better than a list box for this ?

              Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

              1 Reply Last reply
              0
              • M mist_psycho

                hw should i display (only the values) in the windows form ??

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

                Any way you like, really.

                Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                1 Reply Last reply
                0
                • M mist_psycho

                  how to read data from excel and display it in a list box using visual c# ????

                  L Offline
                  L Offline
                  Laddie
                  wrote on last edited by
                  #8

                  Reading and Writing Excel using C#[^]

                  Thanks Laddie Kindly rate if the answer was helpful

                  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