Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
GeneralRe: OpenFileDialog directory path Pin
tonyjsebastian13-Dec-08 18:18
tonyjsebastian13-Dec-08 18:18 
GeneralRe: OpenFileDialog directory path Pin
Maddie from Dartford3-Dec-08 19:05
Maddie from Dartford3-Dec-08 19:05 
GeneralRe: OpenFileDialog directory path Pin
Guffa3-Dec-08 19:52
Guffa3-Dec-08 19:52 
GeneralRe: OpenFileDialog directory path Pin
Maddie from Dartford3-Dec-08 21:31
Maddie from Dartford3-Dec-08 21:31 
GeneralRe: OpenFileDialog directory path Pin
Guffa3-Dec-08 22:07
Guffa3-Dec-08 22:07 
QuestionWriting All listView1 Items, Weird... Pin
jas0n233-Dec-08 16:52
jas0n233-Dec-08 16:52 
AnswerRe: Writing All listView1 Items, Weird... Pin
CodingYoshi3-Dec-08 17:58
CodingYoshi3-Dec-08 17:58 
AnswerRe: Writing All listView1 Items, Weird... Pin
Christian Graus3-Dec-08 18:11
protectorChristian Graus3-Dec-08 18:11 
GeneralRe: Writing All listView1 Items, Weird... Pin
jas0n233-Dec-08 18:32
jas0n233-Dec-08 18:32 
QuestionData Field Values... Pin
Illegal Operation3-Dec-08 14:30
Illegal Operation3-Dec-08 14:30 
AnswerRe: Data Field Values... Pin
Christian Graus3-Dec-08 14:58
protectorChristian Graus3-Dec-08 14:58 
AnswerRe: Data Field Values... Pin
CodingYoshi3-Dec-08 18:12
CodingYoshi3-Dec-08 18:12 
QuestionQuestion about ZedGraph and Data Types Pin
Rafone3-Dec-08 13:09
Rafone3-Dec-08 13:09 
Is it possible to create a zedgraph and populate it from a dataset using the XMLReader (ds.ReadXml(myFilePath);)?
It seems that the XMLReader reads everything in as a string and the X axis of the intended graph are DateTime therefore it errors on the data type.

I though this might convert ... but it has not helped.

// Create a new DataSourcePointList to handle the database connection
DataSourcePointList dspl = new DataSourcePointList();
// Create a new Dataset
DataSet ds = new DataSet();
//Fill(ds);
string myFilePath = (Application.StartupPath + "\\trd.xml");
ds.ReadXml(myFilePath);
DataTable tbl = null;
tbl = new DataTable("getTrends");
tbl.Columns.Add("ID", typeof(string));
tbl.Columns.Add("UTCDateTime", typeof(DateTime));
tbl.Columns.Add("ActualValue", typeof(Double));
tbl.Columns.Add("Units", typeof(string));
tbl.Columns.Add("FullReference", typeof(string));




Any thoughts...

TIA
Rafone

Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...
AnswerRe: Question about ZedGraph and Data Types Pin
Christian Graus3-Dec-08 13:12
protectorChristian Graus3-Dec-08 13:12 
GeneralRe: Question about ZedGraph and Data Types Pin
Rafone3-Dec-08 13:31
Rafone3-Dec-08 13:31 
GeneralRe: Question about ZedGraph and Data Types Pin
Christian Graus3-Dec-08 13:51
protectorChristian Graus3-Dec-08 13:51 
QuestionUsing a TextBox as Console replacement. Pin
Mr.Brainley3-Dec-08 12:16
Mr.Brainley3-Dec-08 12:16 
GeneralRe: Using a TextBox as Console replacement. Pin
Luc Pattyn3-Dec-08 12:38
sitebuilderLuc Pattyn3-Dec-08 12:38 
GeneralRe: Using a TextBox as Console replacement. Pin
User 43300283-Dec-08 14:06
User 43300283-Dec-08 14:06 
GeneralRe: Using a TextBox as Console replacement. Pin
Luc Pattyn3-Dec-08 14:19
sitebuilderLuc Pattyn3-Dec-08 14:19 
GeneralRe: Using a TextBox as Console replacement. Pin
Mr.Brainley7-Dec-08 0:35
Mr.Brainley7-Dec-08 0:35 
QuestionReading files over network asynchronously Pin
CodingYoshi3-Dec-08 12:10
CodingYoshi3-Dec-08 12:10 
QuestionHow to stop windows form from refreshing/updating Pin
Kent K3-Dec-08 11:20
professionalKent K3-Dec-08 11:20 
AnswerRe: How to stop windows form from refreshing/updating Pin
Christian Graus3-Dec-08 11:48
protectorChristian Graus3-Dec-08 11:48 
GeneralRe: How to stop windows form from refreshing/updating Pin
Kent K3-Dec-08 12:03
professionalKent K3-Dec-08 12:03 

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.