Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Simple login form example in asp.net Check Username and Password availability in database

Dec 8, 2011 131 comments
Introduction

In this post I will explain how to implement simple login form using asp.net and I will explain how to Check Username and Password Exists in database using asp.net .

Description: 

One day I got mail from one of the reader he has asked about how to implement simple login form to check username and password details of user in database. If user details exist in database then we need to redirect user to welcome page otherwise we need to display “Invalid Username/Password”. Mostly it’s common for all the websites before access the website. I know that many of them feel it’s very easy but for the people who have started learning .NET they don’t know how to implement this because of that I decided to write post to help for the persons who is in need with this requirement. 

A potentially dangerous Request.Form value was detected from the client in asp.net

Dec 4, 2011 37 comments
Introduction:

In this post I will explain how to solve the problem “A potentially dangerous Request.Form value was detected from the client in ASP.NET WebForms” using asp.net.

Description: 

In previous post I explained clearly about Rich textbox sample in asp.net . After completion code if I try to insert some html formatted data in database using rich textbox I got error like “A potentially dangerous Request.Form value was detected from the client in ASP.NET WebForms

Search Records In GridView And Highlight Results Using ASP.NET | how to highlight search results in gridview using asp.net

Dec 3, 2011 72 comments
Introduction:

In this article I will explain how to search records in gridview and highlight search keywords in gridview using asp.net.


Description:

In Previous post I explained clearly about how to filter gridview records with dropdownlist selection. Now I will explain how to implement search functionality for gridview and highlight search keywords in gridview using asp.net. 

SQL Server Error - Saving Changes in not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created

Dec 1, 2011 7 comments
Introduction

Here I will explain how to enable prevent saving changes in sql server or to solve the problem of “Saving Changes in not permitted. The changes you have made require the following tables to be dropped and re-created.etc” in SQL Server.

Description

I have installed SQL Server 2008 in my laptop after successfully installed I opened SQL Server Management studio and created new table like this 

how to set default home page in IE and Mozilla using JavaScript in asp.net

2 comments
Introduction

Here I will explain how to set default home page in browser using JavaScript in asp.net.

Description

In many major websites we will see link like “Set as a home page” if we click on that home page link that will automatically change our browser default home page url to their particular page url. In IE browser we can easily set home page just by simple code but Mozilla we don’t have a chance to set home directly because of security concerns. If we want to set the home page in Mozilla first we need to set signed.applets.codebase_principal_support to true then run the below code to set home page initially that is in false mode. 

Add Bookmark link to website using javascript | Add to Favorites (IE) / Bookmark (Firefox) using Javascript

7 comments
Introduction

Here I will explain how to add bookmark link to our website using JavaScript in asp.net.

Description

In many websites we will see link like “Bookmark this Site” if we click on that bookmark link that will prompts the user with dialog box to add that specified link in favorites list. If we want to add that type functionality to our website we can write in different ways. Here I will explain in two different ways to add Bookmark functionality

Disable browser back button functionality using JavaScript in asp.net | ASP.Net disable browser back button (using javascript)

Nov 30, 2011 48 comments
Introduction

Here I will explain how to disable browser back button functionality using JavaScript in asp.net.

Description

One day I got requirement like disable browser back button to prevent users going back to previous page using back button of the browser. I search many sites for proper code to prevent users navigating back to previous page but there is no use because some of them work in IE but not in Mozilla and some of them will work in Mozilla but not in IE.

Read or Write connection strings in web.config file using asp.net

Nov 27, 2011 25 comments
Introduction:

In this article I will explain how to read or write connection strings in web.config file using asp.net.


Description:

In Previous article I explained clearly about Encrypt or Decrypt connection strings in web.config file using asp.net. Now I will explain how to write connection strings in web.config file and how to read connection strings from web.config file using asp.net. 

Asp.net- Encrypt and Decrypt connection strings in web.config file

12 comments
Introduction:

In this article I will explain how to encrypt or decrypt connectionStrings in web.config file using asp.net.


Description:

In Previous posts I explained lot of articles regarding
Asp.net, Gridview, SQL Server, Ajax, JavaScript etc. In many of articles I used connectionStrings section in web.config file to store database connection. The connectionStrings section contains sensitive information of database connections including username and password of database. Is it secured to store the sensitive information of database connections in plain text files called web.config and machine.config files? 

how to install Ajax Control Toolkit in Visual Studio | What is AJAX| uses of ajax in asp.net

Nov 23, 2011 23 comments
Introduction:

In this article I will explain how to install Ajax Control Toolkit in visual studio and uses of Ajax controls in asp.net.

Description:

First of all what is Ajax why we go for that one? Is there any specific reasons to use that in our applications?
© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.