Hi Ankit Chauhan,
finally i think my code works! , I just Created a Stored Proc then Declare a Parameter on it,Then
i use this to execute my PROCEDURE
(dtto is a TEXTBOX in SDK)
sqlString &= "EXEC DFS_SP_Interest " & dtto & "" ((oForm.DataSources.DataTables.Item(0).ExecuteQuery(sqlString)
I got the idea on your comment above.Thanks for that,
My only concern is when Search for the second time, the Data that is appearing in my gridView doesnt change eventhough i change my parameter date.
sqlString &= "EXEC DFS_SP_Interest " & dtto & " "
oForm.DataSources.DataTables.Add("MyDataTable")
oForm.DataSources.DataTables.Item(0).Clear()
oForm.DataSources.DataTables.Item(0).ExecuteQuery(sqlString)
oGrid = oForm.Items.Item("MyGrid").Specific
oGrid.DataTable = oForm.DataSources.DataTables.Item("MyDataTable")
oForm.DataSources.DataTables.Item(0).Clear()
- is not working.
thanks