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. How to make the property having listview type

How to make the property having listview type

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

    Hi All, I have a made the user control in C#,now i have faced the problem that i want to make the property in user control that pick up the data from database and display it in the list..... Ex. ID Name 1 A 2 B 3 C How is it possible in windows application... Please help its urgent... Thanks, Lalit Narayan

    C 1 Reply Last reply
    0
    • L lnmca

      Hi All, I have a made the user control in C#,now i have faced the problem that i want to make the property in user control that pick up the data from database and display it in the list..... Ex. ID Name 1 A 2 B 3 C How is it possible in windows application... Please help its urgent... Thanks, Lalit Narayan

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

      lnmca wrote:

      lease help its urgent...

      No, it's not at all. I asked everyone in the office, and they all agreed. Is this homework, or paid work ? If the former, talk to your teacher so he knows how lost you are. If the latter, you're stealing from your clients. Getting data from a DB, and using it with databound controls is probably one of the most widely discussed things, in books and online. You don't go into enough detail to really know how to give an exact answer, but select * from myTable and myGrid.DataSource = myDataSet, is really all you should need to do.

      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 )

      L T 2 Replies Last reply
      0
      • C Christian Graus

        lnmca wrote:

        lease help its urgent...

        No, it's not at all. I asked everyone in the office, and they all agreed. Is this homework, or paid work ? If the former, talk to your teacher so he knows how lost you are. If the latter, you're stealing from your clients. Getting data from a DB, and using it with databound controls is probably one of the most widely discussed things, in books and online. You don't go into enough detail to really know how to give an exact answer, but select * from myTable and myGrid.DataSource = myDataSet, is really all you should need to do.

        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 )

        L Offline
        L Offline
        lnmca
        wrote on last edited by
        #3

        [Message Deleted]

        C 1 Reply Last reply
        0
        • L lnmca

          [Message Deleted]

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

          Actually, the answer is in there, you just need to be able to read, and to know something about programming. I can't write copy and paste code based on what you told us, nor would I do that for someone unwilling to learn.

          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
          • C Christian Graus

            lnmca wrote:

            lease help its urgent...

            No, it's not at all. I asked everyone in the office, and they all agreed. Is this homework, or paid work ? If the former, talk to your teacher so he knows how lost you are. If the latter, you're stealing from your clients. Getting data from a DB, and using it with databound controls is probably one of the most widely discussed things, in books and online. You don't go into enough detail to really know how to give an exact answer, but select * from myTable and myGrid.DataSource = myDataSet, is really all you should need to do.

            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 )

            T Offline
            T Offline
            Tom Deketelaere
            wrote on last edited by
            #5

            Christian Graus wrote:

            No, it's not at all. I asked everyone in the office, and they all agreed.

            :laugh:

            L 1 Reply Last reply
            0
            • T Tom Deketelaere

              Christian Graus wrote:

              No, it's not at all. I asked everyone in the office, and they all agreed.

              :laugh:

              L Offline
              L Offline
              lnmca
              wrote on last edited by
              #6

              [Message Deleted]

              C F 2 Replies Last reply
              0
              • L lnmca

                [Message Deleted]

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

                Not by you, apparently.... Seriously, is google broken where you live ? Can you not read ? What I told you, IS the answer.

                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
                • L lnmca

                  [Message Deleted]

                  F Offline
                  F Offline
                  fly904
                  wrote on last edited by
                  #8

                  lnmca wrote:

                  Is it not possible to pick the data from database and show it in the property as in dropdownlist**?**

                  Yes.

                  My failometer is detecting vast quantities of FAIL! "Its SQL - hardly programming..." (Caslen)

                  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