Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : delphi

delphiÈçºÎÏòAccessÊý¾Ý±íÖÐ×Ô¶¨Òå×Ö¶Î

delphiÈçºÎÏòAccessÊý¾Ý±íÖÐ×Ô¶¨Òå×Ö¶Î?È»ºóÏÔʾµ½DBGridÖÐ
ÔõôûÈËÀíÎÒѽ

·Ö·Ö߯ÉÙßÖ£¬Ò»°ãÈ˶¼ÀÁµÃ½øÀ´¡­¡­*^_^*

SQL
creat table TableName(ID Counter Primary Key,FieldName varchar(20))

ADOQuery1.SQL.Clear;
ADOQuery1.SQL.Add('alter Table TestTabel add COLUMN ID Counter Primary Key' ......

Çë½ÌdelphiÖÐʹÓÃaccessÊý¾Ý¿â½øÐÐÊý¾Ýµ¼ÈëµÄÎÊÌâ

Ïò¸÷λ¸ßÊÖÇóÖú¡£
ÎÒÓÃdelphi2009±àдÁËÒ»¸ö¹ÜÀíϵͳ£¬Ê¹ÓõÄÊÇaccessÊý¾Ý¿â¡£ÏÖÔÚÏëͨ¹ý¶àÈËÒ»Æð¼ÈëÊý¾Ýºó£¬½«Êý¾Ýµ¼³ö£¬µ¼³öµÄÊý¾Ý¿â°üº¬¶à¸öÏàͬµÄ±í¡£ÔÙ½«µ¼³öµÄÊý¾ÝÒÀ´Îµ¼È뵽ͬһ¸öÊý¾Ý¿âµÄÏàͬ±íÖУ¬µ¼ÈëÖ´ÐÐÓï¾äÈçÏ£º

procedure TMain.N_ImportClick(Sender: TObject);
begin
  Query1.Clos ......

delphiµ¼Èëexcelµ½sqlserverµÄsqlÓï¾äÎÊÌâ

'Select * into '+TempTableName+' from OpenDataSource(''Microsoft.JET.OLEDB.4.0'',''Data Source='
  +ExcelFilePath+';Mode=Read;Extended Properties=Excel 5.0;Persist Security Info=True'')...['
  +SheetName+'$]';
Èç¹ûÎÒµ ......

תÌû£ºDELPHI±àд·þÎñ³ÌÐò×ܽáÒ»£­£­±àд¼¼ÇÉ

Ô­ÎĵØÖ·£ºhttp://hi.baidu.com/sqldebug/blog/item/8e2749213082c0589922ed61.html

Ö±½ÓÌù¹ýÀ´µÄ£¬ÓеãÂÒ£¬´ó¼Ò´ÕºÏ¿´¡£

Ò»¡¢·þÎñ³ÌÐòºÍ×ÀÃæ³ÌÐòµÄÇø±ð

Windows 2000/XP/2003µÈÖ§³ÖÒ»ÖÖ½Ð×ö¡°ÏµÍ³·þÎñ³ÌÐò¡±µÄ½ø³Ì£¬ÏµÍ³·þÎñºÍ×ÀÃæ³ÌÐòµÄÇø±ðÊÇ£º
ϵͳ·þÎñ²»Óõǽϵͳ¼´¿ÉÔËÐУ»ÏµÍ³·þÎñÊÇÔËÐÐÔÚ ......

תÌû£ºDELPHI±àд·þÎñ³ÌÐò×ܽá¶þ£­£­±àд¼¼ÇÉ

Ô­ÎĵØÖ·£ºhttp://hi.baidu.com/sqldebug/blog/item/58a764624a44d74eeaf8f863.html

Ò»¡¢ÈçºÎÏÞÖÆϵͳ·þÎñºÍ×ÀÃæ³ÌÐòÖ»ÔËÐÐÒ»¸ö

ÈçºÎÏÞÖÆϵͳ·þÎñºÍ×ÀÃæ³ÌÐòÖ»ÔËÐÐÒ»¸ö

ÔÚ¹¤³Ì¼ÓÈëÏÂÁдúÂë¿ÉÒÔÉèÖÃϵͳ·þÎñºÍ×ÀÃæ³ÌÐòÖ»ÔËÐÐÒ»¸ö¡£
program FleetReportSvr;

uses
SvcMgr,
Forms,
Sy ......

delphi ³ý·¨ "/" Óë div µÄ²»Í¬

[size=18px]var s,n:integer;
begin
write('ÊäÈë±ä³¤µÄÌõÊýn');       
readln(n);
[color=#FF0000]s:=n*(n-1)*(n-2)div 6;    //±¾ÐÐÌ滻Ϊs:=n*(n-1)*(n-2)/ 6;Ôõô²»ÐУ¿£¿£¿[/color]
writeln('×é³ÉµÄÈý½ÇÐθöÊý',s);
readln;[/size]
div ÓÃÓÚÕûÊý ......
×ܼǼÊý:1117; ×ÜÒ³Êý:187; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [178] [179] [180] [181] [182] 183 [184] [185] [186] [187]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