Click here to Skip to main content
15,921,179 members
Home / Discussions / C#
   

C#

 
AnswerRe: application logging strategy - advice Pin
V.25-Oct-12 21:10
professionalV.25-Oct-12 21:10 
Questionapplicatin developing in c# Pin
krishnaveni_g24-Oct-12 23:29
krishnaveni_g24-Oct-12 23:29 
AnswerRe: applicatin developing in c# Pin
Eddy Vluggen24-Oct-12 23:35
professionalEddy Vluggen24-Oct-12 23:35 
AnswerRe: applicatin developing in c# Pin
Sivaraman Dhamodharan24-Oct-12 23:47
Sivaraman Dhamodharan24-Oct-12 23:47 
AnswerMy vote of 1 Pin
Keith Barrow25-Oct-12 2:49
professionalKeith Barrow25-Oct-12 2:49 
AnswerRe: applicatin developing in c# Pin
Vasudevan Deepak Kumar25-Oct-12 8:54
Vasudevan Deepak Kumar25-Oct-12 8:54 
GeneralRe: applicatin developing in c# Pin
V.26-Oct-12 2:39
professionalV.26-Oct-12 2:39 
AnswerRe: applicatin developing in c# Pin
gopal pradhan8-Nov-12 23:33
gopal pradhan8-Nov-12 23:33 
AnswerRe: applicatin developing in c# Pin
gopal pradhan8-Nov-12 23:34
gopal pradhan8-Nov-12 23:34 
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 

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.