Solutions to Programming Problems in ASP,ASP.Net,SQL and ORACLE
Link Unit
Tuesday, December 18, 2007
Update on gridview produces ORA-01036: illegal variable name/number
While using SQLdatasource to access and update an Oracle table using UpdateCommand , error ORA-01036 occurs if we by mistake use @ in parameter name ,some missing parameter or missing providername.
Solution :
For update statement to work in case of Oracle all the parameters must be there and in exact order.
ProviderName = "System.Data.OracleClient" in SQLDataSource
2 comments:
I've looked all over for a solution on this problem, and you sound like you actually know what you're talking about.
Do you have any code samples you could post? You could email them to me as well at juriggs@gmail.com.
Thanks in advance...
Justin
I have all of these and no luck. I've been dicking around with this for a week!
Post a Comment