Posted on: 8/12/2013 3:07:21 PM | Views : 233

Hi, I have an access database with a linked table.
The linked table is to a DSN. When I try and link a chart to the linked access table i get this error:
An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll If I link a chart to an imported version of the link table the chart works fine.
What could i be doing wrong?
Many Thanks


private void creatChart() { Chart chart = new Chart(); chart.Width = 400; chart.Height = 300; string myConnStr = "DSN=2501;DB=mydb;UID=user;PWD=mypwd;HOST=myserver;PORT=2511"; OleDbConnection myConn= new OleDbConnection (myConnStr); myConn.Open(); string myQuery = " SELECT * From MyTable"; OleDbCommand cmd = new OleDbCommand(myQuery, myConn); ...

Go to the complete details ...