S ) Store Procedure implementation to web application

                                             *  Store Procedure  *

  • Implementation of store procedure to web application 
  • Store Procedure Using Command Type in page 
  • Command Type Librry using System.Data;

1 ) How to create Store Procedure in web application ?
  Step 1 :-  Server Explorer -- [>] Data Connection  -- Store procedure -- Add new store procedure -- Select ctrl A and all delete from procedure page .

 Step 2 :- 
Create procedure mypro (mypro is  procedure name)
(
  @id1 int , 
  @name1 varchar(50) , 
  @city1 varchar(50)
)
as
insert into emp values(@id1,@name1,@city1) 
return

Step 3 :- Click save button and create a store procedure .

Step 4 :- select route and create page store.aspx 
           Design PAge :- 
              

Step 5 :- Double Click on butoon And Coding 
                   


                                             Simple Store Procedure Concept Video



                     
                                Store Procedure (Sub,upd,del,Find with store procedure)















Comments

Popular posts from this blog

DATA CONTROL ( Gridview , Repeater , Formview , DataList , Detailsview , Listview )

Z 5 ) MVC (Model view Controller)

Z 8 ) MVC HTMLHELPER METHOD AND ACTIONLINK (how to use css ,atrributes,style in css)