In this article I have done a log in function with 2-Step verification as like we see in Google or in Facebook. To send a message I have used Site2SMS API from ASPSnippet.com. You can any others to do the SMS functionality.
First create a database named DBTest and create a table named tblUser.
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: Consolas, "Courier New",...
Friday, June 20, 2014
Monday, June 16, 2014
How to add a FB Like box in your ASP.NET project

Here in this article I will show you how to add a Facebook like box in your asp.net project. All you need a Facebook page and a ASP project.
First create a Facebook page and go to bellow line.
https://developers.facebook.com/docs/plugins/like-box-for-pages/
In the Facebook page URL place the...
Sunday, June 15, 2014
Generate auto id as column id in a repeater in ASP.NET C#
In this example I will show how to add a auto id number as the column no of a repeater.
Lets take a repeater and bind it with a SQLDataSource or by coding. Now add a column to show the index no of the repeater as per your design.
As my design this is the repeater.
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: Consolas, "Courier New", Courier, Monospace;
background-color:...
Tuesday, June 10, 2014
How to send mail from GoDaddy server in ASP.NET C#

I found some errors in sending mail from a GoDaddy server, and after searching a lot I found the correct solution to send mail.
First add these namespaces in your project
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: Consolas, "Courier New", Courier, Monospace;
...
Saturday, June 7, 2014
How to create a new GUID in C#
In this small tutorial I will show you how to create a GUID in your ASP.NET application.
But what is actually GUID is?
According to Wikipedia
A Globally Unique Identifier (GUID) is a unique reference number used as an identifier in computer software. The term GUID typically refers to various implementations of the universally unique identifier (UUID) standard.
There are two ways to create a new...
Wednesday, June 4, 2014
Add Master page dynamically in your ASP.NET project C#
Here in this tutorial I will show you how to bind a page with a master page dynamically in your ASP.NET project with C#.
First of all create a new project. Then add two new master pages and one web page which will be inheriting any one of those created master page.
Now in the page PreInit event of the web page write the following code.
.csharpcode, .csharpcode pre
{
font-size: small;
color:...
Subscribe to:
Posts (Atom)