0
Reply

Doubt in SqlDatasource

Babu

Babu

Jun 20 2006 2:40 AM
1.8k
SELECT [CustCode], [Name], [Addr], [Area] FROM [Customer] WHERE (([CustCode] = @CustCode) OR ([Area] = @Area))

i'm using the above code in a sqldatasource,which i've connected with a gridview.the above query is executing while testing in the tool(sqldatasource).but at the time of running application it is not working.i've to disply details in the gridview when clicking a button.

can anyone help me to get the solution.