Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

mysql - I created several stored procedures in phpmyadmin, how to call them using an sql query? -


i created several stored procedures in phpmyadmin, how possible call them using sql query (mysql) ?

call name_of_stored_procedure(parameters); 

try on 'sql' tab:

create definer=`root`@`localhost` procedure `storedprocedure1`(out myvar1 char(64)) set myvar1="it "; create definer=`root`@`localhost` procedure `storedprocedure2`(out myvar2 char(64)) set myvar2="works"; 

then call:

call procedure1(@var1); call procedure2(@var2); select @var1,@var2; 

Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -