Click here to Skip to main content
15,887,822 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to play mp4 video file from url to my web site Pin
Safi Khan28-May-15 21:24
Safi Khan28-May-15 21:24 
Questionmake a contact form using asp.net c# Pin
Ibrar Tariq2-May-15 15:22
Ibrar Tariq2-May-15 15:22 
AnswerRe: make a contact form using asp.net c# Pin
F-ES Sitecore3-May-15 1:01
professionalF-ES Sitecore3-May-15 1:01 
AnswerRe: make a contact form using asp.net c# Pin
ZurdoDev4-May-15 3:13
professionalZurdoDev4-May-15 3:13 
QuestionASp.net C# server page redirect using visual studio 2013.4 Pin
Ibrar Tariq2-May-15 15:01
Ibrar Tariq2-May-15 15:01 
AnswerRe: ASp.net C# server page redirect using visual studio 2013.4 Pin
Sascha Lefèvre2-May-15 21:43
professionalSascha Lefèvre2-May-15 21:43 
QuestionRe: ASp.net C# server page redirect using visual studio 2013.4 Pin
ZurdoDev4-May-15 3:14
professionalZurdoDev4-May-15 3:14 
QuestionWhile implementing interface concept in asp.net web application getting an error - Internal Compiler Error: stage 'DEFINE' Pin
Member 110118531-May-15 20:13
Member 110118531-May-15 20:13 
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:-
C#
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...!
AnswerRe: While implementing interface concept in asp.net web application getting an error - Internal Compiler Error: stage 'DEFINE' Pin
F-ES Sitecore2-May-15 1:19
professionalF-ES Sitecore2-May-15 1:19 
Questiondynamically insert textbox in gridview and insert the data of textbox in database Pin
Praveen Kandari30-Apr-15 23:13
Praveen Kandari30-Apr-15 23:13 
AnswerRe: dynamically insert textbox in gridview and insert the data of textbox in database Pin
Arun Banik2-May-15 3:17
Arun Banik2-May-15 3:17 
QuestionPraser Error Pin
Member 1093739330-Apr-15 1:23
Member 1093739330-Apr-15 1:23 
AnswerRe: Praser Error Pin
F-ES Sitecore30-Apr-15 2:17
professionalF-ES Sitecore30-Apr-15 2:17 
SuggestionRe: Praser Error Pin
ZurdoDev30-Apr-15 5:34
professionalZurdoDev30-Apr-15 5:34 
QuestionHow do I access a csv file without hardcoding it in my code? Pin
Norris Chappell29-Apr-15 15:09
Norris Chappell29-Apr-15 15:09 
AnswerRe: How do I access a csv file without hardcoding it in my code? Pin
Abhinav S29-Apr-15 17:04
Abhinav S29-Apr-15 17:04 
QuestionRe: How do I access a csv file without hardcoding it in my code? Pin
Norris Chappell30-Apr-15 4:56
Norris Chappell30-Apr-15 4:56 
AnswerRe: How do I access a csv file without hardcoding it in my code? Pin
Norris Chappell30-Apr-15 7:01
Norris Chappell30-Apr-15 7:01 
QuestionExport data to excel in asp.net Pin
Obaidullah Sulaimankhail26-Apr-15 20:07
Obaidullah Sulaimankhail26-Apr-15 20:07 
AnswerRe: Export data to excel in asp.net Pin
Abhinav S27-Apr-15 19:00
Abhinav S27-Apr-15 19:00 
QuestionServer Side Code and Client Side Code Pin
King Fisher23-Apr-15 18:37
professionalKing Fisher23-Apr-15 18:37 
AnswerRe: Server Side Code and Client Side Code Pin
aarif moh shaikh24-Apr-15 0:10
professionalaarif moh shaikh24-Apr-15 0:10 
AnswerRe: Server Side Code and Client Side Code Pin
Kornfeld Eliyahu Peter26-Apr-15 20:32
professionalKornfeld Eliyahu Peter26-Apr-15 20:32 
QuestionHow do I assign Session value to label in Asp.net? Pin
samflex23-Apr-15 4:52
samflex23-Apr-15 4:52 
AnswerRe: How do I assign Session value to label in Asp.net? Pin
F-ES Sitecore23-Apr-15 22:37
professionalF-ES Sitecore23-Apr-15 22:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.