ݺߣ

ݺߣShare a Scribd company logo
A project on gate pass system
•Which shows many attributive
 properties
Yogesh kumar kushwah represent’s
   It provides security.      It shows a
   It includes many            comparability with
    steps to show               passing elements.
    security level.
1.Check   2.Show
element   status


    3.Pass the
     element
3.5
          Y-Values
 3
2.5
 2
1.5
 1
                         Y-Values
0.5
 0
      0   1     2    3     4
Requirment
                            1.Insert        2.Update        3.Delete
1.Hardware environment .
2. Software environment .
                            data            the             the data
                            from the        existing        from
                            table.          data in         table.
                            • Use           table.          • Use
                              standard      • Use             standard
                              data table.     standard        data table.
                            • Use login       data table    • Use login
                              data table.   • Use login       data table.
                                              data table.
   [A] Mysql
                         [B]Visual basic 2010
Usable field
1.Technical areas.
(a) Front end
(b) Back end
   Defining AJAX
   ASP.NET AJAX
   Including ASP.NET AJAX
   Script Manager
   Update Panel
   Client Networking - Web/Script Services
   Extender Controls - Control Toolkit
   Client Side JavaScript Development
   GMail – http://mail.google.com
   Google Maps – http://maps.google.com
   Outlook Web Access
   PageFlakes - http://www.pageflakes.com/
   Smart Scoreboard - http://www.smartscoreboard.com/
   Asynchronous
   JavaScript
   And
   XML
Initial Web Page Request
                             (WebPage.aspx)




                           Full Post Backs

                `




Client (Web Browser)                              Web Server
Initial Web Page Request
                               (WebPage.aspx)



                           Async Requests


                          Invisible To The User
                `



                       Client side script
                       updates the content of
Client (Web Browser)   the page using the           Web Server
                       data returned from the
                       async requests
   Enhance Existing Pages
   Update Progress Bar
   Timer Control
The ScriptManager’s
PageRequestManager steps in
during PreRender() and replaces
the Page’s Render() method with
one that renders Update Panel
content.
15
    Single sign-in across member sites
    Includes user profiles services
    Integrated into ASP.NET authentication
    Scenarios
        Don’t want to maintain a database of users
        Provide personalized content
        Need to provide single-sign in capabilities
    More details at http://www.passport.com/


16
    What is this?
    Do not get confused with MTS and COM+ role-
     based security
    How does this work?
        With Microsoft® Windows® users
        With non-Windows users




17
   Call LogonUser API
    Call ImpersonateLoggedOnUser API
        Run the code in the security context of the
         impersonated user
    Call RevertToSelf




18
Yogesh kumar kushwah represent’s
   What is .net?
   Why use .net?
   What is the origin of .net Technologies?
   .Net is a collection of Microsoft Products:
    C#, ADO.NET, VB.NET, ASP.NET, J# etc.
   Platform Independent
   Multilanguage Support
   Multi Application Support
   User friendly
   Easy to develop and deploy
   Easy to Learn
   Reduce line of code
   Provide better security of application
Source Code
                                           PE File
                       Complier
                                              Assembly:
                      IL + Meta Data
                                              DLL/EXE
CLR
GC,CTS,CLS,CAS etc.                         RAM
                                            Manifest:-
                                            1. Assembly version
                         Precompiled JIT    2. Public token key
                                            3. Resources
      JIT                Economical JIT     4. References

                         Normal JIT
    Managed Code
DataSet



 Tables

                                        DataTable
    DataTable
                                         Rows
     Rows
                                          DataRow
      DataRow




                    DataRelation



                      Constraint



                ForeignKeyConstraint
                    http://adoguy.com
myConn.Open();
   myComm = New SqlCommand("Select * from
   csc", myConn);
   dr = myComm.ExecuteReader();
   }
Catch {}
if(dr.HasRows)
{
While( dr.Read)
{
   Response.Write(dr(0) & " ")
   Response.Write(dr(1) & " ")
   Response.Write(dr(2) & "<br>")
   }}
