Click here to Skip to main content
15,918,889 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# WPF - Creating controls based upon SQL results Pin
Mycroft Holmes24-Oct-12 17:50
professionalMycroft Holmes24-Oct-12 17:50 
The most common design for this type of data is to use a grid to list the records and a panel/dialog/form to display the detail.

There is nothing dynamic about the UI, especially with WPF/Silverlight, you should know what the columns are and can therefore name the grid columns and the form controls.

As you have all the information you then design the view placing the controls where you want them.

The grid should be bound to a collection and there should be a selecteditem bound to the grid and the form controls.

I suggest you get a book on WPF and work through some examples you do not have a grasp of the fundamentals yet.
Never underestimate the power of human stupidity
RAH

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 
QuestionC# exe app Pin
Michael Kurdík24-Oct-12 10:10
Michael Kurdík24-Oct-12 10:10 
AnswerRe: C# exe app Pin
Pete O'Hanlon24-Oct-12 10:49
mvePete O'Hanlon24-Oct-12 10:49 
AnswerRe: C# exe app Pin
Abhinav S24-Oct-12 19:58
Abhinav S24-Oct-12 19:58 
QuestionWinforms or WPF Pin
Orjan Westin24-Oct-12 0:09
professionalOrjan Westin24-Oct-12 0:09 
AnswerRe: Winforms or WPF Pin
BobJanova24-Oct-12 0:52
BobJanova24-Oct-12 0:52 
AnswerRe: Winforms or WPF Pin
Pete O'Hanlon24-Oct-12 1:11
mvePete O'Hanlon24-Oct-12 1:11 
GeneralRe: Winforms or WPF Pin
Orjan Westin25-Oct-12 3:25
professionalOrjan Westin25-Oct-12 3:25 
AnswerRe: Winforms or WPF Pin
Eddy Vluggen24-Oct-12 1:18
professionalEddy Vluggen24-Oct-12 1:18 

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.