protected DataSet dsStaff;>I am getting the error "The type or namespace name 'dsStaff' could not be found (are you missing a using directive or an assembly reference?)" The error is from the following reference to dsStaff (which is underlined in blue). Any idea what is causing this or how to fix it?
>private void txtName_DataBinding(object sender, System.EventArgs e) >{ > txtName.Text = dsStaff.staff[0].name; >} >>
> private void Page_Load(object sender, System.EventArgs e) > { > // Put user code to initialize the page here > // create staff object > int lnStaffID; > Staff oStaff = new Staff(); > String lcStaffXML; > DataSet dsStaff = new DataSet(); > > lnStaffID = Convert.ToInt32(Request.QueryString.Get("id")); > lcStaffXML = oStaff.GetRecord(lnStaffID); > dsStaff.ReadXml(lcStaffXML); > this.DataBind(); > } >