本文整理汇总了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;
// }
//}
}
示例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;
}
}
}
示例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)
{
}
}