View Complete Post
I'm trying to build a chart in my application which will act as a client for an ASP.NET 3.5 web service that I created. The error I get is as follows:
Series data points do not support values of type System.Data.DataViewManagerListItemTypeDescriptor only values of these types can be used: Double, Decimal, Single, int, long, uint, ulong, String, DateTime, short, ushort.
I've tried various ways to resolve this but can't. This error points at the chtStats.DataBind() line in the code below:
Private Sub frmStatsReport_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'create a new instance of the service
Dim serv As New BhpService.ServiceSoapClient
'get a dataset with the response from the service
Dim ds As DataSet = New DataSet()
ds = serv.ViewSalesStats()
'create a DataTable with the values of the Bookings table from the dataset
Dim dt As DataTable = ds.Tables("Bookings")
'create the x axis values which is the Event name
'and therefore column 1 in the datatable
'this represents to t
I added refernece MySql.Data to my project. My web.config looks like that:
<?xml version="1.0"?><configuration> <connectionStrings> </connectionStrings> <system.web> <compilation> <assemblies> <add assembly="MySql.Data, Version=18.104.22.168, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/> </assemblies> </compilation></system.web></configuration>
But when in ServerExplorer I try "Add Connection..." I can't find "MySql Database" in the "Choose Data Source" dialog box?
What the problem can be?
Dino Esposito discusses various forms of client-side data binding as they are coming out in ASP.NET AJAX 4.0, focusing on some advanced features of data binding and observable objects.
MSDN Magazine December 2009
In this article, Dino reviews the pillars of real-world AJAX development as supported in ASP.NET AJAX 4.0. In doing so, he mostly focuses on client-side templates and data-binding but doesn't ignore other goodies, such as ADO.NET Data Services proxy classes and programming facilities.
MSDN Magazine October 2009
Flow documents offer enormous flexibility in arranging text layout and pagination, but they don't support data binding, so you can't dynamically change content. Here we build a component to solve that problem.
Vincent Van Den Berghe
MSDN Magazine April 2009
Here we present techniques for programmatic and declarative data binding and display with Windows Presentation Foundation.
MSDN Magazine July 2008
Fritz Onion demonstrates how the ListView control in ASP.NET 3.5 makes data-binding tasks easier with support for styling with CSS, flexible pagination, and a full complement of sorting, inserting, deleting, and updating features.
MSDN Magazine March 2008
WPF is one of the most important new technologies in the .NET Framework 3.0. This month John Papa introduces its data binding capabilities.
MSDN Magazine December 2007
The wwDataBinder control addresses simple control data binding--binding simple form controls like textboxes, checkboxes, and the selected values of list controls to individual data or object values.
MSDN Magazine December 2006