有这样一条语句
adodc1.recordsource="select * from aa where name='"+ text1.text"'"
adodc1.refresh
我将 ado 控件与一个datagrid控件连在一起,如何让他在datagrid控件中只显示满足条件的最后一条记录
改怎么样写,请大家指教
adodc1.recordsource="select * from aa where name='"+ text1.text"'"
adodc1.refresh
我将 ado 控件与一个datagrid控件连在一起,如何让他在datagrid控件中只显示满足条件的最后一条记录
改怎么样写,请大家指教
select top 1* from jaa where Name='"& text1.text &"' order by name desc