HtmlHelperDataTableToTable Method |
数据表转换为表格
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static string DataTableToTable(
DataTable dt,
string id,
string width,
int border = 1,
int cellpadding = 0,
int cellspacing = 0
)
Public Shared Function DataTableToTable (
dt As DataTable,
id As String,
width As String,
Optional border As Integer = 1,
Optional cellpadding As Integer = 0,
Optional cellspacing As Integer = 0
) As String
public:
static String^ DataTableToTable(
DataTable^ dt,
String^ id,
String^ width,
int border = 1,
int cellpadding = 0,
int cellspacing = 0
)
static member DataTableToTable :
dt : DataTable *
id : string *
width : string *
?border : int *
?cellpadding : int *
?cellspacing : int
(* Defaults:
let _border = defaultArg border 1
let _cellpadding = defaultArg cellpadding 0
let _cellspacing = defaultArg cellspacing 0
*)
-> string
Parameters
- dt
- Type: System.DataDataTable
数据表 - id
- Type: SystemString
表格ID - width
- Type: SystemString
表宽 - border (Optional)
- Type: SystemInt32
边框 - cellpadding (Optional)
- Type: SystemInt32
填充 - cellspacing (Optional)
- Type: SystemInt32
表间距
Return Value
Type:
String[Missing <returns> documentation for "M:Adf.HtmlHelper.DataTableToTable(System.Data.DataTable,System.String,System.String,System.Int32,System.Int32,System.Int32)"]
See Also