Wednesday, September 19, 2012

The selected stored procedure returns no columns

The reason was, selecting from a temp table and EF can’t figure out the shape of the results at design time.

The solution for this write this line "SET FMTONLY OFF" in begin part of your Stored Procedure but it will not work in selecting data from another database.
Example : Create procedure SPname
      as
      SET FMTONLY OFF 

No comments:

Post a Comment

TinyMCE Insert/Edit link not editable

 To fix this add  e.stopImmediatePropagation()  as below. $(document).on('focusin', function (e) {             if ($(e.target).close...