Hi
i wanto use storedprocedure using mysql in mvc razor 4
I created databaseentity
var vale=new Dbentity();
I created storedprocedure i.e. getvalue
and want value from storedprocedure() into string
In storedprocedure , i have query as
select firstval from firsttb where fcode='2'
i want firstval value
i tried
string valhere= vale.getvalue(2);
but it says cannot convert string to int