thanks the problem solved.
C# where clause and postgres
Fouad Allali
1
Reputation point
Hi team
I have issue wiht where clause in C# with postgres and access database.
In postgres the query is :
When i declare harn = "azx" it works fine
But when i keep it variable in method not works. Exemple method :
Internal int getvalue(string harn, con)
(Select Id from table1 where column2 = @val , con)
Cmd. Parameters. AddWithValue("val", harn)
Developer technologies | C#
11,578 questions