Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Pete O'Hanlon5-Mar-09 10:57
mvePete O'Hanlon5-Mar-09 10:57 
QuestionHow to use a COM Interface Dll within C# code??? Pin
lane0p25-Mar-09 6:18
lane0p25-Mar-09 6:18 
AnswerRe: How to use a COM Interface Dll within C# code??? Pin
Yusuf5-Mar-09 7:56
Yusuf5-Mar-09 7:56 
AnswerRe: How to use a COM Interface Dll within C# code??? Pin
Dragonfly_Lee5-Mar-09 18:20
Dragonfly_Lee5-Mar-09 18:20 
GeneralRe: How to use a COM Interface Dll within C# code??? Pin
lane0p25-Mar-09 23:29
lane0p25-Mar-09 23:29 
GeneralRe: How to use a COM Interface Dll within C# code??? Pin
Dragonfly_Lee6-Mar-09 2:41
Dragonfly_Lee6-Mar-09 2:41 
GeneralRe: How to use a COM Interface Dll within C# code??? Pin
lane0p26-Mar-09 4:45
lane0p26-Mar-09 4:45 
QuestionHow to get the value from a variable and use it eg Form.VariableValue Pin
MarkB1235-Mar-09 5:53
MarkB1235-Mar-09 5:53 
Hi all, can someone help with the following issue I'm having.

I am returning a dataset with a list of names of screen objects for a form.
I am trying to loop round the dataset, pick up the name then get the type of the control.

As follows...

foreach (DataRow row in dataSet_Groups.sp091_load_user_screen_components_layout.Rows)
{
strObjectName = Convert.ToString(row["ScreenObjectName"]);
strXMLText = Convert.ToString(row["XMLText"]);
intX = Convert.ToInt32(row["X"]);
intY = Convert.ToInt32(row["Y"]);
intWidth = Convert.ToInt32(row["Width"]);
intHeight = Convert.ToInt32(row["Weight"]);
intPosition = Convert.ToInt32(row["Position"]);

ctrlOnForm = frmToProcess.strObjectName;
switch (ctrlOnForm.GetType().FullName)
{
case "textEdit":
break;
}

}

frmToProcess is the form in question. How do I get the the value out of strObjectName and link it onto the the form name so I can check it's properties (see bold part in code). It's almost as if I need to perform Macro substitution (from my old FoxPro days)!
Sorry if my description is confusing.

Thanks.
AnswerRe: How to get the value from a variable and use it eg Form.VariableValue Pin
Xmen Real 5-Mar-09 5:57
professional Xmen Real 5-Mar-09 5:57 
GeneralRe: How to get the value from a variable and use it eg Form.VariableValue Pin
MarkB1235-Mar-09 8:06
MarkB1235-Mar-09 8:06 
QuestionHow to link the current website to your textbox ? Pin
YiXiang_895-Mar-09 5:52
YiXiang_895-Mar-09 5:52 
QuestionOledbException when trying to Insert values in two combobox Pin
haroon19805-Mar-09 5:44
haroon19805-Mar-09 5:44 
AnswerRe: OledbException when trying to Insert values in two combobox Pin
Yusuf5-Mar-09 8:07
Yusuf5-Mar-09 8:07 
GeneralRe: OledbException when trying to Insert values in two combobox Pin
haroon19805-Mar-09 12:24
haroon19805-Mar-09 12:24 
GeneralRe: OledbException when trying to Insert values in two combobox Pin
haroon19805-Mar-09 23:52
haroon19805-Mar-09 23:52 
QuestionLotus Notes (ConvertMIME) Pin
tomas cook5-Mar-09 4:46
tomas cook5-Mar-09 4:46 
AnswerRe: Lotus Notes (ConvertMIME) Pin
tomas cook11-Mar-09 0:47
tomas cook11-Mar-09 0:47 
QuestionHow to insert into Master/Details at the same time ? Pin
hdv2125-Mar-09 4:26
hdv2125-Mar-09 4:26 
AnswerRe: How to insert into Master/Details at the same time ? Pin
Eddy Vluggen5-Mar-09 4:45
professionalEddy Vluggen5-Mar-09 4:45 
GeneralRe: How to insert into Master/Details at the same time ? Pin
hdv2125-Mar-09 4:50
hdv2125-Mar-09 4:50 
GeneralRe: How to insert into Master/Details at the same time ? Pin
Eddy Vluggen5-Mar-09 5:11
professionalEddy Vluggen5-Mar-09 5:11 
GeneralRe: How to insert into Master/Details at the same time ? Pin
hdv2125-Mar-09 5:59
hdv2125-Mar-09 5:59 
GeneralRe: How to insert into Master/Details at the same time ? Pin
Eddy Vluggen5-Mar-09 6:36
professionalEddy Vluggen5-Mar-09 6:36 
GeneralRe: How to insert into Master/Details at the same time ? Pin
hdv2125-Mar-09 10:01
hdv2125-Mar-09 10:01 
GeneralRe: How to insert into Master/Details at the same time ? Pin
jaypatel5128-Mar-09 5:17
jaypatel5128-Mar-09 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.