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. USER CONTROL

USER CONTROL

Scheduled Pinned Locked Moved C#
databasetutorial
5 Posts 5 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
    kirandilip
    wrote on last edited by
    #1

    Hai,one and all, i want to create a usercontrol in the form of a window form that usercontrol can be used to display data from database to frontend,that user control should contain a datagridview ,that usercontrol should be used in entire application.how to create the usercontrol,plz give me that type demonstration. thanks in advance.

    C L U realJSOPR 4 Replies Last reply
    0
    • K kirandilip

      Hai,one and all, i want to create a usercontrol in the form of a window form that usercontrol can be used to display data from database to frontend,that user control should contain a datagridview ,that usercontrol should be used in entire application.how to create the usercontrol,plz give me that type demonstration. thanks in advance.

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

      You write code. It sounds like all you're talking about IS a datagrid, so why do you need a control ?

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • K kirandilip

        Hai,one and all, i want to create a usercontrol in the form of a window form that usercontrol can be used to display data from database to frontend,that user control should contain a datagridview ,that usercontrol should be used in entire application.how to create the usercontrol,plz give me that type demonstration. thanks in advance.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        No one here is going to code things for you, sites like rentacoder exist for these things.

        1 Reply Last reply
        0
        • K kirandilip

          Hai,one and all, i want to create a usercontrol in the form of a window form that usercontrol can be used to display data from database to frontend,that user control should contain a datagridview ,that usercontrol should be used in entire application.how to create the usercontrol,plz give me that type demonstration. thanks in advance.

          U Offline
          U Offline
          User 4467139
          wrote on last edited by
          #4

          The simplest thing is create a form and put all the controls(grids, labels, textboxes, etc) that you will be needing into that form. Now go to the class declaration(.cs file) where it says "public partial class Class1 : Form" and change it to "public partial class RSIntexPA : UserControl" Compile the project and generate it a dll. Now you can use your usercontrol via this dll anywhere.

          1 Reply Last reply
          0
          • K kirandilip

            Hai,one and all, i want to create a usercontrol in the form of a window form that usercontrol can be used to display data from database to frontend,that user control should contain a datagridview ,that usercontrol should be used in entire application.how to create the usercontrol,plz give me that type demonstration. thanks in advance.

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            I can demonstrate squeezing off a loaf for you...

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            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