You are providing a connection object, but it needs a DataSource object.
See here for an example of using DataSource with SQLServer and bind to the
data source instead of the connection:

http://technet.microsoft.com/en-us/library/aa342342.aspx

Reply via email to