S
Steven Spits
Hi,
While experimenting with CLR stored procedure, I discovered it won't
populate the fields in the TableAdapter, like a normal stored procedure. Why
is this?
GetClientList = normal stored procedure
GetClientListTest = CLR stored procedure
Both contain the same SQL, "SELECT * FROM Clients" and no parameters were
specified. Both run correctly in Management Studio.
When I create a new TableAdapter, select "use existing stored procedure" and
pick "GetClientList", alle fields are populated in the DataSet (Id, name,
etc). However, when I do the same with "GetClientListTest", there are no
fields. "Preview data", however, is working correctly.
What's causing the difference in behaviour?
Steven
- - -
While experimenting with CLR stored procedure, I discovered it won't
populate the fields in the TableAdapter, like a normal stored procedure. Why
is this?
GetClientList = normal stored procedure
GetClientListTest = CLR stored procedure
Both contain the same SQL, "SELECT * FROM Clients" and no parameters were
specified. Both run correctly in Management Studio.
When I create a new TableAdapter, select "use existing stored procedure" and
pick "GetClientList", alle fields are populated in the DataSet (Id, name,
etc). However, when I do the same with "GetClientListTest", there are no
fields. "Preview data", however, is working correctly.
What's causing the difference in behaviour?
Steven
- - -