Developer's point
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

Friday, 7 February 2014

How to Apply Security to Admin Folder in a website using Admin Login

 Davinder Singh     February 07, 2014     ASP .Net with C#     No comments   


In this article, I m going to explain how to Apply Security to Admin Folder in Website by using the default Asp .Net Security in Visual Studio.

There are few steps, you have to follow the below given steps :-

Step 1. Create a Login Form by using the in-built Login Control from the Toolbox. the Login Page looks                                  like as follows :-



Step 2. Now, Right-Click on the Admin Folder that Resides in the Website Root Directory, Shown as below:-



By Adding,Default Login Control, It will Automatically Create a database that stores the Information regarding Access Rules, User's, Roles, Administration  information etc. It is shown as:-  




Step 3. Now, Click on the Website tab From the Menu Bar, and Choose ASP.Net Configuration Option from it. It will open a  ASP.Net Website Administration Tool Wizard that helps you to apply Security, Create User's, Add Roles, and Access Rules etc.which is shown as:-    


Step 4. Now, Click on Security link button shown in the above Page. It will Opens a new Page as :-


Step 5. Now, Click on Select Authentication type Option.

                
Step 6. After Selecting From the internet Radio Button, and then Click on  Done Button.

Step7. Now, Click on Enable Roles option shown in the page as follows:- 


Step8. Now, Click on Manage and Create Roles option. It allows you to add a new Role. Add A new Role "Admin_1" :-


   The New Role Admin_1 has been Created and is shown as below:-


    Now, Click on Back Button.

Step 9. Now, The Next Step is to Create User. To Create New User Click on the Create User Option.
          
  
    It will Redirect You to the Create new User Page, which is shown as below:-


After Entering the information, Click on the Create user Button. It will Create a new user Successfully, if the information entered by you is right.

Step10. Now, Create Access Rules by clicking on Create Access Rules Option as shown below :-  


    By Clicking on this option, it will opens a New page, which helps you to create access rules as follows :- 

Step11. Now, Set the Access Rules for Website as well as Admin Folder.

    Set the Website Rules as follows:- 


Set the Admin Folder Rules as follows:- 


Step 12. Now,Open the Properties Window of  Login Control and Set the Designation Page URL to                         Admin\Welcome.aspx.
  

Now,  Set the Welcome page to Set As Start Page that resides in the Admin Folder, and Run it.   
        

You will see that the Login Page is Opened, prompting for UserName and Password. if you are Valid user than you can be redirected to the Admin\Welcome.aspx as shown below:-

Otherwise, Login attempt is Wrong Error message is Displayed.   


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Wednesday, 5 February 2014

How to Display Images from SQL Server Database in ASP .Net Grid View Control

 Davinder Singh     February 05, 2014     ASP .Net with C#     No comments   


Hello Friends,
                      In this article, I m going to explain how to store images and pictures on disk and their path in Databases with the help of File Upload Control and Also how to Display those Images in Asp.net Grid View Control. The Basic Concept behind This Technique is To Store the Image in a folder that resides in the WebSite Root Directory While the relative path of the images along with the file name is stored in SQL Server Database.

Their are few steps as given below:-


Step 1. First of all Create a database table that will store the image path. the figure below describes the structure of the table:- 


Step2.  Now I’ll add the File upload Control and Button to the .aspx page:-


Step3. Now Create the Images folder to the Website root Directory as follows... 


Step 4. Now Create a Connection String as:-


Step 5. Uploading and storing the image Files:-
                                                                         The Snippet below gets executed when the Upload Button is Clicked. It gets the uploaded image FileName and saves the image in images folder. And then inserts the Image FilePath into the Database. 



 C#


     The data is stored in the Database Table.

Step 6.  Display images in Grid view:-
                                                              Now, The next job is to display the images in Grid View Control . As you can see the below Grid View , I have added 2 bound fields which displays ID and File Name And a Image Field Displays the image based on the image path that comes from the database.


Step 7. The Snippet Given below is used to Display the images in the Grid view Control. As you will notice I m firing a simple select command and the returned datable is then bind to the GridView Control.

C#


The Grid View with images Is Shown as Below:-





Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Internet Download Manager (Activated)

 Davinder Singh     February 05, 2014     Free Software     No comments   


                                                              Download Now :-

            Click To Download

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Monday, 3 February 2014

Team Viewer 8.0.20202

 Davinder Singh     February 03, 2014     Free Software     No comments   


Team Viewer is Ready to use, right after Downloading! Download, Execute, and get Started! 

Download:


Click Here To Download
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

To Check The Windows Activation

 Davinder Singh     February 03, 2014     Computer Tricks     No comments   

In this Post I'm going to explain, How to Check the Activation of window. i.e. Activated permanently or Temporary Basis. To do this, you have to follow the few step given below .

Step 1. Open the "Command Prompt" from Start menu.

           In Windows XP:  Goto Start menu > Open Run > Type cmd > Press enter.
           
           In Windows 7 and 8:  Goto start > Type cmd > Press enter.



Step 2.  Now enter the following command in the command prompt as:-
          
          slmgr/xpr
          
          Now,   wait for a second. . .

          Now,  A dialog box will appear which will tell you the status of your windows activation.


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Home

Categories

  • ASP .Net with C# (2)
  • Computer Tricks (3)
  • Free Software (5)
  • IGNOU Solved Assignments (4)

Popular Posts

  • How to Apply Security to Admin Folder in a website using Admin Login
    In this article, I m going to explain how to Apply Security to Admin Folder in Website by using the default Asp .Net Security in Visual S...
  • (no title)
    How to Transfer files Wirelesssly between Your Android Phone and PC AirDroid   is one such popular and feature packed free   android ap...
  • Team Viewer 8.0.20202
    Team Viewer is Ready to use, right after Downloading! Download, Execute, and get Started!   Download: Click Here To Do...

Recent Posts

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • ▼  2014 (14)
    • ►  October (1)
    • ►  September (3)
    • ►  August (4)
    • ►  March (1)
    • ▼  February (5)
      • How to Apply Security to Admin Folder in a website...
      • How to Display Images from SQL Server Database in ...
      • Internet Download Manager (Activated)
      • Team Viewer 8.0.20202
      • To Check The Windows Activation

Search This Blog

About Me

Davinder Singh
View my complete profile
Powered By Blogger
Powered by Blogger.

How to Transfer files Wirelesssly between Your Android Phone and PC AirDroid   is one such popular and feature packed free   android ap...

About Me

Davinder Singh
View my complete profile

Sample Text

Copyright © Developer's point | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates