当前位置:编程学习 > VB >>

实现条件查询

    我想在一个页面(long.htm)上的text1控件输入值,作为调用另外一页(long.aspx)AccessDataSource1的查询条件,不知如何实现?

    
.........
SelectCommand="SELECT * WHERE name LIKE '%' + ? + '%'"
.......
<SelectParameters>
        <asp:formParameter Name="name" formField="(想接收long.htm页面上的text1控件值)"  Type="String" />
 </SelectParameters> --------------------编程问答-------------------- --------------------编程问答-------------------- 指点指点呀!! --------------------编程问答--------------------    我想在一个页面(long.htm)上的text1控件输入值,作为调用另外一页(long.aspx)AccessDataSource1的查询条件,不知如何实现? 

    
......... 
SelectCommand="SELECT * from cbdb WHERE name LIKE '%' + ? + '%'" 
....... 
<SelectParameters> 
        <asp:formParameter Name="name" formField="(想接收long.htm页面上的text1控件值)"  Type="String" /> 
</SelectParameters> 
 
 
--------------------编程问答-------------------- 这是.net版的问题吧。

如果用vb方式解决,只能使用asp
补充:VB ,  网络编程
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,