Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: How to stop windows form from refreshing/updating Pin
Christian Graus3-Dec-08 13:52
protectorChristian Graus3-Dec-08 13:52 
Questionpropertyies and attributes Pin
netJP12L3-Dec-08 11:20
netJP12L3-Dec-08 11:20 
QuestionSyntax error (missing operator) in query expression Pin
hassanasp3-Dec-08 10:22
hassanasp3-Dec-08 10:22 
AnswerRe: Syntax error (missing operator) in query expression Pin
PH-MAT3-Dec-08 10:25
PH-MAT3-Dec-08 10:25 
GeneralRe: Syntax error (missing operator) in query expression Pin
hassanasp3-Dec-08 10:34
hassanasp3-Dec-08 10:34 

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.