PDA

Click to See Complete Forum and Search --> : BadOrdinal Error


mcharaia
Nov 5th, 2002, 04:14 PM
Hi,

I am getting following error while trying to search data by the Numeric key in web appplication.
Any ideas?


No error information available: DB_E_BADORDINAL(0x80040E55).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: No error information available: DB_E_BADORDINAL(0x80040E55).

Source Error:


Line 96: OleDbDataAdapter1.SelectCommand.Parameters.Add("@p1", Val(TextBox2.Text)) 'Data.OleDb.OleDbType.Decimal).Value = Val(TextBox2.Text)
Line 97: ' OleDbConnection1.Open()
Line 98: OleDbDataAdapter1.Fill(DataSet11)

----------------------------------------------------------------------------------

thanks in advance,