Click here to Skip to main content
15,886,083 members
Home / Discussions / C#
   

C#

 
QuestionCreate single setup to install x64 & x86 msi Pin
honeyashu24-Oct-12 21:40
honeyashu24-Oct-12 21:40 
AnswerRe: Create single setup to install x64 & x86 msi Pin
Mycroft Holmes24-Oct-12 22:25
professionalMycroft Holmes24-Oct-12 22:25 
GeneralRe: Create single setup to install x64 & x86 msi Pin
honeyashu24-Oct-12 23:25
honeyashu24-Oct-12 23:25 
GeneralRe: Create single setup to install x64 & x86 msi Pin
Dave Kreskowiak25-Oct-12 4:13
mveDave Kreskowiak25-Oct-12 4:13 
GeneralRe: Create single setup to install x64 & x86 msi Pin
honeyashu25-Oct-12 18:10
honeyashu25-Oct-12 18:10 
GeneralRe: Create single setup to install x64 & x86 msi Pin
Dave Kreskowiak25-Oct-12 18:26
mveDave Kreskowiak25-Oct-12 18:26 
AnswerRe: Create single setup to install x64 & x86 msi Pin
BobJanova24-Oct-12 22:34
BobJanova24-Oct-12 22:34 
Question[Solved] C# WPF - Creating controls based upon SQL results Pin
patrickalexson24-Oct-12 17:23
patrickalexson24-Oct-12 17:23 
Hello Community,

I am fairly new to OOP so forgive me in my faltering.

I'm putting together a rather small application, in WPF .NET4CP. This application will fetch information from a SQL server and should display the results.

In this example the SQL DB's table will contain lets say 5 columns (first name, last name, description, job, access). These are all varchar.

When the query is run from a button onclick, each resulting row's field will need to be mapped to a control (like a label or something simple). Here's what I do not understand - how does one dynamically create instances of controls AND handle where they will be shown/placed/located in the application (these controls may not all be grouped together in the same place - a tabular listing of results wouldn't do me much good).

I seriously wouldn't want to define an int for say a Y axis value, and for each result, create a new instance of a control, set Y axis to int and then increment int +=10; and go to next result right?

I'm missing fundamentals here and I'm frustrated that I'm not sure what the proper terminology is or how to search for answers.

modified 25-Oct-12 12:03pm.

AnswerRe: C# WPF - Creating controls based upon SQL results Pin
Mycroft Holmes24-Oct-12 17:50
professionalMycroft Holmes24-Oct-12 17:50 
AnswerRe: C# WPF - Creating controls based upon SQL results Pin
Richard MacCutchan24-Oct-12 22:11
mveRichard MacCutchan24-Oct-12 22:11 
AnswerRe: C# WPF - Creating controls based upon SQL results Pin
BobJanova24-Oct-12 22:32
BobJanova24-Oct-12 22:32 
GeneralRe: C# WPF - Creating controls based upon SQL results Pin
patrickalexson25-Oct-12 6:03
patrickalexson25-Oct-12 6:03 
QuestionHi All Pin
Saied Ghazal24-Oct-12 13:09
Saied Ghazal24-Oct-12 13:09 
AnswerRe: Hi All Pin
Richard Andrew x6424-Oct-12 16:12
professionalRichard Andrew x6424-Oct-12 16:12 
AnswerRe: Hi All Pin
OriginalGriff24-Oct-12 19:39
mveOriginalGriff24-Oct-12 19:39 
AnswerRe: Hi All Pin
V.24-Oct-12 21:12
professionalV.24-Oct-12 21:12 
QuestionOne 8-Bit Byte Across The Serial Port Pin
C-P-User-324-Oct-12 12:58
C-P-User-324-Oct-12 12:58 
AnswerRe: One 8-Bit Byte Across The Serial Port Pin
Dave Kreskowiak24-Oct-12 13:35
mveDave Kreskowiak24-Oct-12 13:35 
GeneralRe: One 8-Bit Byte Across The Serial Port Pin
C-P-User-325-Oct-12 11:51
C-P-User-325-Oct-12 11:51 
GeneralRe: One 8-Bit Byte Across The Serial Port Pin
Dave Kreskowiak26-Oct-12 2:26
mveDave Kreskowiak26-Oct-12 2:26 
GeneralRe: One 8-Bit Byte Across The Serial Port Pin
C-P-User-326-Oct-12 6:23
C-P-User-326-Oct-12 6:23 
GeneralRe: One 8-Bit Byte Across The Serial Port Pin
Dave Kreskowiak26-Oct-12 8:47
mveDave Kreskowiak26-Oct-12 8:47 
AnswerRe: One 8-Bit Byte Across The Serial Port Pin
Gerry Schmitz24-Oct-12 15:19
mveGerry Schmitz24-Oct-12 15:19 
GeneralRe: One 8-Bit Byte Across The Serial Port Pin
C-P-User-330-Oct-12 8:32
C-P-User-330-Oct-12 8:32 
GeneralRe: One 8-Bit Byte Across The Serial Port Pin
Gerry Schmitz30-Oct-12 11:01
mveGerry Schmitz30-Oct-12 11:01 

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.