Click here to Skip to main content
15,902,492 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to bind multiple rows from data table to single row in Gridview Pin
priyaahh6-Oct-13 23:14
priyaahh6-Oct-13 23:14 
Questionhow to increase performance Pin
antony beula6-Oct-13 21:36
antony beula6-Oct-13 21:36 
AnswerRe: how to increase performance Pin
thatraja6-Oct-13 22:54
professionalthatraja6-Oct-13 22:54 
AnswerRe: how to increase performance Pin
ais076-Oct-13 23:00
ais076-Oct-13 23:00 
SuggestionRe: how to increase performance Pin
Richard Deeming7-Oct-13 1:44
mveRichard Deeming7-Oct-13 1:44 
QuestionHow call secure web service using Jquery Pin
ais076-Oct-13 19:41
ais076-Oct-13 19:41 
QuestionPrincipalContext & UserPrincipal Pin
JD866-Oct-13 19:22
JD866-Oct-13 19:22 
QuestionHey Friends..plz help me out... Pin
Member 103122576-Oct-13 18:57
Member 103122576-Oct-13 18:57 
Hey friends...I am creating an online examination project...I have made the login...the admin part and even all the databse thing is done...but in the user side as i press the start exam button it givving "Object reference not set to an instance of an object. " error...please help me out ASAP...m about to meet the deadlines..and if i meet it i ll be dead...

here's my code..
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Instruction : System.Web.UI.Page
{

    OnlineExamsDataContext _mycontext = new OnlineExamsDataContext();
    string username;

    protected void Page_Load(object sender, EventArgs e)
    {
        username = Request.QueryString["username"].ToString();
        lbluname.Text = "Welcome   :" + username;
        lbldate.Text = System.DateTime.Now.ToString();


    }
    protected void btnstart_Click(object sender, EventArgs e)
    {
        int emailid;
        emailid = _mycontext.ExamTableInsert (Convert.ToDateTime (System.DateTime.Now.ToShortDateString()), Convert.ToInt32 (Request.QueryString["UserID"].ToString()), Convert.ToDecimal("0.0"));
        Response.Redirect("QuestionPaper.aspx");

    }
    protected void lbtnresult_Click(object sender, EventArgs e)
    {
        Response.Redirect("Examresult.aspx");

    }
}

AnswerRe: Hey Friends..plz help me out... Pin
Member 103122576-Oct-13 18:59
Member 103122576-Oct-13 18:59 
AnswerRe: Hey Friends..plz help me out... Pin
Blikkies6-Oct-13 20:27
professionalBlikkies6-Oct-13 20:27 
AnswerRe: Hey Friends..plz help me out... Pin
ais076-Oct-13 20:39
ais076-Oct-13 20:39 
SuggestionRe: Hey Friends..plz help me out... Pin
Richard Deeming7-Oct-13 1:33
mveRichard Deeming7-Oct-13 1:33 
AnswerRe: Hey Friends..plz help me out... Pin
Richard Deeming7-Oct-13 1:38
mveRichard Deeming7-Oct-13 1:38 
AnswerRe: Hey Friends..plz help me out... Pin
blachsmith7-Oct-13 22:54
blachsmith7-Oct-13 22:54 
AnswerRe: Hey Friends..plz help me out... Pin
CIKolkataDeveloper10-Nov-13 22:40
CIKolkataDeveloper10-Nov-13 22:40 
QuestionEmbed an Image in a Datagrid Pin
JCotter4-Oct-13 2:48
JCotter4-Oct-13 2:48 
Question301 redirect on IIS. Redirect non-www to www Pin
jokertin924-Oct-13 1:47
jokertin924-Oct-13 1:47 
AnswerRe: 301 redirect on IIS. Redirect non-www to www Pin
Richard Deeming4-Oct-13 2:00
mveRichard Deeming4-Oct-13 2:00 
QuestionEnable / Disable Regular Expression Validator based on Dropdownlist selection Pin
priyaahh3-Oct-13 21:15
priyaahh3-Oct-13 21:15 
AnswerRe: Enable / Disable Regular Expression Validator based on Dropdownlist selection Pin
Blikkies3-Oct-13 22:02
professionalBlikkies3-Oct-13 22:02 
AnswerRe: Enable / Disable Regular Expression Validator based on Dropdownlist selection Pin
Ajay_Saini5-Oct-13 6:37
Ajay_Saini5-Oct-13 6:37 
AnswerRe: Enable / Disable Regular Expression Validator based on Dropdownlist selection Pin
www.Developerof.NET5-Oct-13 8:02
www.Developerof.NET5-Oct-13 8:02 
QuestionEntity Framework - NVarchar data type update issue Pin
Ganesan Marappan3-Oct-13 3:36
Ganesan Marappan3-Oct-13 3:36 
QuestionUse CMS (umbraco) or build from scratch Pin
dahund3-Oct-13 1:34
dahund3-Oct-13 1:34 
GeneralEdit GridView Row not working when new row is inserted on GridView RowCreated Pin
Member 99752793-Oct-13 1:04
Member 99752793-Oct-13 1:04 

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.