Getting a error while assigning parameter to dataset

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bluesathish
    New Member
    • Mar 2010
    • 22

    Getting a error while assigning parameter to dataset

    Dear All,

    I've try to assign the new parameter to dataset, while i using the following code, i got the error like
    "Varchar is not a member of Devart.Data.Ora cle.OracleType"
    But I'm sure this code was 100% correct,
    Please help me to rectify this error.


    Code:

    Me._commandColl ection(0).Param eters.Add(New Global.Devart.D ata.Oracle.Orac leParameter("s" , Global.Devart.D ata.Oracle.Orac leType.VarChar, 30, Global.System.D ata.ParameterDi rection.Input, "REGN_BATCH_NO" , Global.System.D ata.DataRowVers ion.Current, False, Nothing))
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    100% correct? Are you sure about that? A quick google search indicates that your code is incorrect and that you should be using OracleDbType.Va rChar

    Comment

    Working...