Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 10:13
diialer29-Dec-09 10:13 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
DaveyM6929-Dec-09 11:24
professionalDaveyM6929-Dec-09 11:24 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
diialer29-Dec-09 13:34
diialer29-Dec-09 13:34 
GeneralRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
Luc Pattyn29-Dec-09 14:29
sitebuilderLuc Pattyn29-Dec-09 14:29 
AnswerRe: Fill HTML-Forms, wait for respons and get answere with C# Pin
OriginalGriff29-Dec-09 10:12
mveOriginalGriff29-Dec-09 10:12 
QuestionWord Bookmark Value Pin
Member 230798429-Dec-09 9:42
Member 230798429-Dec-09 9:42 
AnswerRe: Word Bookmark Value Pin
Rick Shaub30-Dec-09 3:57
Rick Shaub30-Dec-09 3:57 
Questiondisplay detail view form when click on a row Pin
duce1nik29-Dec-09 8:09
duce1nik29-Dec-09 8:09 
Hi. I would like to be able to bring up another form for editing data in Detail view when click on a row in gridview. these or the code that i'm workin with but don't seem to be working. Anyone help me or show me another easier way to do it

// EmployeesViewForm.cs
////This the GridviewForm
class EmployeesViewForm : Form {
...
void addToolStripButton_Click(object sender, EventArgs e) {
this.EditEmployee(this.employeesBindingSource.AddNew());
}

void updateToolStripButton_Click(object sender, EventArgs e) {
this.EditEmployee((DataRowView)this.employeesBindingSource.Current);
}

void EditEmployee(DataRowView item) {
// Pass to child employee details form
EmployeesEditForm dlg = new EmployeesEditForm(item);
if( dlg.ShowDialog() == DialogResult.OK ) {
// Reset to reflect changes automatically
this.employeesBindingSource.ResetCurrentItem()
}
}

// EmployeesEditForm.cs

// EmployeesEditForm.cs //// This the form with detail View
partial class EmployeesEditForm : Form {
...
void EmployeeItemForm_FormClosing(
object sender, FormClosingEventArgs e) {
// Cancel edit if Cancel button is pressed or form is closed from
// either the system menu or close box
if( (e.CloseReason == CloseReason.UserClosing) ||
(this.DialogResult == DialogResult.Cancel) ) {
this.employeesBindingSource.CancelEdit();
}
}
}
AnswerRe: display detail view form when click on a row Pin
#realJSOP29-Dec-09 8:14
mve#realJSOP29-Dec-09 8:14 
GeneralRe: display detail view form when click on a row Pin
duce1nik29-Dec-09 16:50
duce1nik29-Dec-09 16:50 
QuestionCheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:00
professionalKevin Marois29-Dec-09 8:00 
AnswerRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:05
darkelv29-Dec-09 8:05 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
Kevin Marois29-Dec-09 8:19
professionalKevin Marois29-Dec-09 8:19 
GeneralRe: CheckBox In WinForms DataGridView Not Working Pin
darkelv29-Dec-09 8:24
darkelv29-Dec-09 8:24 
GeneralC# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 5:23
Wheels01229-Dec-09 5:23 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 5:45
TheFoZ29-Dec-09 5:45 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 5:56
Wheels01229-Dec-09 5:56 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 5:59
TheFoZ29-Dec-09 5:59 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01229-Dec-09 6:10
Wheels01229-Dec-09 6:10 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 21:30
TheFoZ29-Dec-09 21:30 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Wheels01230-Dec-09 1:34
Wheels01230-Dec-09 1:34 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
Luc Pattyn29-Dec-09 6:23
sitebuilderLuc Pattyn29-Dec-09 6:23 
GeneralRe: C# VS 2008 3.5 Winform SetFocus to textbox on Ctrl + L Pin
TheFoZ29-Dec-09 21:24
TheFoZ29-Dec-09 21:24 
QuestionSorting using generic classes + c# Pin
abcurl29-Dec-09 5:17
abcurl29-Dec-09 5:17 
AnswerRe: Sorting using generic classes + c# Pin
Eddy Vluggen29-Dec-09 6:20
professionalEddy Vluggen29-Dec-09 6:20 

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.