void GetDreamHouseDetail(int DreamHouseId) { DataTable dt = clsobj.GetSoldDetail(DreamHouseId); if (dt.Rows.Count > 0) { lblMls.Text = Convert.ToString(dt.Rows[0]["Mls"]); lblAddress.Text = Convert.ToString(dt.Rows[0]["Address"]); lblPrice.Text = Convert.ToString(dt.Rows[0]["Price"]); //lblbath.Text = Convert.ToString(dt.Rows[0]["Bath"]); //lblbed.Text = Convert.ToString(dt.Rows[0]["Bed"]); lbltype.Text = Convert.ToString(dt.Rows[0]["Type"]); //lblAreaValue.Text = Convert.ToString(dt.Rows[0]["Area"]); //lbltx.Text = Convert.ToString(dt.Rows[0]["Tax"]); //lblbath.Text = Convert.ToString(dt.Rows[0]["Bath"]); lblTitle.Text = Convert.ToString(dt.Rows[0]["Title"]); //lblStatus.Text = Convert.ToString(dt.Rows[0]["Status"]); lblDescription.Text = Convert.ToString(dt.Rows[0]["Description"]); } }