Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

DELPHIÇë´ó¼Ò°ïÎÒ¿´¿´Õâ¶ÎËÑË÷´úÂë³ö´íÔÚÄĶù°¡£¿

procedure TForm4.BitBtn2Click(Sender: TObject);
begin
if (Trim(ComboBox2.Text) <>'')and(Trim(Edit3.Text) <>'')then
  begin
    with ADOQuery1 do
    begin
      Close;
      SQL.Clear;
      SQL.Add('select * from ×÷Òµµ¥×ÊÁÏ where');
      SQL.Add(Trim(ComboBox2.Text));
      SQL.Add('= :a');
      Parameters.ParamByName('a').Value := Trim(Edit3.Text);
      Open;
    end;
    if ADOQuery1.RecordCount >0 then
    begin
DataSource1.DataSet := ADOQuery1;
    end
    else
    begin
      DataSource1.DataSet := Nil;
      Application.MessageBox('ÐÅÏ¢²»È«»ò²»´æÔÚ¡£','Ìáʾ',64);
    end;
  end;
end;


DataSource1.DataSet := ADOQuery1;(Õâ¾äÔËÐеÄʱºò´íÎó)
Ìáʾ´íÎó:DataSource1:circular datalinks are not allowed

Õâ¶Î´úÂëÏëʵÏֵŦÄÜÊÇ°ÑËÑË÷³öÀ´µÄÊý¾Ýͨ¹ýDATASOURCE1ÏÔʾÔÚDBGRID
»¹ÓÐÎÒÏë°Ñ°ÑŪ³ÉÄ£ºýËÑË÷,ÒªÔõôд?¸ø¸ö˼·^^
¿´ÄãµÄ×îÖÕVIEW¿Ø¼þÊDz»ÊÇÒ²ÓÃADOQUERY1 ±ÈÈçDBGRID

ÄãµÄADOQuery1.DataSourceÊDz»ÊÇÉè³ÉÁËDataSource1
Ñ­»·ÒýÓÃ

¼ì²éDat


Ïà¹ØÎÊ´ð£º

ACCESSµÄ×Ô¶¨Ò庯ÊýÔÚdelphiÀïÔõôÓÃÄØ...

ÎÒÔÚÄ£¿éÀï×Ô¶¨ÒåÁËÒ»¸öº¯Êý:stradd()

¿ÉÊÇÔÚadoquery1.sql.add('select stradd(author) from book');
ʱÌáʾstradd䶨Òå...

Õâ¸öÎÊÌâÓÐʲô°ì·¨¿ÉÒÔ½â¾öµÄÂð? ·Ç³£¸Ð¼¤!


(ÔÚA ......

DelphiÖÐÊý¾Ý¿â²éѯµÄÒÉ»ó

×òÍíÔÚDelphiÊý¾Ý¿â²éѯÖÐÓöµ½ÁËÒ»¸öÒɻ󡣴úÂëÈçÏ£º
procedure TFormSearchAchievement.ComboBoxXYChange(Sender: TObject);
var
  XY : string;
begin
  XY := comboboxxy.Items[comboboxx ......

Çë½Ì¹ØÓÚDelphiµÄÊ÷Ðοؼþ

ÇëÎÊDelphiÓÐÊ÷ÐοؼþÂð£¿
ÔõÑùʹÓã¿
Ttreeview 
 treeview.items.addchild(nil(Éϼ¶½Úµã),'°¸·¢Ê±·¢'(text));

raize ¿Ø¼þ°üÀïÃæÓУ¬csdnÓÐÏÂÔصÄ

²é°ïÖúTTreeViewºÍTNodeÁ½¸öÀà

TTreeView ......

2009ѧϰdelphiµÄÇ°¾°

ÎÒ±¾À´ÔÚѧУÊÇŪµÄJ2EE
×òÌìÈ¥Á˳¤É³Ò»¼Ò¹«Ë¾Ó¦Æ¸ ˵ÊÇÓÐÒ»¸öÏîÄ¿ delphiµÄ
ʵϰÆÚÒ»¸öÔ ËÄÌì°ëµÄdelphiÅàѵ ºóÃæ25Ìì¸øÄãÒ»¸öÉè¼ÆÎĵµ×Ô¼º×öÒ»¸öÏîÄ¿
×ߺ󲻾ôòµç»°¹ýÀ´½ÐÎÒÐÇÆÚһȥ±¨µ½ 
¿´µ½delphiµ ......

ÓÃÁËÒ»¸öÔÂdelphi¡£´ÓÄDZßѧ»ØÁ˸öºÃÏ°¹ß¡£¹þ¹þ

void CAutoMsgDlg::OnBnClickedButton1()
{
CInternetSession  netSession;
CHttpConnection  *pHttpConn;
CHttpFile        *pFile;
CString    &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