首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

很简单的有关问题

2012-02-26 
很简单的问题withADOQuery3dobeginifActiveThenCloseSQL.ClearSQL.Add( select*fromusersaccountwhereui

很简单的问题
with   ADOQuery3   do
          begin
                    if   Active   Then   Close;
                    SQL.Clear;
                    SQL.Add( 'select   *   from   usersaccount   where   uin= '+uin);
uin   interger
这个要如何写   我这样写出错


[解决办法]
SQL.Add(format( 'select * from usersaccount where uin=%d ',[uin]));

热点排行