I have 3 UserControls (i.e. they inherit System.Windows.Forms.UserControls)
In each of these UserControls, I have a method named "Info()". How can I get this method to be executed without having a direct instantiation of one of the actual controls?
Lets call my 3 controls as
ControlA
ControlB...
I have a report that uses a pair of master-detail type tables: Table A (Parent) and Table B (Child)
The schemas of these two tables is as follows:
Table A
-------
AID
AName
Cost
Table B
-------
AID
BID
BName
TableB's AID is a foreign key referencing Table A's AID
I need to display the report...
How can I set the datasource of an embedded subreport to an ADO.NET dataset? I can set the datasource of the main report using the setDatasource method of the ReportDocument object.
I am using Crystal Reports.NET with VB.NET.
Thanks a loooot in advance. I've been stuck on this for a long...
When I load a child form inside an MDI parent, the menubar of the parent covers the child somehow.
The MDI parent is set to FormWindowState.Normal and has MaximizeBox, MinimizeBox and ControlBox set to True.
The child has the Startup state set to FormWindowState.Maximized and has the...
I have an MDI form in which I load child forms. I need to resize the child forms to fit the entire dimensions of the internal viewable area of the MDI form. How can I find this?
If I set the width and height of the MDI form to say, 800 and 600 respectively, the internal viewable area is always...
I don't want the report to load before I explicity issue a command for it do so.
Actually, I require to set a parameter's value in code. If the value is not set when loading the prompt comes up.
I am using Crystal Reports for Visual Studio.NET and using a CrystalReportViewer control to load...
I am grouping my report using two fields Field A and Field B.
I want the user to be able to either group by Field A and Field B or only by Field A. In both cases I want the details to be sorted on the basis of Field C.
How can this be achieved?
Infimo
Is it possible to be able to reference a variable whose name is contained in a string.
So if I have x = "Hello", then can I somehow use x to reference the variable Hello?
Thanks in advance.
Mohit
Hi!
How do you obtain a reference to a control from its event handler without knowing the name of that control?
On my form I have some textboxes that have the same code in all their LostFocus and GotFocus events. The only difference is the name of that control itself.
I was wondering if I...
Hi!
When I try loggin on to this XP Pro machine that I just upgraded to XP Home (which had a lot of spyware installed on it previously), using a normal User account, no Explorer-related stuff works. So can't browse through any directories, etc.
However, when going through any Admin account...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.