Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 4th, 2008, 02:51 PM
Registered User
 
Join Date: Dec 2008
Location: , , .
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)
85:{
86: var res = from ts in ctx.TimeSheetSemanal
87: where ts.Recurso.Manager.Nome.Equals(userName)
88: select new { ts.Recurso,ts.Recurso.Activo };
89:}

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 !
Marco

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 08:08 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.