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


C# DataControlRowType类代码示例

本文整理汇总了C#中DataControlRowType的典型用法代码示例。如果您正苦于以下问题:C# DataControlRowType类的具体用法?C# DataControlRowType怎么用?C# DataControlRowType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: NopGridViewCustomTemplate

 public NopGridViewCustomTemplate(DataControlRowType type, string columnName, string dataType, int paymentMethodId)
 {
     _templateType = type;
     _columnName = columnName;
     _dataType = dataType;
     _paymentMethodId = paymentMethodId;
 }
开发者ID:fathurxzz,项目名称:aleqx,代码行数:7,代码来源:PaymentMethodsFilterControl.ascx.cs

示例2: GridViewRow

		public GridViewRow (int rowIndex, int dataItemIndex, DataControlRowType rowType, DataControlRowState rowState)
		{
			this.rowIndex = rowIndex;
			this.dataItemIndex = dataItemIndex;
			this.rowType = rowType;
			this.rowState = rowState;
		}
开发者ID:calumjiao,项目名称:Mono-Class-Libraries,代码行数:7,代码来源:GridViewRow.cs

示例3: GridViewTemplate

 public GridViewTemplate(DataControlRowType type, string colname, string colNameBinding, string ctlType)
 {
     templateType = type;
     columnName = colname;
     columnNameBinding = colNameBinding;
     controlType = ctlType;
 }
开发者ID:jasimuddin534,项目名称:jasim_basis,代码行数:7,代码来源:GridViewTemplate.cs

示例4: GridViewTemplate

 public GridViewTemplate(DataControlRowType type, string colNameFr, string colNameDt, Control con)
 {
     templateType = type;
     columnNameFriendly = colNameFr;
     columnNameData = colNameDt;
     control = con;
 }
开发者ID:hoangtung56pm,项目名称:KPINew,代码行数:7,代码来源:GridViewTemplate.cs

示例5: GridViewTableCell

 /// <summary>
 /// 构造函数
 /// </summary>
 public GridViewTableCell(TableCell tableCell, int columnIndex, DataControlRowType rowType, DataControlRowState rowState)
 {
     this._tableCell = tableCell;
     this._columnIndex = columnIndex;
     this._rowType = rowType;
     this._rowState = rowState;
 }
开发者ID:kiler398,项目名称:baseframeworktemplate,代码行数:10,代码来源:GridViewTableCell.cs

