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