如何将objectdatasource绑定到html select<;标签>;?

如何将objectdatasource绑定到html select<;标签>;?,html,asp.net,Html,Asp.net,有没有办法将objectdatasource绑定到具有runat=server属性的html select标记。 <select size="1" id='standard' onchange="toggleOption(this)" name='standard' class='custom-select' > 试试这个 就像asp下拉列表框一样 <select size="1" id="standard" runat="server" onchange="toggleO

有没有办法将objectdatasource绑定到具有runat=server属性的html select标记。

<select size="1" id='standard' onchange="toggleOption(this)" name='standard' class='custom-select' >

试试这个

就像asp下拉列表框一样

<select size="1" id="standard" runat="server" onchange="toggleOption(this)" name='standard' class='custom-select' >

我已经试过上面的代码,如何在c#代码中使用html Id(标准)。它显示错误无法解析符号“standard”
 standard.DataTextField = "title";
        standard.DataValueField = "val";
        standard.DataSource = SrCity;
        standard.DataBind();