Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: import vs using

  1. #1
    New Coder
    Join Date
    Dec 2005
    Location
    agra
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    import vs using

    sir

    what is the difference b/w using and import ?

    example

    using System.Data;

    <%@ Import Namespace="System.Data" %>

    if there are some diff. then where we are using one and another.

  • #2
    New Coder
    Join Date
    Oct 2005
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts
    there is no difference b/w using and import

    If u are using C#.net
    with codebehind*(.aspx.cs)
    then to use any class in application
    using System.Data;
    and for design source page (.aspx)
    <%@ Import Namespace="System.Data" %>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •