protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { BLayer myBlayer = new BLayer(); Pliromi otherPliromi = new Pliromi(); otherPliromi.PliromiId = Convert.ToInt32(Request.QueryString["id"]); Pliromi myPliromi = new Pliromi(); myPliromi = myBlayer.get_Pliromi_By_Id(otherPliromi); Oplitis myOplitis = new Oplitis(); aaPliromis.Text = myPliromi.PliromiId.ToString(); priromiDate.Text = myPliromi.PayDay.ToString(); payDate.Text = myPliromi.PayDay.ToString(); asm.Text = myPliromi.p_opasm.ToString(); rank.Text = myPliromi.bathmos.ToString(); fname.Text = myPliromi.onoma.ToString(); lname.Text = myPliromi.eponymo.ToString(); loxos.Text = myPliromi.loxos.ToString(); katigoria.Text = myPliromi.katName.ToString(); katalogisteo.Text = myPliromi.katalogisteo.ToString(); kratiseis.Text = myPliromi.kratiseis.ToString(); pliroteo.Text = myPliromi.pliroteo.ToString(); payType.Text = myPliromi.mPerigrafi.ToString(); opid.Text = myPliromi.Pliromi_opid.ToString(); posoPliromis.Text = myPliromi.Poso.ToString(); myOplitis.id = Convert.ToInt32(opid.Text); SqlDataReader myDtr = myBlayer.get_dikaiologitika_pou_exei_proskomisei_by_id(myOplitis); dikaiologitika.DataSource = myDtr; dikaiologitika.DataBind(); } }