asp.net 连接Oracle的连接字符串该怎么写?
没用过Oracle数据库,望各位大侠帮帮忙
没用过Oracle数据库,望各位大侠帮帮忙
答案:配置文件中:
<add key="ConnectionString" value="Data Source=orcl;User ID=xxx;Password=xxx"/>
其他:str = string.format(@"select * from t_user a where a.operator_id = {0} and status = {1}", 8888, 1);