示例6: FormViewRow

 public FormViewRow(int itemIndex, DataControlRowType rowType, DataControlRowState rowState)
 {
     this._itemIndex = itemIndex;
     this._rowType = rowType;
     this._rowState = rowState;
     this.RenderTemplateContainer = true;
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:7,代码来源:FormViewRow.cs

示例7: NopGridViewCustomTemplate

 public NopGridViewCustomTemplate(DataControlRowType type,
     string columnName, string DataType, int customerRoleId)
 {
     this.templateType = type;
     this.columnName = columnName;
     this.dataType = DataType;
     this.customerRoleId = customerRoleId;
 }
开发者ID:fathurxzz,项目名称:aleqx,代码行数:8,代码来源:ACL.ascx.cs

示例8: DetailsViewPagerRow

		public DetailsViewPagerRow (
			int rowIndex,
			DataControlRowType rowType,
			DataControlRowState rowState
		)
			:base (rowIndex, rowType, rowState)
		{
		}
开发者ID:calumjiao,项目名称:Mono-Class-Libraries,代码行数:8,代码来源:DetailsViewPagerRow.cs

示例9: GridViewTempBrowse

 /// <summary>
 /// 构造元素行对象
 /// </summary>
 /// <param name="strTxtID">当前TextBox控件ID</param>
 /// <param name="strField">当前TextBox控件绑定的字段</param>
 /// <param name="bReadOnly">TextBox是否只读</param>
 /// <param name="txtWidth">TextBox的宽度</param>
 public GridViewTempBrowse(string strTxtID, string strHeader, string strField, bool bReadOnly, int txtWidth)
 {
     templateType = DataControlRowType.DataRow;
     m_strTxtID = strTxtID;
     m_strField = strField;
     m_bReadOnly = bReadOnly;
     m_Width = txtWidth;
     m_strColumnText = strHeader;
 }
开发者ID:pcstx,项目名称:OA,代码行数:16,代码来源:GridViewTempBrowse.cs

示例10: GridViewTempDropDownList

 /// <summary>
 /// ����Ԫ���ж���
 /// </summary>
 /// <param name="strTxtID">��ǰTextBox�ؼ�ID</param>
 /// <param name="strField">��ǰTextBox�ؼ��󶨵��ֶ�</param>
 /// <param name="bReadOnly">TextBox�Ƿ�ֻ��</param>
 public GridViewTempDropDownList(string strTxtID, string strHeader, string strField, bool bReadOnly, int txtWidth, DataTable data, bool AutoPostBack)
 {
     dt = data;
     templateType = DataControlRowType.DataRow;
     m_strTxtID = strTxtID;
     m_strField = strField;
     m_bReadOnly = bReadOnly;
     m_Width = txtWidth;
     mAutoPostBack = AutoPostBack;
     m_strColumnText = strHeader;
 }
开发者ID:pcstx,项目名称:OA,代码行数:17,代码来源:GridViewTempDropDownList.cs

示例11: GridViewTempTextBoxIncludeHiddenValue

 /// <summary>
 /// 构造元素行对象
 /// </summary>
 /// <param name="strTxtID">当前TextBox控件ID</param>
 /// <param name="strField">当前TextBox控件绑定的字段</param>
 /// <param name="bReadOnly">TextBox是否只读</param>
 /// <param name="txtWidth">TextBox的宽度</param>
 public GridViewTempTextBoxIncludeHiddenValue(string strTxtID, string strHeader, string strField, bool bReadOnly, int txtWidth, int FieldID, string FieldName, string FieldDBType, int FieldHTMLType, int FieldValidType, string ValidTimeTypeName, int HasRule, DataTable dtRule, DataTable dtColumnsIndex)
 {
     templateType = DataControlRowType.DataRow;
     m_strTxtID = strTxtID;
     m_strField = strField;
     m_bReadOnly = bReadOnly;
     //m_Enabled = Enabled;
     m_Width = txtWidth;
     m_strColumnText = strHeader;
     m_FieldID = FieldID;
     m_FieldName = FieldName;
     m_FieldDBType = FieldDBType;
     m_FieldHTMLType = FieldHTMLType;
     m_FieldValidType = FieldValidType;
     m_ValidTimeTypeName = ValidTimeTypeName;
     m_hasRule = HasRule;
     m_dtRule = dtRule;
     m_dtColumnsIndex = dtColumnsIndex;
 }
开发者ID:pcstx,项目名称:OA,代码行数:26,代码来源:GridViewTempTextBoxIncludeHiddenValue.cs

示例12: PokerFormViewRow

			public PokerFormViewRow (int itemIndex,DataControlRowType rowType,DataControlRowState rowState) : base(itemIndex,rowType,rowState)
			{				
			TrackViewState ();
			}
开发者ID:calumjiao,项目名称:Mono-Class-Libraries,代码行数:4,代码来源:FormViewRowTest.cs

示例13: GridViewCheckBox

 public GridViewCheckBox(DataControlRowType type, string colname, string colvisible)
 {
     templateType = type;
     columnName = colname;
     columnVisible = colvisible;
 }
开发者ID:ViniciusConsultor,项目名称:controle-compras,代码行数:6,代码来源:GridViewTemplate.cs

示例14: CheckBoxTemplate

		/// <summary>
		/// 模版构造函数
		/// </summary>
		/// <param name="type">指定数据控件中行的功能类型</param>
		/// <param name="multiSelect">是否多选</param>
		/// <param name="chkItemName"></param>
		/// <remarks>
		/// 模版构造函数
		/// </remarks>
		public CheckBoxTemplate(DataControlRowType type, string chkItemName, bool multiSelect)
		{
			this.templateType = type;
			this.isMultiSelect = multiSelect;
			this.checkItemName = chkItemName;
		}
开发者ID:jerryshi2007,项目名称:AK47Source,代码行数:15,代码来源:CheckBoxTemplate.cs

示例15: CreateRow

        private GridViewRow CreateRow(int rowIndex, int dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, bool dataBind, object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) {
            GridViewRow row = CreateRow(rowIndex, dataSourceIndex, rowType, rowState);
            GridViewRowEventArgs e = new GridViewRowEventArgs(row);

            if (rowType != DataControlRowType.Pager) {
                InitializeRow(row, fields);
            }
            else {
                InitializePager(row, fields.Length, pagedDataSource);
            }

            if (dataBind) {
                row.DataItem = dataItem;
            }

            OnRowCreated(e);
            rows.Add(row);

            if (dataBind) {
                row.DataBind();
                OnRowDataBound(e);
                row.DataItem = null;
            }

            return row;
        }
开发者ID:nlh774,项目名称:DotNetReferenceSource,代码行数:26,代码来源:GridView.cs


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