this.oPolicyRider.NewRow(dsPolicyRider, this.oPolicyRider.TableName); > Guid newPK = (Guid)dsPolicyRider.Tables[0].Rows[dsPolicyRider.Tables[0].Rows.Count - 1]["PolicyRiderPK"]; > > // Get the list of Riders & Waivers available for this plan > this.dsRiders = this.oPlan.GetRidersAndWaiversByPlan(this.oPolicy.Entity.PlanFK); > // default the Rider to the first item in the Riders data session > dsPolicyRider.Tables[0].Rows[dsPolicyRider.Tables[0].Rows.Count - 1]["RiderFK"] = this.dsRiders.Tables[0].Rows[0]["PlanPK"]; > > // default the CountryFK to the first item in the Country data session > //dsAddress.Tables[0].Rows[dsAddress.Tables[0].Rows.Count - 1]["CountryFK"] = this.oCountry.DataSet.Tables[0].Rows[0]["CountryPK"]; > > this.BindControl(this.grdRiders);>