前台sqldatasource的绑定问题
<asp:SqlDataSource ID="SqlDataFunction" runat="server"
ConnectionString="<%$ ConnectionStrings:JFMCConnectionString %>"
SelectCommand="SELECT [Function] FROM [Function] where DDLDepart.text = [Department]"
"></asp:SqlDataSource>
"SELECT [Function] FROM [Function] where DDLDepart.text = [Department]"
直接调用 DDLDepart.text不行的吗? --------------------编程问答-------------------- 不建议这样写,把操作数据库内容的写到后台,然后前台绑定ID如:#bing --------------------编程问答--------------------
大概的代码能参考一下吗?
datasource在后台不知道怎么绑定噢 --------------------编程问答-------------------- help!!! --------------------编程问答-------------------- 在后台写
补充:.NET技术 , ASP.NET