예제 #1
0
        protected void submit_Click(object sender, EventArgs e)
        {
            InformationOrdersMapper informationOrdersMapper = new InformationOrdersMapper();

            //ClientScriptManager.RegisterForEventValidation(				;
            //informationOrdersMapper.InsertInformationOrders(tablenumlist.Text, tablecountsitlist.Text, FIO.Text, phone.Text);
            informationOrdersMapper.InsertInformationOrders("2", 2, FIO.Text.ToString(), phone.Text.ToString());
        }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            List <InformationOrders> info = new List <InformationOrders>();

            info = InformationOrdersMapper.GetInformations();
            repeater.DataSource = info;
            repeater.DataBind();
        }