LINQ in Action roller

using an alias from stored procedure to populate a dropdownlist

Here is my sproc: Select ID, (col1 + ' ' + col2) As RateDate From Rate -------------------------------------------------- Here is my code: EmployerDataContext db = new EmployerDataContext (); var eeRates = db.sproc(); ddlAccrualRateRR.DataSource = eeRates; ddlAccrualRateRR.DataTextField = "RateDate" ; ddlAccrualRateRR.DataValueField = "ID" ; ddlAccrualRateRR.DataBind(); ------------------------------------------------ When I run the web app, I get the following error: DataBinding: 'sprocResult' does Read More...
Published Thursday, May 22, 2008 7:25 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication