i donot have any intentions till now of uploading my web project and just started working on MS VS9.0
I made a simple Linq based project (CODE BEHIND used)
AS i compiled it i got
Parser Error: Could not load type '_Default'.
I figured out 2 solutions for this(WHICH I CUDNT FIND IN MANY FORUMS). But nt sure...why doing them solves the problem.
SOL 1)
The easy way out is to uncheck "place the code in the seperate file" while adding an item.
and then adding the statement <%@ Import Namespace="System.Linq" %> on top of ur aspx as in:
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Linq" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
---FURTHER CODE----
Sol2)
If we deal whith the CODE beh ...
Go to the complete details ...