Im using VS2012, MVC4 C#, SQL 2008 R2
I have a stored procedure which returns a list contains two computed columns. In my SP I have two parameters which I need to pass from View, these parameters will be generated from javascript on page load and stored in HiddenFields.
I have followed this Post, when I created a reference like
Rest Context = new Rest();
List<Rest> RT = Context.ExecuteStoreQuery......
I get an error.
Could someone tell me the right way to call a stored procedure and pass values from View.