当前位置: 首页>>代码示例>>C#>>正文


C# EFDal.ReferansIDdenBakKartNoDon方法代码示例

本文整理汇总了C#中EFDal.ReferansIDdenBakKartNoDon方法的典型用法代码示例。如果您正苦于以下问题:C# EFDal.ReferansIDdenBakKartNoDon方法的具体用法?C# EFDal.ReferansIDdenBakKartNoDon怎么用?C# EFDal.ReferansIDdenBakKartNoDon使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在EFDal的用法示例。


在下文中一共展示了EFDal.ReferansIDdenBakKartNoDon方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: grdReferansBakimlariBagla

 protected void grdReferansBakimlariBagla()
 {
     EFDal ed = new EFDal();
     int Id = int.Parse(Request["Id"].ToString());
     string BAKKARTNO = ed.ReferansIDdenBakKartNoDon(Id);
     DataSet ds = new DataSet();
     ds=ed.Sorgula("select * from refbakim where BAKKARTNO='"+BAKKARTNO+"'");
     grdReferansBakimlari.DataSource = ds;
     grdReferansBakimlari.DataBind();
     ds.Dispose();
 }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:11,代码来源:ReferansBakimlari.aspx.cs

示例2: btnGercektenSil_Click

 protected void btnGercektenSil_Click(object sender, EventArgs e)
 {
     EFDal ed = new EFDal();
     int Id = int.Parse(Request["Id"].ToString());
     string BakKartNo = ed.ReferansIDdenBakKartNoDon(Id);
     string delSQL = "delete from referans where ID=" + Id.ToString();
     ed.Sil(delSQL);
     delSQL = "delete from refbakim where BAKKARTNO=" + BakKartNo;
     ed.Sil(delSQL);
     delSQL = "delete from refkalibrasyon where BAKKARTNO=" + BakKartNo;
     ed.Sil(delSQL);
 }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:12,代码来源:EditReferans.aspx.cs

示例3: grdReferansKalibrasyonlariBagla

 protected void grdReferansKalibrasyonlariBagla()
 {
     EFDal ed = new EFDal();
     int BolgeKodu=ed.kal_BolgeKoduDon(Context.User.Identity.Name);
     int Id=int.Parse(Request["Id"].ToString());
     string BakKartNo=ed.ReferansIDdenBakKartNoDon(Id);
     DataSet ds = new DataSet();
     string SQL="select * from refkalibrasyon where BAKKARTNO='"+BakKartNo+"' and BOLGEKODU="+BolgeKodu.ToString();
     ds = ed.Sorgula(SQL);
     grdReferansKalibrasyonlari.DataSource = ds;
     grdReferansKalibrasyonlari.DataBind();
     ds.Dispose();
 }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:13,代码来源:ReferansKalibrasyonlari.aspx.cs

示例4: lnkYeniKalibrasyonBilgisiEkle_Click

 protected void lnkYeniKalibrasyonBilgisiEkle_Click(object sender, EventArgs e)
 {
     EFDal ed = new EFDal();
     Temizle();
     int Id = int.Parse(Request["Id"].ToString());
     string BakKartNo = ed.ReferansIDdenBakKartNoDon(Id);
     txtBAKKARTNO.Text = BakKartNo;
     btnEkle.Visible = true;
     btnGuncelle.Visible = false;
     pnlRefKalibrasyonGuncelleme.Visible = true;
 }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:11,代码来源:ReferansKalibrasyonlari.aspx.cs

示例5: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        EFDal ed = new EFDal();
        int Id=int.Parse(Request["Id"].ToString());
        string BakKartNo = ed.ReferansIDdenBakKartNoDon(Id);
        if (!IsPostBack)
        {
            grdReferansBakimlariBagla();

            if (UserManager.Default.IsUserInRole(Context.User.Identity.Name, "ReferansGuncelleyici"))
            {
                lnkYeniBakimBilgisiEkle.Enabled = true;
                btnGuncelle.Enabled = true;
                btnEkle.Enabled = true;
                btnSil.Enabled = true;
            }
            else
            {
                lnkYeniBakimBilgisiEkle.ToolTip = "Referans kalibrasyon, bakım bilgisi güncelleme yetkiniz yok!";
                btnGuncelle.Enabled = false;
                btnEkle.Enabled = false;
                btnSil.Enabled = false;
            }

        }
    }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:26,代码来源:ReferansBakimlari.aspx.cs

示例6: lnkYeniBakimBilgisiEkle_Click

 protected void lnkYeniBakimBilgisiEkle_Click(object sender, EventArgs e)
 {
     EFDal ed = new EFDal();
     Temizle();
     int Id = int.Parse(Request["Id"].ToString());
     string BakKartNo=ed.ReferansIDdenBakKartNoDon(Id);
     txtBAKKARTNO.Text = BakKartNo;
     txtBAKANPER.Text = Context.User.Identity.Name;
     raddtBAKTAR.SelectedDate = DateTime.Now.Date;
     txtBAKANPER.Enabled = false;
     btnEkle.Visible = true;
     btnGuncelle.Visible = false;
     pnlBakimGuncelleme.Visible = true;
 }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:14,代码来源:ReferansBakimlari.aspx.cs


注:本文中的EFDal.ReferansIDdenBakKartNoDon方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。