B
Benny
Hi all,
Anyone face this problem on oracle 10g and Visual Studio.Net 2003 ?
The following code works fine if using the mysql4.1 with the library of the
MySQL.Data. But error occured while using the library of
System.Data.OracleClient :-
Error message:- 'p5': No size set for variable length data type: String.
Dim da As New OracleDataAdapter("SELECT * FROM member_grade_log WHERE logid
= " & (logid + 1).ToString(), RegConn)
da.Fill(ds, "member_log")
Dim dr As DataRow = ds.Tables("member_grade_log").NewRow
dr("logid") = logid
dr("edate") = Today().Date
dr("edatetime") = Now()
dr("event") = "SET"
dr("event_description") = txtDescription.Text
dr("member_id") = lblMember_id.Text
dr("pin_no") = lblPIN_no.Text
dr("member_name") = lblMember_name.Text
ds.Tables("member_grade_log").Rows.Add(dr)
da.Update(ds.Tables("member_grade_log")) [failed here ]
Thanks in advance.
regards,
Benny
Anyone face this problem on oracle 10g and Visual Studio.Net 2003 ?
The following code works fine if using the mysql4.1 with the library of the
MySQL.Data. But error occured while using the library of
System.Data.OracleClient :-
Error message:- 'p5': No size set for variable length data type: String.
Dim da As New OracleDataAdapter("SELECT * FROM member_grade_log WHERE logid
= " & (logid + 1).ToString(), RegConn)
da.Fill(ds, "member_log")
Dim dr As DataRow = ds.Tables("member_grade_log").NewRow
dr("logid") = logid
dr("edate") = Today().Date
dr("edatetime") = Now()
dr("event") = "SET"
dr("event_description") = txtDescription.Text
dr("member_id") = lblMember_id.Text
dr("pin_no") = lblPIN_no.Text
dr("member_name") = lblMember_name.Text
ds.Tables("member_grade_log").Rows.Add(dr)
da.Update(ds.Tables("member_grade_log")) [failed here ]
Thanks in advance.
regards,
Benny