指定した列と列ヘッダーテキストを持つDataGridViewColumnをコレクションに追加します。

Namespace: YiaoWang.Windows.Forms
Assembly: YiaoWang.Windows.Forms (YiaoWang.Windows.Forms.dll 内) バージョン: 2.11.5.7 (2.11.5.7)

Syntax

C#
public void AddCol(
	string colName,
	Type type,
	int width
)
Visual Basic
Public Sub AddCol ( _
	colName As String, _
	type As Type, _
	width As Integer _
)

Parameters

colName
Type: System..::..String
設定する列の名前/列ヘッダーのテキスト。
type
Type: System..::..Type
新しい列のSystem.Data.DataColumen.DataType。
width
Type: System..::..Int32
列の幅。

Remarks