Click here to Skip to main content
15,902,832 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to install my database project Pin
sreejith ss nair1-Aug-04 23:28
sreejith ss nair1-Aug-04 23:28 
GeneralCompiler/Interpreter Pin
softp_vc1-Aug-04 18:00
softp_vc1-Aug-04 18:00 
GeneralRe: Compiler/Interpreter Pin
Colin Angus Mackay1-Aug-04 20:24
Colin Angus Mackay1-Aug-04 20:24 
Generalinternal IP of ppc Pin
khchan1-Aug-04 16:50
khchan1-Aug-04 16:50 
GeneralRe: internal IP of ppc Pin
Dave Kreskowiak2-Aug-04 2:59
mveDave Kreskowiak2-Aug-04 2:59 
GeneralProgressBar on long processes Pin
Tim DuBois1-Aug-04 16:43
Tim DuBois1-Aug-04 16:43 
GeneralRe: ProgressBar on long processes Pin
Dave Kreskowiak2-Aug-04 3:10
mveDave Kreskowiak2-Aug-04 3:10 
GeneralProblems binding a dataset to a combobox Pin
Jefferys1-Aug-04 14:19
Jefferys1-Aug-04 14:19 
I just can't seam to figure out why the following code is not working. I would be thankful for any help.

Thanks,

JefferyS
Frown | :(

CODE:
string folderPath = "C:\\My Documents\\Visual Studio Projects\\MyDroidEngineer\\Data\\";
DataSet myDS = new DataSet();
myDS.ReadXml(folderPath + "planets.xml");

cboPlanets.DataSource = myDS.Tables["planet"];
cboPlanets.DisplayMember = "description";
cboPlanets.ValueMember = "swgcraft_id";

I get no errors and just a blank combo box
I have used a temp datagrid to check the dataset and it displays correctly.

Top Part of XML File:

<planet_data>
<planet swgcraft_id="1">
<description>Corellia

<planet swgcraft_id="2">
<description>Dantooine

<planet swgcraft_id="3">
<description>Dathomir

GeneralRe: Problems binding a dataset to a combobox Pin
mikker_1231-Aug-04 14:31
mikker_1231-Aug-04 14:31 
GeneralRe: Problems binding a dataset to a combobox Pin
softp_vc1-Aug-04 18:41
softp_vc1-Aug-04 18:41 
GeneralRe: Problems binding a dataset to a combobox Pin
Shailendra Rao1-Aug-04 18:49
Shailendra Rao1-Aug-04 18:49 
GeneralRe: Problems binding a dataset to a combobox Pin
Jefferys2-Aug-04 5:24
Jefferys2-Aug-04 5:24 
GeneralToolTip Control in pocket pc. Pin
memsharp1-Aug-04 5:28
memsharp1-Aug-04 5:28 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 11:09
Colin Angus Mackay1-Aug-04 11:09 
GeneralRe: ToolTip Control in pocket pc. Pin
leppie1-Aug-04 11:34
leppie1-Aug-04 11:34 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 11:53
Colin Angus Mackay1-Aug-04 11:53 
GeneralRe: ToolTip Control in pocket pc. Pin
leppie1-Aug-04 12:09
leppie1-Aug-04 12:09 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 13:52
Colin Angus Mackay1-Aug-04 13:52 
GeneralRe: ToolTip Control in pocket pc. Pin
Roman Rodov1-Aug-04 14:17
Roman Rodov1-Aug-04 14:17 
GeneralRe: ToolTip Control in pocket pc. Pin
Colin Angus Mackay1-Aug-04 22:20
Colin Angus Mackay1-Aug-04 22:20 
GeneralMS Query in Excel 2000 From C# Pin
Heroz1-Aug-04 5:07
Heroz1-Aug-04 5:07 
QuestionHow useful is are Windows.Forms? Pin
Anonymous1-Aug-04 3:42
Anonymous1-Aug-04 3:42 
AnswerRe: How useful is are Windows.Forms? Pin
Dave Kreskowiak1-Aug-04 4:23
mveDave Kreskowiak1-Aug-04 4:23 
AnswerRe: How useful is are Windows.Forms? Pin
Daniel Turini1-Aug-04 5:58
Daniel Turini1-Aug-04 5:58 
GeneralRe: How useful is are Windows.Forms? Pin
Anonymous1-Aug-04 6:26
Anonymous1-Aug-04 6:26 

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.