أحاول إنشاء نظام ب ASP.Net 2.0 يرتبط بقاعدة بيانات Oracle مع استعمال ASP.net 2.0 controls، وعند ربط SqlDataSource مع قاعدة البيانات التي أنشأتها وتشغيل الصفحة تجري كل العمليات (عرض البيانات، إضافة، تعديل) كما هو مطلوب، لكن عند الحذف عبر GridView Delete Button يظهر Exception كما يلي:
System.Data.OleDb.OleDbException: ORA-01008: not all variables bound Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
مرفق كود الصفحة التي قمت بإنشائها، وهذه هي الconnection string:
<add name="ConnectionStringOleOraWalcom" connectionString="Provider=MSDAORA;Data Source=walcom;Persist Security Info=True;Password=123;User ID=walcom" providerName="System.Data.OleDb" />
ماالسبب وكيف يمكن تجنب هذا الخطأ؟