Babu

Babu

  • NA
  • 3
  • 0

Doubt in SqlDatasource

Jun 20 2006 2:40 AM
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.