1、引用包 Microsoft.EntityFrameworkCore.Tools Microsoft.EntityFrameworkCore.SqlServer Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation Microsoft.AspNetCo ...
1、引用包
Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.SqlServer
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
Microsoft.AspNetCore.Http.Abstractions
Microsoft.AspNetCore.Mvc.RazorPages
Microsoft.EntityFrameworkCore
2、easyui組件 easyui-combobox
<div style="margin-bottom:10px">
<input id="documenttype" name="type" class="easyui-combobox" label="類型:" style="width:100%"
data-options="
idField: 'id',
textField: 'value',
url: '/filedocumentlist/getdxtype',
method: 'get',
columns: [[
{field:'id',title:'序號',width:60},
{field:'value',title:'值',width:100}
]],
onLoadSuccess:function(){
$('#documenttype').combobox('setValue','選擇房屋類型');
}
">
</div>
3、easyui組件 easyui-combogrid
<input id="Userid" name="Userid" class="easyui-combogrid" required label="用戶:" style="width:100%"
data-options="
idField: 'id',
textField: 'value',
url: '/userrolelist/getuserlist',
method: 'get',
columns: [[
{field:'id',title:'序號',width:60},
{field:'value',title:'值',width:100}
]],
onLoadSuccess:function(){
$('#Userid').combobox('setValue','選擇用戶');
}
">