Add a Button control to the Web Forms page    .




    Protected Insert_Click( sender ss, EventArgs e)
{
    myConn = new SqlConnection(“server=.;Database=
     =cmcdb;user ID=sa;password=admin@123”);
     myConn.Open();

int sa = myComm.ExecuteNonQuery();
If(sa>=1)
{
    Response.Write("Records inserted" & " " & sa)
}
    myConn.Close()
Add a Button control to the Web Forms page
SqlConnection con;
SqlDataAdapter da;
SqlCommand cmd;

    Protected void Page_Load(sender ss, EventArgs e)
{
     con = new SqlConnection(“server=.;Database= =cmcdb;user
    ID=sa;password=admin@123 ");
     If( con.State = ConnectionState.Closed )
{
con.Open()
}
Protected Button1_Click(sender ss, EventArgs e)
{
      Try
        cmd = new SqlCommand("update               csc   set
  name='abirami' where rollno=906471", con)
int sa = cmd.ExecuteNonQuery()

if(sa>=1)
{
       Response.Write("Records Updated" & " " & sa)
       con.Close()
}}
     Catch{}
Protected void Delete_Click(Object ss, EventArgs ee)
Try
{
    myConn = new SqlConnection(“database=cmcdb;_
    server=.;integrated security=true")
    myConn.Open()
    myComm = new SqlCommand("Delete from csc where
    rollno=906489", myConn)
    int sa = myComm.ExecuteNonQuery()
    if(sa>=1)
{
Response.Write("Records deleted “ + sa)
}}
    Catch {}
   THANKS !

More Related Content

Yogesh kumar kushwah represent’s

  • 1. A project on gate pass system •Which shows many attributive properties
  • 3. It provides security.  It shows a  It includes many comparability with steps to show passing elements. security level.
  • 4. 1.Check 2.Show element status 3.Pass the element
  • 5. 3.5 Y-Values 3 2.5 2 1.5 1 Y-Values 0.5 0 0 1 2 3 4
  • 6. Requirment 1.Insert 2.Update 3.Delete 1.Hardware environment . 2. Software environment . data the the data from the existing from table. data in table. • Use table. • Use standard • Use standard data table. standard data table. • Use login data table • Use login data table. • Use login data table. data table.
  • 7. [A] Mysql [B]Visual basic 2010 Usable field 1.Technical areas. (a) Front end (b) Back end
  • 8. Defining AJAX  ASP.NET AJAX  Including ASP.NET AJAX  Script Manager  Update Panel  Client Networking - Web/Script Services  Extender Controls - Control Toolkit  Client Side JavaScript Development
  • 9. GMail – http://mail.google.com  Google Maps – http://maps.google.com  Outlook Web Access  PageFlakes - http://www.pageflakes.com/  Smart Scoreboard - http://www.smartscoreboard.com/
  • 10. Asynchronous  JavaScript  And  XML
  • 11. Initial Web Page Request (WebPage.aspx) Full Post Backs ` Client (Web Browser) Web Server
  • 12. Initial Web Page Request (WebPage.aspx) Async Requests Invisible To The User ` Client side script updates the content of Client (Web Browser) the page using the Web Server data returned from the async requests
  • 13. Enhance Existing Pages  Update Progress Bar  Timer Control
  • 14. The ScriptManager’s PageRequestManager steps in during PreRender() and replaces the Page’s Render() method with one that renders Update Panel content.
  • 15. 15
  • 16. Single sign-in across member sites  Includes user profiles services  Integrated into ASP.NET authentication  Scenarios  Don’t want to maintain a database of users  Provide personalized content  Need to provide single-sign in capabilities  More details at http://www.passport.com/ 16
  • 17. What is this?  Do not get confused with MTS and COM+ role- based security  How does this work?  With Microsoft® Windows® users  With non-Windows users 17
  • 18. Call LogonUser API  Call ImpersonateLoggedOnUser API  Run the code in the security context of the impersonated user  Call RevertToSelf 18
  • 20. What is .net?  Why use .net?  What is the origin of .net Technologies?
  • 21. .Net is a collection of Microsoft Products: C#, ADO.NET, VB.NET, ASP.NET, J# etc.
  • 22. Platform Independent  Multilanguage Support  Multi Application Support  User friendly  Easy to develop and deploy  Easy to Learn  Reduce line of code  Provide better security of application
  • 23. Source Code PE File Complier Assembly: IL + Meta Data DLL/EXE CLR GC,CTS,CLS,CAS etc. RAM Manifest:- 1. Assembly version Precompiled JIT 2. Public token key 3. Resources JIT Economical JIT 4. References Normal JIT Managed Code
  • 24. DataSet Tables DataTable DataTable Rows Rows DataRow DataRow DataRelation Constraint ForeignKeyConstraint http://adoguy.com
  • 25. myConn.Open(); myComm = New SqlCommand("Select * from csc", myConn); dr = myComm.ExecuteReader(); } Catch {} if(dr.HasRows) { While( dr.Read) { Response.Write(dr(0) & " ") Response.Write(dr(1) & " ") Response.Write(dr(2) & "<br>") }}
  • 26. Add a Button control to the Web Forms page . Protected Insert_Click( sender ss, EventArgs e) { myConn = new SqlConnection(“server=.;Database= =cmcdb;user ID=sa;password=admin@123”); myConn.Open(); int sa = myComm.ExecuteNonQuery(); If(sa>=1) { Response.Write("Records inserted" & " " & sa) } myConn.Close()
  • 27. Add a Button control to the Web Forms page SqlConnection con; SqlDataAdapter da; SqlCommand cmd; Protected void Page_Load(sender ss, EventArgs e) { con = new SqlConnection(“server=.;Database= =cmcdb;user ID=sa;password=admin@123 "); If( con.State = ConnectionState.Closed ) { con.Open() }
  • 28. Protected Button1_Click(sender ss, EventArgs e) { Try cmd = new SqlCommand("update csc set name='abirami' where rollno=906471", con) int sa = cmd.ExecuteNonQuery() if(sa>=1) { Response.Write("Records Updated" & " " & sa) con.Close() }} Catch{}
  • 29. Protected void Delete_Click(Object ss, EventArgs ee) Try { myConn = new SqlConnection(“database=cmcdb;_ server=.;integrated security=true") myConn.Open() myComm = new SqlCommand("Delete from csc where rollno=906489", myConn) int sa = myComm.ExecuteNonQuery() if(sa>=1) { Response.Write("Records deleted “ + sa) }} Catch {}
  • 30. THANKS !

Editor's Notes

  • #5: Demo of comparability steps
  • #6: 3-D view of different size elements
  • #7: Table for insert,update &amp; delete.