Click here to Skip to main content
15,390,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what kind of this am not understanding any one solve this erroe

Server Error in '/JoinsWithNET1' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Illegal characters in path.

Source Error:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="JoinsWithNET.aspx.cs" Inherits="JoinsWithNET" %>
Line 2:
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

this is my code..

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Web.UI.HtmlControls;
using System.Data;
using System.Security;
using System.Collections;
using System.Web.UI.WebControls.WebParts;
using System.Configuration;

public partial class JoinsWithNET : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)

    protected void txtSelf_Click(object sender, EventArgs e)
        string strConn = "Data Source=CIODEV03\\SQLEXPRESS;Initial Catalog=EmployeeDB;Integrated Security=True";

        SqlConnection conn = new SqlConnection(strConn);

        SqlDataAdapter ada = new SqlDataAdapter("Northwind", conn);

        DataTable dtNorthwind = new DataTable();


        grdvSelf.DataSource = dtNorthwind.DefaultView;

Updated 28-Feb-12 21:52pm
ZurdoDev 29-Feb-12 8:21am
The error seems to indicate you have some bad characters in you aspx page.
Mahmud Hasan 29-Feb-12 10:28am
Show your aspx.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900