protected void Page_Load(object sender, EventArgs e) { if (!checkCookie()) Response.Redirect("Login.aspx"); EncryptDecrypt obj1=new EncryptDecrypt(); String sellerId=obj1.Decrypt(HttpUtility.UrlDecode(Request.QueryString["sellerId"].ToString())); DatabaseHandler obj = new DatabaseHandler(); DataSet ds = obj.GetSellerInfo(sellerId); Label1.Text = ds.Tables[0].Rows[0]["SELLER_NAME"].ToString(); Label2.Text = ds.Tables[0].Rows[0]["SELLER_COUNTRY"].ToString(); Label3.Text = ds.Tables[0].Rows[0]["SELLER_CITY"].ToString(); Label4.Text = ds.Tables[0].Rows[0]["SELLER_STREET"].ToString(); Label5.Text = ds.Tables[0].Rows[0]["SELLER_PHONE_NUMBER"].ToString(); Label6.Text = ds.Tables[0].Rows[0]["SELLER_EMAIL_ID"].ToString(); }