Click here to Skip to main content
15,914,165 members
Home / Discussions / C#
   

C#

 
GeneralRe: another mouse question (events) Pin
Sam 200627-Nov-05 7:42
Sam 200627-Nov-05 7:42 
GeneralRe: another mouse question (events) Pin
Curtis Schlak.27-Nov-05 8:01
Curtis Schlak.27-Nov-05 8:01 
AnswerRe: another mouse question (events) Pin
User 665827-Nov-05 6:08
User 665827-Nov-05 6:08 
Questionretrieving from array list. Pin
sadek_a_27-Nov-05 1:08
sadek_a_27-Nov-05 1:08 
AnswerRe: retrieving from array list. Pin
Curtis Schlak.27-Nov-05 2:45
Curtis Schlak.27-Nov-05 2:45 
GeneralRe: retrieving from array list. Pin
sadek_a_27-Nov-05 3:19
sadek_a_27-Nov-05 3:19 
GeneralRe: retrieving from array list. Pin
Curtis Schlak.27-Nov-05 4:59
Curtis Schlak.27-Nov-05 4:59 
Questionchanging dataGrid data source by comboBox selection Pin
orlya26-Nov-05 23:14
orlya26-Nov-05 23:14 
Hello,
I created a dataGrid based on a parameter query, on the same form of the dataGrid there is a comboBox with values. when I change the selection in the combo I want the DataGrid to change accordingly.

on SelectedIndexChange event for the combo, I send the value as a parameter to the dataAdapter, then fill the dataSet and refresh the dataGrid.
for some reason the grid is not refreshed.
this is my code:
private void re()
{
oleDbDataDetail.SelectCommand.Parameters.Add ("@vak",OleDbType.Integer ).Value=int.Parse(comboBox1.Text );
dataSetDetail.Clear();
oleDbDataDetail.Fill(dataSetDetails);
}
private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
{re();
dataGrid1.Refresh ();
}
any ideas?
Thank You!!!


AnswerRe: changing dataGrid data source by comboBox selection Pin
Stanciu Vlad27-Nov-05 5:27
Stanciu Vlad27-Nov-05 5:27 
GeneralRe: changing dataGrid data source by comboBox selection Pin
orlya28-Nov-05 6:33
orlya28-Nov-05 6:33 
GeneralRe: changing dataGrid data source by comboBox selection Pin
Stanciu Vlad28-Nov-05 9:06
Stanciu Vlad28-Nov-05 9:06 
GeneralRe: changing dataGrid data source by comboBox selection Pin
orlya28-Nov-05 20:06
orlya28-Nov-05 20:06 
QuestionCrystalReportViewer PageDown Pin
Bedevian26-Nov-05 21:22
Bedevian26-Nov-05 21:22 
QuestionC# DisplayComposeForm for Smartphone Pin
bklynjava126-Nov-05 19:43
bklynjava126-Nov-05 19:43 
AnswerRe: C# DisplayComposeForm for Smartphone Pin
bklynjava127-Nov-05 8:17
bklynjava127-Nov-05 8:17 
Question[VERY URGENT]!! mouse position and screen resolution Pin
Sam 200626-Nov-05 16:38
Sam 200626-Nov-05 16:38 
AnswerRe: [VERY URGENT]!! mouse position and screen resolution Pin
Stanciu Vlad26-Nov-05 21:05
Stanciu Vlad26-Nov-05 21:05 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
leppie26-Nov-05 22:43
leppie26-Nov-05 22:43 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
Robert Rohde26-Nov-05 22:49
Robert Rohde26-Nov-05 22:49 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
leppie26-Nov-05 22:52
leppie26-Nov-05 22:52 
GeneralRe: [VERY URGENT]!! mouse position and screen resolution Pin
Sam 200627-Nov-05 2:04
Sam 200627-Nov-05 2:04 
QuestionWindows User List Pin
rushed26-Nov-05 15:03
rushed26-Nov-05 15:03 
AnswerRe: Windows User List Pin
Curtis Schlak.26-Nov-05 16:02
Curtis Schlak.26-Nov-05 16:02 
QuestionHow to declare/set bool flag + button + NumericUpDown Pin
...---...26-Nov-05 14:22
...---...26-Nov-05 14:22 
AnswerRe: How to declare/set bool flag + button + NumericUpDown Pin
Curtis Schlak.26-Nov-05 14:56
Curtis Schlak.26-Nov-05 14:56 

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.