user2888329
user2888329

Reputation: 3

ORA-01036: illegal variable name/number in C#

I tried to change the capital letters to non capital but still giving me same errors.

Line of error is happening in GridView1_RowUpdating

    cmd.Parameters.AddWithValue(":telephone", txtEdittelephone.Text);

Upvotes: 0

Views: 1072

Answers (1)

NathanAldenSr
NathanAldenSr

Reputation: 7961

I don't know Oracle (which I assume this is), but I believe telephone:=telephone should be telephone=:telephone.

The error seems to be occurring with your SQL code, so most of your other posted code is irrelevant.

Upvotes: 1

Related Questions