我使用ADO连接提示“验证失败”,请看详请... 用ADO连接数据库不用那么麻烦吧?放一个TADOConnection,然后编辑connectionstring属性不就行了?按这个属性旁边的省略号可以进入一对话框,其实就是connectionstring构造向导,自己试试吧,很简单的。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 pri_ADOConnection1:=TADOConnection.Create(Self);试试。TComponent.Create好像需要它。constructor TComponent.Create(AOwner: TComponent);begin FComponentStyle := [csInheritable]; if AOwner <> nil then AOwner.InsertComponent(Self);end; ConnectionString属性设对了就没问题,我用过。把你ConnectionString属性贴上看看。 同意saoren的说法,的确象是Create(Self)的问题。 帮忙说一下Delphi作为前台开发工具,优于VC++、VB、VFP和java的地方,要具体点。 急~~~,快快快!!! SELECT后怎么取其中一个字段的值! sql语句问题 日期段间数据查询, 谁能说说dxDBTree的用法,非常急。 菜鸟问题,大虾帮忙! 请教一个关于DbLookupComboBox的问题! 数据库查询问题: 求助:Delphi开发组织架构图(族谱的亲系图) 用消息传递Tstrings型数据 HUB最多能堆叠几层? 如何获得输入点? 哪里有关于各种"消息"的详细资料或帮助?
试试。
TComponent.Create好像需要它。
constructor TComponent.Create(AOwner: TComponent);
begin
FComponentStyle := [csInheritable];
if AOwner <> nil then AOwner.InsertComponent(Self);
end;
把你ConnectionString属性贴上看看。