Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 8:04
MickCurley16-Feb-09 8:04 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 10:37
mid_life_crisis16-Feb-09 10:37 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 10:48
mid_life_crisis16-Feb-09 10:48 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 12:48
MickCurley16-Feb-09 12:48 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 16:14
mid_life_crisis16-Feb-09 16:14 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 21:16
MickCurley16-Feb-09 21:16 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis17-Feb-09 2:26
mid_life_crisis17-Feb-09 2:26 
QuestionListBox Control - using DisplayMember and ValueMember Pin
divinyl16-Feb-09 5:34
divinyl16-Feb-09 5:34 
AnswerRe: ListBox Control - using DisplayMember and ValueMember Pin
Xmen Real 16-Feb-09 7:45
professional Xmen Real 16-Feb-09 7:45 
QuestionDrag&Drop over RichTextBox showing wrong DropEffect Pin
mav.northwind16-Feb-09 5:18
mav.northwind16-Feb-09 5:18 
AnswerRe: Drag&Drop over RichTextBox showing wrong DropEffect Pin
Xmen Real 16-Feb-09 7:54
professional Xmen Real 16-Feb-09 7:54 
GeneralRe: Drag&Drop over RichTextBox showing wrong DropEffect Pin
mav.northwind16-Feb-09 8:41
mav.northwind16-Feb-09 8:41 
GeneralRe: Drag&Drop over RichTextBox showing wrong DropEffect Pin
Xmen Real 16-Feb-09 13:44
professional Xmen Real 16-Feb-09 13:44 
QuestionSee the execution path of my program Pin
anderslundsgard16-Feb-09 5:17
anderslundsgard16-Feb-09 5:17 
AnswerRe: See the execution path of my program Pin
Eddy Vluggen16-Feb-09 7:36
professionalEddy Vluggen16-Feb-09 7:36 
QuestionShow Repeating Data Pin
Terick16-Feb-09 4:44
Terick16-Feb-09 4:44 
QuestionDesigning Menu/tool bar system takes action depending on control displayed Pin
SilimSayo16-Feb-09 4:38
SilimSayo16-Feb-09 4:38 
QuestionTreeView-Error Pin
Udayaraju16-Feb-09 3:33
Udayaraju16-Feb-09 3:33 
AnswerRe: TreeView-Error Pin
Xmen Real 16-Feb-09 7:34
professional Xmen Real 16-Feb-09 7:34 
GeneralRe: TreeView-Error Pin
Udayaraju16-Feb-09 8:06
Udayaraju16-Feb-09 8:06 
GeneralRe: TreeView-Error Pin
Xmen Real 16-Feb-09 8:08
professional Xmen Real 16-Feb-09 8:08 
QuestionDataGridView doesn't display anything. Pin
AxiliuM16-Feb-09 3:04
AxiliuM16-Feb-09 3:04 
Hello!
I have 2 forms. The first has a DataSet with a table("Table1"), the second form has a BindingSource, BindingNavigator, DataGridView;
<br />
//...<br />
Form1 fmMain=new Form1;<br />
//...Button click<br />
Form2 fmSecond=new Form2();<br />
fm.ShowDialog(fmMain)<br />
//...<br />
private void Form2_Load(object sender, EventArgs e)<br />
{<br />
BindingSource.DataSource = ((Form1)this.Parent).DataSet;<br />
BindingSource.DataMember = "Table";<br />
DataGridView.DataSource=BindingSource;<br />
BindingNavigator.BindingSource=BindingSource;<br />
}<br />


BindingNavigator shows that there are 100 rows and the position=1, but DataGridView doesn't display anything.

But this code works:

<br />
//...<br />
Form1 fmMain=new Form1;<br />
//...Button click<br />
Form2 fmSecond=new Form2();<br />
fm.ShowDialog(fmMain)<br />
//...<br />
private void Form2_Load(object sender, EventArgs e)<br />
{<br />
DataGridView dt = new DataGridView();<br />
BindingSource.DataSource = ((Form1)this.Parent).DataSet;<br />
BindingSource.DataMember = "Table";<br />
dt.DataSource=BindingSource;<br />
dt.Parent = this;<br />
BindingNavigator.BindingSource=BindingSource;<br />
}<br />


Does anybody have some ideeas?
AnswerRe: DataGridView doesn't display anything. Pin
Calin Tatar16-Feb-09 7:21
Calin Tatar16-Feb-09 7:21 
GeneralRe: DataGridView doesn't display anything. Pin
AxiliuM16-Feb-09 10:22
AxiliuM16-Feb-09 10:22 
GeneralRe: DataGridView doesn't display anything. Pin
Calin Tatar16-Feb-09 22:05
Calin Tatar16-Feb-09 22:05 

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.