Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 4th, 2008, 03:51 PM
Registered User
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error compiling link usercontrol inside sharepoint

Hi !

I have an Usercontrol.ascxusing .Net 3.5 LINQ, wich compiled in VisualStudio 2008 works ok. But when i putit inside a sharepoint webpart so sharepoint compile it inthefly (prattice whic i used a lot), gives this error:

FOUserControl.ascx.cs(86): error CS1002: ; expected

Here's the piece of code:
84:if (active)
86: var res = from ts in ctx.TimeSheetSemanal
87: where ts.Recurso.Manager.Nome.Equals(userName)
88: select new { ts.Recurso,ts.Recurso.Activo };

By the way, I'm using the same machine for VisualStudio 2008 as well as for Sharepoint Server 2007.

Thanx in advance for any help !

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling error sarah lee ASP.NET 1.0 and 1.1 Basics 7 May 31st, 2007 07:24 AM
Access external link to Excel in Sharepoint wortinguk Access 1 October 20th, 2006 10:32 AM
error while compiling sarah lee ASP.NET 1.0 and 1.1 Basics 5 October 4th, 2006 09:22 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.