Click here to Skip to main content
15,880,543 members
Home / Discussions / C#
   

C#

 
GeneralRe: Database Explorer Query Pin
Richard MacCutchan9-Apr-12 21:09
mveRichard MacCutchan9-Apr-12 21:09 
AnswerRe: Database Explorer Query Pin
Dave Kreskowiak9-Apr-12 14:40
mveDave Kreskowiak9-Apr-12 14:40 
GeneralGetting Higlighted/Selected Text in C# Pin
Alchemist28899-Apr-12 0:06
Alchemist28899-Apr-12 0:06 
GeneralRe: Getting Higlighted/Selected Text in C# Pin
Bernhard Hiller9-Apr-12 23:36
Bernhard Hiller9-Apr-12 23:36 
Questionimporting RowName and ColumnName from an excelfile to a datagridview ... Pin
nassimnastaran8-Apr-12 8:39
nassimnastaran8-Apr-12 8:39 
AnswerRe: importing RowName and ColumnName from an excelfile to a datagridview ... Pin
Mycroft Holmes8-Apr-12 20:54
professionalMycroft Holmes8-Apr-12 20:54 
GeneralRe: importing RowName and ColumnName from an excelfile to a datagridview ... Pin
nassimnastaran9-Apr-12 4:18
nassimnastaran9-Apr-12 4:18 
QuestionDatabase Programming in WPF Pin
TAN TH7-Apr-12 23:10
TAN TH7-Apr-12 23:10 
I understand that the Database data can be easily displayed in a grid in WPF, by clicking a table in the Data Sources windows and dragging it onto the form.

we can then click a cell to change its value.

Say, if we have a field say Quotation_Date, and when we want to change/edit that field at a certain row, I would want a Calendar control with DatePicker to appear, such that user can change the date for the Quotation_Date at that row, from the Calendar control. Is that possible?

Similarly, say if we have a field say Weather, and when we want to change/edit that field at a certain row, I would want a ComboBox to appear, such that user can select from the ComboBox collections (Rainy, Sunny, Stormy), and update it. Is that possible?

Third question. With its DataGridView displaying all items from the database, I would want to have a button Add New Item, such that when user click on that button, a second WPF form (new and empty) appears such that all those fields [Items_ID, Quotation_Date, Weather] would appear, and when user adds new items from the second form, thoes Calendar control and ComboBox control would also appears on the second form. When user clicks a Save button, it would close the second form and update its new item to the first form. Is that possible?

thanks.
AnswerRe: Database Programming in WPF Pin
Mycroft Holmes8-Apr-12 0:07
professionalMycroft Holmes8-Apr-12 0:07 
GeneralRe: Database Programming in WPF Pin
TAN TH8-Apr-12 20:32
TAN TH8-Apr-12 20:32 
GeneralRe: Database Programming in WPF Pin
Mycroft Holmes8-Apr-12 20:50
professionalMycroft Holmes8-Apr-12 20:50 
GeneralRe: Database Programming in WPF Pin
TAN TH9-Apr-12 13:56
TAN TH9-Apr-12 13:56 
Questionaccessing image by bit in c # Pin
waqar rashid7-Apr-12 21:56
waqar rashid7-Apr-12 21:56 
AnswerRe: accessing image by bit in c # Pin
Pete O'Hanlon7-Apr-12 22:49
mvePete O'Hanlon7-Apr-12 22:49 
GeneralRe: accessing image by bit in c # Pin
Vipin_Arora8-Apr-12 21:36
Vipin_Arora8-Apr-12 21:36 
Questionlog into a website Pin
DanYELL7-Apr-12 8:15
DanYELL7-Apr-12 8:15 
AnswerRe: log into a website Pin
Not Active7-Apr-12 11:08
mentorNot Active7-Apr-12 11:08 
GeneralRe: log into a website Pin
DanYELL7-Apr-12 13:47
DanYELL7-Apr-12 13:47 
GeneralRe: log into a website Pin
DanYELL9-Apr-12 3:46
DanYELL9-Apr-12 3:46 
QuestionGetting values from tasklist.exe /v Pin
CCodeNewbie7-Apr-12 6:24
CCodeNewbie7-Apr-12 6:24 
AnswerRe: Getting values from tasklist.exe /v Pin
Richard Andrew x647-Apr-12 6:42
professionalRichard Andrew x647-Apr-12 6:42 
GeneralRe: Getting values from tasklist.exe /v Pin
CCodeNewbie7-Apr-12 6:55
CCodeNewbie7-Apr-12 6:55 
AnswerRe: Getting values from tasklist.exe /v Pin
Alan N7-Apr-12 9:55
Alan N7-Apr-12 9:55 
AnswerRe: Getting values from tasklist.exe /v Pin
Richard Andrew x647-Apr-12 10:23
professionalRichard Andrew x647-Apr-12 10:23 
GeneralRe: Getting values from tasklist.exe /v Pin
CCodeNewbie7-Apr-12 11:18
CCodeNewbie7-Apr-12 11: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.