SCM

[#1000340] insert into from C# application

View Trackers | Bugs | Download .csv | Monitor

Date:
2005-06-27 14:18
Priority:
3
State:
Open
Submitted by:
Luca Beretta (luke)
Assigned to:
Nobody (None)
Category:
Crash
Group:
v1.0.0.19
Resolution:
None
 
Summary:
insert into from C# application

Detailed description
pgsql table

CREATE TABLE users
(
username varchar(255) NOT NULL,
userpassword varchar(255),
usermail varchar(255),
usercompany varchar(15),
userfirst varchar(255),
userlast varchar(255),
usertype char(1),
usercustomerid varchar(15),
CONSTRAINT pk_users PRIMARY KEY (username)
)

using this oledbcommand from a C# application:

insert into users (username,userpassword) VALUES (?,?)

and adding two string parameter i get a:

Fillingvalues error

Running the same command over odbcconnection all works fine

p.s: OleDbConnection conn = new OleDbConnection("Provider=PostgreSQL;Data Source=localhost;location=myDB;User ID=xxx;password=xxx");

Followup

No Followups Have Been Posted

Attached Files:

Changes:

Field Old Value Date By
assigned_toshachar2005-12-01 12:56shachar
Powered By FusionForge