本文整理汇总了C#中Telerik类的典型用法代码示例。如果您正苦于以下问题:C# Telerik类的具体用法?C# Telerik怎么用?C# Telerik使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Telerik类属于命名空间,在下文中一共展示了Telerik类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: OnToolWindowCreated
private void OnToolWindowCreated(object sender, Telerik.Windows.Controls.Docking.ElementCreatedEventArgs e)
{
var toolWindow = e.CreatedElement as ToolWindow;
var pane = e.SourceElement as RadPane;
var paneGroup = e.SourceElement as RadPaneGroup;
object tag = null;
if (pane == null && paneGroup != null)
{
pane = paneGroup.EnumeratePanes().FirstOrDefault();
}
else
{
if (pane != null)
{
tag = pane.Tag;
}
else
{
var splitContainer = e.SourceElement as RadSplitContainer;
if (splitContainer != null)
{
tag = splitContainer.Tag;
}
}
}
SetToolWindowStyle(toolWindow, tag != null ? tag : pane.Tag);
}
开发者ID:Ramlanka7,项目名称:xaml-sdk,代码行数:28,代码来源:MainWindow.xaml.cs
示例2: RadGrid1_ItemCreated
public void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridCommandItem)
{
GridCommandItem commandItem = (e.Item as GridCommandItem);
PlaceHolder container = (PlaceHolder)commandItem.FindControl("PlaceHolder1");
Label label = new Label();
label.Text = " ";
container.Controls.Add(label);
for (int i = 65; i <= 65 + 25; i++)
{
LinkButton linkButton1 = new LinkButton();
LiteralControl lc = new LiteralControl(" ");
linkButton1.Text = "" + (char)i;
linkButton1.CommandName = "alpha";
linkButton1.CommandArgument = "" + (char)i;
container.Controls.Add(linkButton1);
container.Controls.Add(lc);
}
LiteralControl lcLast = new LiteralControl(" ");
container.Controls.Add(lcLast);
LinkButton linkButtonAll = new LinkButton();
linkButtonAll.Text = "Tất cả";
linkButtonAll.CommandName = "NoFilter";
container.Controls.Add(linkButtonAll);
}
}
开发者ID:hungtien408,项目名称:web-quanaotreem,代码行数:35,代码来源:manufacturer1.aspx.cs
示例3: grid_VisitorContacts_Delete
protected void grid_VisitorContacts_Delete(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
int id = Convert.ToInt32((e.Item as GridDataItem).OwnerTableView.DataKeyValues[e.Item.ItemIndex]["VisitorContactID"]);
BallyliffinDataContext db = new BallyliffinDataContext();
db.sp_visitorContacts_Delete(id);
grid_VisitorContacts.Rebind();
}
开发者ID:joanneog,项目名称:BallyliffinGAA,代码行数:7,代码来源:ContactUs_List.aspx.cs
示例4: ddlTipoArchivo_SelectedIndexChanged
protected void ddlTipoArchivo_SelectedIndexChanged(object sender, Telerik.Web.UI.DropDownListEventArgs e)
{
cargarColumnas(this.ddlTipoArchivo.SelectedValue);
cargarGrilla();
limpiarLabels();
this.myPanel3.Visible = false;
}
开发者ID:DavidPineda,项目名称:RipsValidador,代码行数:7,代码来源:ColumnSettings.aspx.cs
示例5: list_NeedDataSource
protected void list_NeedDataSource(object sender, Telerik.Web.UI.RadListViewNeedDataSourceEventArgs e)
{
var doc = XDocument.Load(Server.MapPath("~/Common/配置/Depot.Mobile.xml"));
var users = doc.Root.Elements();
var source = users.Select(o => new { Id = o.Attribute("Id").Value, Name = o.Attribute("Name").Value }).ToList();
list.DataSource = source;
}
开发者ID:Homory-Temp,项目名称:LeYi,代码行数:7,代码来源:Default.aspx.cs
示例6: Bootstrapper_Initialized
protected void Bootstrapper_Initialized(object sender, Telerik.Sitefinity.Data.ExecutedEventArgs args)
{
//Register Inbound Pipe
PublishingSystemFactory.RegisterPipe(XmlInboundPipe.PipeName, typeof(XmlInboundPipe));
//Register Mappings
var mappingsList = XmlInboundPipe.GetDefaultMapping();
PublishingSystemFactory.RegisterPipeMappings(XmlInboundPipe.PipeName, true, mappingsList);
//Register Pipe Settings
RssPipeSettings pipeSettings = new RssPipeSettings();
pipeSettings.IsInbound = true;
pipeSettings.IsActive = true;
pipeSettings.MaxItems = 25;
pipeSettings.InvocationMode = PipeInvokationMode.Push;
pipeSettings.UIName = "Brafton Feed";
pipeSettings.PipeName = XmlInboundPipe.PipeName;
pipeSettings.ResourceClassId = typeof(PublishingModuleExtensionsResources).Name;
PublishingSystemFactory.RegisterPipeSettings(XmlInboundPipe.PipeName, pipeSettings);
//Register Pipe Definitions
var definitions = XmlInboundPipe.CreateDefaultPipeDefinitions();
PublishingSystemFactory.RegisterPipeDefinitions(XmlInboundPipe.PipeName, definitions);
//Register Outbound Pipe
PublishingSystemFactory.RegisterPipe(CustomContentOutboundPipe.PipeName, typeof(CustomContentOutboundPipe));
}
开发者ID:ContentLEAD,项目名称:Brafton-Sitefinity-6-Importer,代码行数:28,代码来源:Global.asax.cs
示例7: RadComboBoxFirma_ItemsRequested
protected void RadComboBoxFirma_ItemsRequested(object sender, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
{
if (e.Text.Length > 3)
{
string sqlSelectCommand = "";
sqlSelectCommand = "SELECT [UserID],[UserName] from [telerik_Users] ORDER BY [UserName]";
SqlDataAdapter adapter = new SqlDataAdapter(sqlSelectCommand, ConfigurationManager.ConnectionStrings["KalData"].ConnectionString);
adapter.SelectCommand.Parameters.AddWithValue("@text", e.Text);
DataTable dataTable = new DataTable();
adapter.Fill(dataTable);
RadComboBoxFirma.Items.Clear();
foreach (DataRow dataRow in dataTable.Rows)
{
string UserName = "";
RadComboBoxItem item = new RadComboBoxItem();
item.Text = (string)dataRow["UserName"].ToString();
item.Value = dataRow["UserId"].ToString();
UserName = (string)dataRow["UserName"];
if (dataRow["UserName"] != System.DBNull.Value)
{
UserName = (string)dataRow["UserName"];
}
//item.Attributes.Add("FIRMAADI", FirmaAdi);
//item.Attributes.Add("IL_ILCE", IlIlce);
RadComboBoxFirma.Items.Add(item);
item.DataBind();
}
Label lbl = (Label)RadComboBoxFirma.Footer.FindControl("lblBulunanKayitSayisi");
lbl.Text = "Bulunan kayıt sayısı:" + " " + dataTable.Rows.Count.ToString();
}
}
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:31,代码来源:PMessages.aspx.cs
示例8: RadGrid1_ItemCommand
protected void RadGrid1_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
// weonly process commands with a datasource (our image buttons)
if (e.CommandSource == null)
return;
string typeOfControl = e.CommandSource.GetType().ToString();
if (typeOfControl.Equals("System.Web.UI.WebControls.ImageButton"))
{
int id = 0;
ImageButton imgb = (ImageButton)e.CommandSource;
if (imgb.ID != "New" && imgb.ID != "Exit")
id = (int)e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][e.Item.OwnerTableView.DataKeyNames[0]];
switch (imgb.ID)
{
case "Select":
break;
case "Edit":
break;
case "Delete":
Address adr = (from a in ctx.Addresses
where a.AddressId == id
select a).FirstOrDefault<Address>();
ctx.Delete(adr);
ctx.SaveChanges();
RefreshGrid(true);
break;
}
}
}
开发者ID:ragare62,项目名称:AriClinic,代码行数:29,代码来源:UscAddressGrid.ascx.cs
示例9: RadGridEditor_ItemDeleted
protected void RadGridEditor_ItemDeleted(object source, Telerik.Web.UI.GridDeletedEventArgs e)
{
if (e.Exception != null)
{
e.ExceptionHandled = true;
SqlException ex = e.Exception as SqlException;
if (ex == null)
DisplayMessage("لم نتمكن من حذف الصف وذلك بسبب: " + Environment.NewLine + e.Exception.Message);
else
DisplayMessage("لم نتمكن من حذف الصف وذلك بسبب: " + Environment.NewLine + MC.CheckExp(ex));
}
else
{
DisplayMessage("تم الحذف");
SqlConnection con = MC.EStoreConnection;
SqlCommand cmd = new SqlCommand("", con);
try
{
con.Open();
cmd.CommandText = "Delete From TblAccounts Where AccountId = " + e.Item["AccountId"].Text;
cmd.ExecuteNonQuery();
}
catch (SqlException ex)
{
DisplayMessage("لم نتمكن من حذف الصف التابع وذلك بسبب: " + Environment.NewLine + MC.CheckExp(ex));
}
con.Close();
}
}
开发者ID:EgyFalseX,项目名称:WebSites,代码行数:29,代码来源:EditorCustomer.ascx.cs
示例10: Bootstrapper_Initializing
protected void Bootstrapper_Initializing(object sender, Telerik.Sitefinity.Data.ExecutingEventArgs e)
{
if (e.CommandName == "RegisterRoutes")
{
SampleUtilities.RegisterModule<TemplateImporterModule>("Template Importer", "This module imports templates from template builder.");
}
}
开发者ID:jrcollado1987,项目名称:Telerik.Sitefinity.Samples.TemplateImporter,代码行数:7,代码来源:Global.asax.cs
示例11: RadGrid1_ItemDataBound
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
var values = new Hashtable();
GridEditableItem item = e.Item as GridEditableItem;
if ((e.Item is GridEditFormItem) && (e.Item.IsInEditMode))
{
GridEditFormItem editform = (GridEditFormItem)e.Item;
RadComboBox ddAnswerType = (RadComboBox)editform.FindControl("ddAnswerType");
RadTextBox Name = (RadTextBox)editform.FindControl("Name");
ddAnswerType.DataSource = BLL.Survey.AnswerTypes.DataSource();
ddAnswerType.DataTextField = "Name";
ddAnswerType.DataValueField = "SurveyAnswerTypeID";
ddAnswerType.DataBind();
Name.Width = Unit.Pixel(500);
ddAnswerType.Width = Unit.Pixel(500);
if (!e.Item.OwnerTableView.IsItemInserted) //Skip on inserts
{
EntityKey = (int)item.GetDataKeyValue("EntityKey");
values = BLL.Survey.AnswerGroups.GetAnswerGroup(EntityKey);
if (values["AnswerTypeID"] != null)
{
ddAnswerType.SelectedValue = values["AnswerTypeID"].ToString();
}
}
}
}
开发者ID:zgying,项目名称:CRMWeiXin,代码行数:33,代码来源:AddEditAnswerGroups.aspx.cs
示例12: view_NeedDataSource
protected void view_NeedDataSource(object sender, Telerik.Web.UI.RadListViewNeedDataSourceEventArgs e)
{
var timex = periodx.SelectedDate.HasValue ? periodx.SelectedDate.Value : DateTime.Today;
var time = period.SelectedDate.HasValue ? period.SelectedDate.Value : DateTime.Today;
if (timex > time)
{
var time_t = timex;
timex = time;
time = time_t;
}
var start = timex.AddMilliseconds(-1);
var end = time.AddDays(1);
var catalogs = tree.GetAllNodes().Where(o => o.Checked).Select(o => o.Value.GlobalId()).ToList();
var source = catalogs.Join(DataContext.DepotRedoRecord.Where(o => o.Time > start && o.Time < end), o => o, o => o.CatalogId, (a, b) => b).ToList().OrderByDescending(o => o.Time).ToList();
if (people.SelectedIndex > 0)
source = source.Where(o => o.Operator == people.SelectedItem.Text).ToList();
if (!"OrderId".Query().None())
{
var oid = "OrderId".Query().GlobalId();
source = source.Where(o => o.OrderId == oid).ToList();
}
if (!toSearch.Text.Trim().None())
{
var a_source = DataContext.DepotObjectLoad(Depot.Id, null);
if (!toSearch.Text.None())
{
var glist = a_source.Where(o => o.Name.ToLower().Contains(toSearch.Text.Trim().ToLower()) || o.PinYin.ToLower().Contains(toSearch.Text.Trim().ToLower()) || o.Code.ToLower() == toSearch.Text.Trim().ToLower()).Select(o => o.Id).ToList();
source = glist.Join(source, o => o, o => o.ObjectId, (a, b) => b).ToList();
}
}
view.DataSource = source.OrderByDescending(o => o.Time).ToList();
//___total.Value = source.Sum(o => o.Amount).ToAmount(Depot.Featured(DepotType.小数数量库)) + "@@@" + source.Sum(o => o.Money).ToMoney();
pager.Visible = source.Count > pager.PageSize;
}
开发者ID:Homory-Temp,项目名称:LeYi,代码行数:34,代码来源:Redo.aspx.cs
示例13: gvPerfiles_SelectionChanged
private void gvPerfiles_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangeEventArgs e)
{
if (gvPerfiles.SelectedItem != null)
{
lblEstado.Visibility = Visibility.Visible;
cmbEstado.Visibility = Visibility.Visible;
T_C_Perfil temp = gvPerfiles.SelectedItem as T_C_Perfil;
txtNombre.Text = temp.Nombre;
txtDescripción.Text = temp.Descripcion;
btnActualizar.IsEnabled = true;
btnEliminar.IsEnabled = true;
btnLimpiar.IsEnabled = true;
btnRegistrar.IsEnabled = false;
for (int i = 0; i <= cmbEstado.Items.Count - 1; i++)
{
if ((cmbEstado.Items[i] as T_C_Estado) == temp.Estado)
{
cmbEstado.SelectedIndex = 1;
break;
}
}
}
else
{
lblEstado.Visibility = Visibility.Hidden;
cmbEstado.Visibility = Visibility.Hidden;
btnActualizar.IsEnabled = false;
btnEliminar.IsEnabled = false;
btnLimpiar.IsEnabled = false;
btnRegistrar.IsEnabled = true;
}
}
开发者ID:jcvegan,项目名称:simatp,代码行数:32,代码来源:frmGestionarPerfiles.xaml.cs
示例14: OnCopied
void OnCopied(object sender, Telerik.Windows.RadRoutedEventArgs e)
{
var productIDColumn = this.grid.Columns["ProductID"];
this.dataContext = grid.DataContext as MyViewModel;
if (this.dataContext != null && !this.dataContext.ShouldCopySelectColumn && this.grid.ClipboardCopyMode.HasFlag(GridViewClipboardCopyMode.Header))
{
string originalText = Telerik.Windows.Controls.Clipboard.GetText();
string updatedText = string.Empty;
if (this.grid.SelectionMode == System.Windows.Controls.SelectionMode.Single)
{
updatedText = originalText.Remove(0, 1);
}
else
{
var originalColumnHeader = originalText.Split('\t').FirstOrDefault(t => t.Contains("CheckBox"));
updatedText = originalText.Remove(0, originalColumnHeader.Length + 1);
}
Telerik.Windows.Controls.Clipboard.SetText(updatedText);
}
if (productIDColumn.IsVisible && this.grid.ClipboardCopyMode.HasFlag(GridViewClipboardCopyMode.Header))
{
var headerText = (productIDColumn.Header as TextBlock).Text;
string originalText = Telerik.Windows.Controls.Clipboard.GetText();
var originalColumnHeader = originalText.Split('\t').FirstOrDefault(t => t.Contains("TextBlock"));
var updatedText = originalText.Replace(originalColumnHeader, headerText);
Telerik.Windows.Controls.Clipboard.SetText(updatedText);
}
}
开发者ID:CJMarsland,项目名称:xaml-sdk,代码行数:29,代码来源:GridViewClipboardCustomBehavior_SL.cs
示例15: RadGridEditor_ItemInserted
protected void RadGridEditor_ItemInserted(object source, Telerik.Web.UI.GridInsertedEventArgs e)
{
if (e.Exception != null)
{
e.ExceptionHandled = true;
e.KeepInInsertMode = true;
SqlException ex = e.Exception as SqlException;
if (ex == null)
DisplayMessage("لم نتمكن من اضافة الصف وذلك بسبب: " + Environment.NewLine + e.Exception.Message);
else
DisplayMessage("لم نتمكن من اضافة الصف وذلك بسبب: " + Environment.NewLine + MC.CheckExp(ex));
}
else
{
DisplayMessage("تم الاضافه");
SqlConnection con = MC.EStoreConnection;
SqlCommand cmd = new SqlCommand("", con);
string AccountId = ViewState["AccountId"].ToString();
try
{
con.Open();
cmd.CommandText = string.Format(@"INSERT INTO TblAccounts (AccountId, AccountName, BasicAccountId, AccountTreeId, UserIn, TimeIn)
VALUES ({0}, N'{1}', {2}, N'{3}', {4}, GETDATE())", AccountId, ViewState["Customer"], MC.GetOptionValue(MC.AppOptions.customer), TreeID(), TheSessions.UserID);
cmd.ExecuteNonQuery();
}
catch (SqlException ex)
{
DisplayMessage("لم نتمكن من اضافة الصف التابع وذلك بسبب: " + Environment.NewLine + MC.CheckExp(ex));
}
con.Close();
}
}
开发者ID:EgyFalseX,项目名称:WebSites,代码行数:32,代码来源:EditorCustomer.ascx.cs
示例16: grid_NeedDataSource
protected void grid_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
if (file.Value.None())
{
grid.DataSource = null;
grid.Visible = false;
return;
}
grid.Visible = true;
var book = new Workbook(file.Value);
var data = book.Worksheets[0].Cells.ExportDataTableAsString(0, 0, book.Worksheets[0].Cells.Rows.Where(o => o[0].Value != null && o[0].Value.ToString().Trim() != "").Count(), 16, true);
var handled = new DataTable();
foreach (var index in new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 })
{
handled.Columns.Add(data.Columns[index].ColumnName);
}
foreach (DataRow row in data.Rows)
{
var _row = handled.NewRow();
foreach (DataColumn col in handled.Columns)
{
_row[col.ColumnName] = row[col.ColumnName];
}
handled.Rows.Add(_row);
}
grid.DataSource = handled;
}
开发者ID:Homory-Temp,项目名称:LeYi,代码行数:27,代码来源:ImportX.aspx.cs
示例17: MyRadDataForm_AutoGeneratingField
private void MyRadDataForm_AutoGeneratingField(object sender, Telerik.Windows.Controls.Data.DataForm.AutoGeneratingFieldEventArgs e)
{
if (!displayedProperties.Contains(e.PropertyName))
{
e.Cancel = true;
}
if (e.PropertyName == "ReportsTo")
{
DataFormComboBoxField dataField = new DataFormComboBoxField();
dataField.Label = "ReportsTo";
dataField.ItemsSource = new List<EmployeeID>()
{
new EmployeeID("Nancy Davolio", 1),
new EmployeeID("Andrew Fuller", 2),
new EmployeeID("Janet Leverling", 3),
new EmployeeID("Margaret Peacock", 4),
new EmployeeID("Steven Buchanan", 5),
new EmployeeID("Michael Suyama", 6),
new EmployeeID("Robert King", 7),
new EmployeeID("Laura Callahan", 8),
new EmployeeID("Anne Dodsworth", 9)
};
dataField.DisplayMemberPath = "Name";
dataField.SelectedValuePath = "ID";
dataField.DataMemberBinding = new Binding("ReportsTo");
e.DataField = dataField;
}
}
开发者ID:netintellect,项目名称:PluralsightSpaJumpStartFinal,代码行数:30,代码来源:Example.xaml.cs
示例18: OnItemsChanged
// Gets the containers of the pasted objects and adds them in the pastedItems list.
private void OnItemsChanged(object sender, Telerik.Windows.Controls.Diagrams.DiagramItemsChangedEventArgs e)
{
if (e.Action == NotifyCollectionChangedAction.Add && this.isPasting)
{
e.NewItems.ToList().ForEach(x => this.pastedItems.Add(this.ContainerGenerator.ContainerFromItem(x)));
}
}
开发者ID:CJMarsland,项目名称:xaml-sdk,代码行数:8,代码来源:CustomDiagram.cs
示例19: view_record_NeedDataSource
protected void view_record_NeedDataSource(object sender, Telerik.Web.UI.RadListViewNeedDataSourceEventArgs e)
{
var id = "UseId".Query().GlobalId();
var use = DataContext.DepotUse.Single(o => o.Id == id);
var list = new List<UseRecord>();
var isVirtual = Depot.Featured(DepotType.固定资产库);
var amount = 0M;
var money = 0M;
foreach (var us in DataContext.DepotUseX.Where(o => o.UseId == use.Id).ToList())
{
amount += us.Amount;
money += us.Money;
if (list.Count(o => o.ObjectId == us.ObjectId && o.Type == us.Type && o.InId == us.InXId) == 0)
{
var objId = us.ObjectId;
var obj = DataContext.DepotObject.Single(o => o.Id == objId);
var catalog = DataContext.DepotObjectCatalog.Single(o => o.ObjectId == objId && o.IsLeaf == true && o.IsVirtual == isVirtual);
list.Add(new UseRecord { ObjectId = us.ObjectId, Name = obj.Name, Brand = obj.Brand, Catalog = DataContext.ToCatalog(catalog.CatalogId, catalog.Level).Single(), Type = us.Type, Unit = obj.Unit, Specification = obj.Specification, Amount = us.Amount, Money = us.Money, Note = us.Note, InId = us.InXId, PerPrice = us.Amount == 0 ? us.DepotInX.PriceSet : decimal.Divide(us.Money, us.Amount) });
}
else
{
var x = list.First(o => o.ObjectId == us.ObjectId && o.Type == us.Type && o.InId == us.InXId);
x.Amount += us.Amount;
x.Money += us.Money;
}
}
total.Value = amount.ToAmount(Depot.Featured(DepotType.小数数量库)) + "@@@" + money.ToMoney();
view_record.DataSource = list.OrderBy(o => o.Name).ThenBy(o => o.Type);
}
开发者ID:Homory-Temp,项目名称:LeYi,代码行数:29,代码来源:UsePrint.aspx.cs
示例20: RadComboBoxFirma_ItemsRequested
protected void RadComboBoxFirma_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
{
if (e.Text.Length > 3)
{
using (Service1Client client = new Service1Client())
{
intBolgeKodu = client.BolgeKoduDon(Context.User.Identity.Name);
}
string BolgeKodu = intBolgeKodu.ToString();
string sqlSelectCommand = "";
sqlSelectCommand = "SELECT [FIRMAID],[MUSTNO], [FIRMAADI], [IL_ILCE] from [firma] WHERE [FIRMAADI] LIKE '%'+ @text + '%' and SILINDI=0 and BOLGEKODU=" + BolgeKodu + " ORDER BY [FIRMAADI]";
SqlDataAdapter adapter = new SqlDataAdapter(sqlSelectCommand, ConfigurationManager.ConnectionStrings["KalData"].ConnectionString);
adapter.SelectCommand.Parameters.AddWithValue("@text", e.Text);
DataTable dataTable = new DataTable();
adapter.Fill(dataTable);
RadComboBoxFirma.Items.Clear();
foreach (DataRow dataRow in dataTable.Rows)
{
string IlIlce = "";
RadComboBoxItem item = new RadComboBoxItem();
item.Text = (string)dataRow["MUSTNO"].ToString();
item.Value = dataRow["FIRMAID"].ToString();
string FirmaAdi = (string)dataRow["FIRMAADI"];
if (dataRow["IL_ILCE"] != System.DBNull.Value)
{
IlIlce = (string)dataRow["IL_ILCE"];
}
item.Attributes.Add("FIRMAADI", FirmaAdi);
item.Attributes.Add("IL_ILCE", IlIlce);
RadComboBoxFirma.Items.Add(item);
item.DataBind();
}
}
}
开发者ID:inancakcan,项目名称:kalibrasyon,代码行数:35,代码来源:YapilanProtokollerGetAll.ascx.cs
注:本文中的Telerik类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论