β NullReferenceException was unhandled by user code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class User_Member : System.Web.UI.MasterPage
{
DS_AITEM.ITEM_SELECTDataTable IDT = new DS_AITEM.ITEM_SELECTDataTable();
DS_AITEMTableAdapters.ITEM_SELECTTableAdapter IAdapter = new DS_AITEMTableAdapters.ITEM_SELECTTableAdapter();
protected void Page_Load(object sender, EventArgs e)
{
lblname.Text = "welcome " + Session["fname"].ToString() + " " + Session["lname"].ToString();
}
protected void Button1_Click(object sender, EventArgs e)
{
Session["s"] = TextBox1.Text+"%"; Response.Redirect("Search.aspx"); } protected void LinkButton2_Click(object sender, EventArgs e) {
} } Can someone please help me with this problem π
Session["s"] = TextBox1.Text+"%"; Response.Redirect("Search.aspx"); } protected void LinkButton2_Click(object sender, EventArgs e) {
} } Can someone please help me with this problem π
5 Replies
Use breakpoints
$debug
Tutorial: Debug C# code - Visual Studio (Windows)
Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data in a C# application.
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
Thank you so much for the answersπ
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.