Výpis zdrojového kódu súboru InfoAdresar.aspx.cs


using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
 
public partial class InfoAdresar : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblAddEditPanel.Text = "Detail adresy";
 
        lblIDADRESAR.PxDataSource = wquAdresar;
        lblIDADRESAR.FieldName = wquAdresar.Columns["IDADRESAR"].ToString();
 
        lblName.PxDataSource = wquAdresar;
        lblName.FieldName = wquAdresar.Columns["NAME"].ToString();
 
        lblADDRESS.PxDataSource = wquAdresar;
        lblADDRESS.FieldName = wquAdresar.Columns["ADDRESS"].ToString();
 
        lblPravnaForma.PxDataSource = wquAdresar;
        lblPravnaForma.FieldName = wquAdresar.Columns["idpravnaforma"].ToString();
 
        lblCREATE_DATE.PxDataSource = wquAdresar;
        lblCREATE_DATE.FieldName = wquAdresar.Columns["CREATE_DATE"].ToString();
 
        lblInvalid_Adress.PxDataSource = wquAdresar;
        lblInvalid_Adress.FieldName = wquAdresar.Columns["Invalid_Adress"].ToString();
       
        fcmbMiesto.PxDataSource = wquAdresar;
        fcmbMiesto.FieldName = wquAdresar.Columns["miesto"].ColumnName;
 
        lblPSC.PxDataSource = wquAdresar;
        lblPSC.FieldName = wquAdresar.Columns["psc"].ToString();
 
        gtrTelefon.PxDataSource = wquAdresar;
        gtrTelefon.FieldName = "Telefon";
 
        gtrFax.PxDataSource = wquAdresar;
        gtrFax.FieldName = "Fax";
 
    }
 
    protected void ButtonClose_Click(object sender, EventArgs e)
    {
 
        this.Response.Redirect("~/Adresar.aspx");
    }
}


Návrat na pôvodnú stránku