汽车维修管理系统/DoPage/CompleteRepaird.aspx.cs

(完整代码) 1KB

using System;
using dao;
using commonfunction;

namespace 汽车管理系统.DoPage
{
    public partial class CompleteRepaird : System.Web.UI.Page
    {
        datadeal deal = new datadeal();
        common al = new common();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                deal.dropdownlistbind(DropDownListLicense);
                if (DropDownListLicense.Items.Count == 0)
                {
                    LabelHost.Text = "";
                    ButtonOK.Visible = false;
                    ButtonCancel.Visible = false;
                }
                else
                {
                    LabelHost.Text = deal.gethost(DropDownListLicense.SelectedValue);
                    deal.dropdownlist(DropDownListSendDate, DropDownListLicense.SelectedValue);
                }
            }
        }

        protected void DropDownListLicense_SelectedIndexChanged(object sender, EventArgs e)
        {
            LabelHost.Text = deal.gethost(DropDownListLicense.SelectedValue);
            deal.dropdownlist(DropDownListSendDate, DropDownListLicense.SelectedValue);
            TextShould.Value = "";
            TextActually.Value = ""; Response.Write("adsf");
        }

        protected void ButtonOK_Click(object sender, EventArgs e)
        {
            deal.executeOrdersql(DropDownListLicense.SelectedValue, Convert.ToDateTime(DropDownListSendDate.SelectedValue), System.DateTime.Now, Int32.Parse(TextShould.Value.Trim().ToString()), Int32.Parse(TextActually.Value.Trim().ToString()));
            TextShould.Value = "";
            TextActually.Value = "";
            al.alert("操作成功");
        
        }
     
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。