TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rashmi S
NA
77
1.2k
Internal compiler error- stage DEFINE symbol
May 2 2015 2:26 AM
Hello...
Im implementing interface concept in asp.net web application to insert city details to database table. Im getting error as "Internal Compiler Error: stage 'DEFINE'" i couldn't able to access the interface and the class which has been implemented by that interface in asp webform...!
aspx.cs code:-
Hide Copy 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;
using Interface_Project.Presenter.PresenterAdmin;
using Interface_Project.Model.ModelAdmin;
namespace Interface_Project
{
public partial class ManageCity : System.Web.UI.Page
{
ModelCityDetails modelObjCity = null;
protected void Page_Load(object sender, EventArgs e)
{
modelObjCity = new ModelCityDetails(this);
}
protected void btnAdd_Click(object sender, EventArgs e)
{
if(modelObjCity.insertCityDetails())
{
ClientScript.RegisterStartupScript(this.GetType(),"alert","<script>alert('City details inserted successfully.')</script>");
}
else
ClientScript.RegisterStartupScript(this.GetType(),"alert","<script>alert('Error in inserting city details.')</script>");
}
}
public partial class ManageCity : Interface_Project.Presenter.PresenterAdmin.ManageCity.IManageCity
{
public int cityid
{
get
{
return 0;
//return int.Parse(hdnCityId.Value);
}
set
{
//hdnCityId.Value = value.ToString();
}
}
public string cityname
{
get
{
return txtCity.Text;
}
set
{
txtCity.Text = value;
}
}
}
}
Any help appreciated...! Thank you...!
Reply
Answers (
4
)
ASP.NET MVC with AngularJS
upload File and display grid view with view and edit option?