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


C# Service1Client.FirmaIddenFirmaAdiDon方法代码示例

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


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

示例1: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["IstekKaydiGuncellemeDurumu"] != null)
        {
            WebMessageBox1.Visible = true;
            WebMessageBox1.Show(Session["IstekKaydiGuncellemeDurumu"].ToString(), "error");
            Session["IstekKaydiGuncellemeDurumu"] = null;
        }
        else
        {
            WebMessageBox1.Visible = false;
        }

        if (!IsPostBack)
        {
            if (Session["IstekleriGosterilecekFirmaId"] != null)
            {
                if (Session["IstekleriGosterilecekFirmaId"].ToString() != "")
                {
                    int FirmaId = int.Parse(Session["IstekleriGosterilecekFirmaId"].ToString());
                    using (Service1Client client = new Service1Client())
                    {
                        //var ofirma = (from c in ent.firma where c.FIRMAID == FirmaId select c).First();
                        lblBuyukFirmaAdi.Text = client.FirmaIddenFirmaAdiDon(FirmaId);
                        lblIndirim.Text = client.FirmaninBugunIcinIndirimBilgisiniDon(FirmaId);
                        Session["UzerineKayitYapilacakFirmaninMustNo"] = client.FirmaIddenMustNoDon(FirmaId);//ofirma.MUSTNO;
                        GridBagla(int.Parse(Session["IstekleriGosterilecekFirmaId"].ToString()),0,0);
                        if (TekIstekIcerigimiGoruntuleniyor())
                        {
                            lnkFirmaTeiketi.Enabled = true;
                            lnkCihazTeslimRaporu.Enabled = true;
                        }
                        else
                        {
                            lnkFirmaTeiketi.Enabled = false;
                            lnkCihazTeslimRaporu.Enabled = false;
                        }
                    }
                }
            }
            else
            {
            }
            if (Session["YepYeniEklenenFirmaninAdi"] != null)
            {

                RadNotification1.Text = " <font color='green'>" + Session["YepYeniEklenenFirmaninAdi"].ToString() + " isimli firmayı başarı ile eklediniz. </font>";
                RadNotification1.Show();
                Session.Remove("YepYeniEklenenFirmaninAdi");
            }

        }
        //if (Session["IstekleriGosterilecekFirmaId"] != null && Session["IstekleriGosterilecekFirmaId"].ToString() != "")
        //{
        //    GridBagla(int.Parse(Session["IstekleriGosterilecekFirmaId"].ToString()));
        //    if (TekIstekIcerigimiGoruntuleniyor())
        //    {
        //        lnkFirmaTeiketi.Enabled = true;
        //    }
        //    else
        //    {
        //        lnkFirmaTeiketi.Enabled = false;
        //    }
        //}
    }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:65,代码来源:FirmadanGelenIstekler.ascx.cs

示例2: gridViewEgitimiAlan_RowDataBound

 protected void gridViewEgitimiAlan_RowDataBound(object sender, GridViewRowEventArgs e)
 {
     if (e.Row.RowType == DataControlRowType.DataRow)
     {
         using (Service1Client proxy = new Service1Client())
         {
             TableCellCollection cells = e.Row.Cells;
             cells[3].Width = 0;
             string FirmaId = cells[3].Text;
             cells[5].Text = proxy.FirmaIddenFirmaAdiDon(int.Parse(cells[4].Text));
             cells[5].ForeColor = System.Drawing.Color.Red;
         }
     }
 }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:14,代码来源:EgitimiAlanlar.ascx.cs

示例3: RadComboBoxFirma_SelectedIndexChanged

    protected void RadComboBoxFirma_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
    {
        try
        {
            using (Service1Client proxy = new Service1Client())
            {
                RadComboBoxFirma.Text = proxy.FirmaIddenFirmaAdiDon(int.Parse(RadComboBoxFirma.SelectedValue));
            }
            //string bak = RadComboBoxFirma.SelectedValue;

        }
        catch(Exception ex)
        {

        }
    }
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:16,代码来源:FirmaSecAutoComplete.ascx.cs


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