问题描述
我无法使用c#在asp.net中创建水晶报表时连接数据库,每当我添加新项并选择标准版本并在oledb(ado)选项卡中建立新连接时,我都选择了Microsoft oledb provider作为oracle或oracle的oracle提供程序....它想要数据集,用户名和密码....我的数据库(oracle 10 xe)userid是system,password是123 ....它已连接,但我没有找到我的表.....它显示这些选项,添加命令,匿名,系统,dip,hr,sys,tsmsys,xdb等...
请告诉我要从"plist"表中查看水晶报表中的某些数据该怎么办.
数据库用户标识系统,密码123.
通常我使用此连接从数据库中插入或删除数据.
con = new OleDbConnection("Provider = msdaora.1; user id = system; password = 123");
con.Open();
或
con = new OleDbConnection("Provider = oraoledb.oracle.1; user id = system; password = 123");
con.Open();
I am unable to connect database while creating a crystal report in asp.net with c#.whenever I add new item and choose standard version and do make new connection in the oledb(ado) tab,I choose either microsoft oledb provider for oracle,or oracle provider for oracle....it wants dataset,userid and password....my database (oracle 10 xe) userid is system,password is 123....it got connected,but i didnot found my tables.....it shows these options add command,anonymous,system,dip,hr,sys,tsmsys,xdb etc...
pls tell me what to do if i want to view some data in crystal report from a table "plist" .
database userid system,password 123.
normally i use this connection to insert or delete data from database.
con = new OleDbConnection("Provider=msdaora.1;user id=system;password=123");
con.Open();
or
con = new OleDbConnection("Provider=oraoledb.oracle.1;user id=system;password=123");
con.Open();
推荐答案
这篇关于在使用oledb provider for oracle时,水晶报表中的数据库连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!