Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to share a DLL between two applications? Pin
JBHowl30-Jan-15 5:31
JBHowl30-Jan-15 5:31 
GeneralRe: How to share a DLL between two applications? Pin
Richard Andrew x6430-Jan-15 5:46
professionalRichard Andrew x6430-Jan-15 5:46 
AnswerRe: How to share a DLL between two applications? Pin
Gerry Schmitz30-Jan-15 10:32
mveGerry Schmitz30-Jan-15 10:32 
GeneralRe: How to share a DLL between two applications? Pin
jschell30-Jan-15 11:13
jschell30-Jan-15 11:13 
Questionsql to C#.net databinding Pin
User 1138061130-Jan-15 3:52
User 1138061130-Jan-15 3:52 
AnswerRe: sql to C#.net databinding Pin
OriginalGriff30-Jan-15 4:00
mveOriginalGriff30-Jan-15 4:00 
GeneralRe: sql to C#.net databinding Pin
User 1138061130-Jan-15 4:13
User 1138061130-Jan-15 4:13 
AnswerRe: sql to C#.net databinding Pin
Simon_Whale30-Jan-15 4:13
Simon_Whale30-Jan-15 4:13 
If you want to make it flexible and avoid what Griff is saying you are going to need to be able to create these labels at runtime using something similar too

C#
Label MakeLabel = new Label();
MakeLabel.Name = "x";
MakeLabel.Text = CardDetailsField;

Form.Controls.Add(MakeLabel);


please note that this code snippet is not complete as you need to add the looping of your resultset, positioning on the form etc.

But also Like Griff stated can't you use something different to display the data? such as a datagridview or listbox control?
Every day, thousands of innocent plants are killed by vegetarians.

Help end the violence EAT BACON

GeneralRe: sql to C#.net databinding Pin
User 1138061130-Jan-15 4:27
User 1138061130-Jan-15 4:27 
QuestionSWF File version 9 decompiling in c# Pin
krvasanth30-Jan-15 1:26
krvasanth30-Jan-15 1:26 
AnswerRe: SWF File version 9 decompiling in c# Pin
Eddy Vluggen30-Jan-15 5:14
professionalEddy Vluggen30-Jan-15 5:14 
Question(solved) WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
BillWoodruff29-Jan-15 21:17
professionalBillWoodruff29-Jan-15 21:17 
AnswerRe: WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
Eddy Vluggen30-Jan-15 0:29
professionalEddy Vluggen30-Jan-15 0:29 
GeneralRe: WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
BillWoodruff30-Jan-15 4:32
professionalBillWoodruff30-Jan-15 4:32 
GeneralRe: WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
Eddy Vluggen30-Jan-15 5:11
professionalEddy Vluggen30-Jan-15 5:11 
GeneralRe: WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
BillWoodruff30-Jan-15 6:45
professionalBillWoodruff30-Jan-15 6:45 
GeneralRe: WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
Eddy Vluggen30-Jan-15 7:15
professionalEddy Vluggen30-Jan-15 7:15 
AnswerRe: WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
Freak3030-Jan-15 3:22
Freak3030-Jan-15 3:22 
GeneralRe: WinForms: run-time loading of UserControl .dll that implements an Interface ? Pin
BillWoodruff30-Jan-15 4:33
professionalBillWoodruff30-Jan-15 4:33 
Questiongetting os info of local network Pin
JSingh_Freelancer29-Jan-15 20:47
JSingh_Freelancer29-Jan-15 20:47 
QuestionRe: getting os info of local network Pin
Richard MacCutchan29-Jan-15 22:59
mveRichard MacCutchan29-Jan-15 22:59 
AnswerRe: getting os info of local network Pin
OriginalGriff30-Jan-15 0:08
mveOriginalGriff30-Jan-15 0:08 
GeneralRe: getting os info of local network Pin
JSingh_Freelancer30-Jan-15 0:16
JSingh_Freelancer30-Jan-15 0:16 
GeneralRe: getting os info of local network Pin
OriginalGriff30-Jan-15 0:23
mveOriginalGriff30-Jan-15 0:23 
AnswerRe: getting os info of local network Pin
Pete O'Hanlon30-Jan-15 1:15
mvePete O'Hanlon30-Jan-15 1:15 

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.