Click here to Skip to main content
16,014,392 members
Home / Discussions / C#
   

C#

 
Generalconst parameters in c# Pin
Joel Holdsworth24-May-04 4:36
Joel Holdsworth24-May-04 4:36 
GeneralRe: const parameters in c# Pin
Heath Stewart24-May-04 4:47
protectorHeath Stewart24-May-04 4:47 
GeneralRe: const parameters in c# Pin
Joel Holdsworth24-May-04 4:53
Joel Holdsworth24-May-04 4:53 
GeneralRe: const parameters in c# Pin
Heath Stewart24-May-04 4:59
protectorHeath Stewart24-May-04 4:59 
GeneralRe: const parameters in c# Pin
Joel Holdsworth24-May-04 5:03
Joel Holdsworth24-May-04 5:03 
GeneralRe: const parameters in c# Pin
leppie24-May-04 11:13
leppie24-May-04 11:13 
GeneralRe: const parameters in c# Pin
Baris Kurtlutepe26-May-04 9:51
Baris Kurtlutepe26-May-04 9:51 
Generalxml in datagrid Pin
bertcox24-May-04 4:20
bertcox24-May-04 4:20 
hello,

i have a xml-file that looks like this:

<exceptions company="RLS">
<tablegroups>
<extablegroup name="settings">independent</extablegroup>
</tablegroups>
<tables>
<extable name="progmst">independent</extable>
</tables>
</exceptions>


In the code i do this to get the extablegroup into a datagrid:

ds.ReadXml(filePath);
dtgExtg.DataSource = ds;
dtgExtg.DataMember = "extablegroup";

But then the compiler says:

An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll
Additional information: Cannot create a child list for field extablegroup.

What could be the problem?

thx in advance
GeneralRe: xml in datagrid Pin
Heath Stewart24-May-04 4:29
protectorHeath Stewart24-May-04 4:29 
GeneralRe: xml in datagrid Pin
bertcox24-May-04 4:44
bertcox24-May-04 4:44 
GeneralRe: xml in datagrid Pin
Heath Stewart24-May-04 4:52
protectorHeath Stewart24-May-04 4:52 
GeneralRe: xml in datagrid Pin
bertcox24-May-04 4:58
bertcox24-May-04 4:58 
GeneralRe: xml in datagrid Pin
Heath Stewart24-May-04 5:02
protectorHeath Stewart24-May-04 5:02 
GeneralRe: xml in datagrid Pin
bertcox24-May-04 5:26
bertcox24-May-04 5:26 
GeneralRe: xml in datagrid Pin
Heath Stewart24-May-04 5:32
protectorHeath Stewart24-May-04 5:32 
GeneralRe: xml in datagrid Pin
bertcox24-May-04 5:35
bertcox24-May-04 5:35 
QuestionGDI+:How to capture a treeview to bmp? Pin
CNU23-May-04 23:23
CNU23-May-04 23:23 
AnswerRe: GDI+:How to capture a treeview to bmp? Pin
Dave Kreskowiak24-May-04 4:02
mveDave Kreskowiak24-May-04 4:02 
AnswerRe: GDI+:How to capture a treeview to bmp? Pin
Heath Stewart24-May-04 4:14
protectorHeath Stewart24-May-04 4:14 
QuestionCheck for Invalid Characters ? Pin
azusakt23-May-04 22:53
azusakt23-May-04 22:53 
AnswerRe: Check for Invalid Characters ? Pin
Colin Angus Mackay23-May-04 23:35
Colin Angus Mackay23-May-04 23:35 
AnswerRe: Check for Invalid Characters ? Pin
leppie24-May-04 11:29
leppie24-May-04 11:29 
GeneralRe: Check for Invalid Characters ? Pin
azusakt24-May-04 15:28
azusakt24-May-04 15:28 
Generalinteract with an interactive cli program Pin
humba23-May-04 22:38
humba23-May-04 22:38 
GeneralDeleting a listbox item Pin
Jason Ranin23-May-04 21:50
Jason Ranin23-May-04 21:50 

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.