Saturday, February 26, 2011

Client Side validations using JavaScript in ASP net Web Applications



Hi friends In this article I would like to explain the client side validations for our web applications. We have already predefined server side validations but its better to use client side validations to decrease the burden on server. So Lets have a look about the client side validations for all the controls. Here I am going to explain client side validations in two ways


Read more »

Labels: , , , ,

Various ways of authentication techniques in ASP.NET

Hi friend ,In this article I would like share some important points about various ways of authetication techniques
Selecting an authentication provider is as simple as making an entry in the webconfig  file for the application.we can use of these entries to select the corresponding bulit in authetication provider

Read more »

Labels: , , , , , ,

How to create a LOGOUT Page using Sessions

Hi Friends I am already explained in my previous post how to create Login Page in asp net Click Here.
Now i am going to explain you how to create a Logout Page

Read more »

Labels: , , , , , ,

Validations for dynamic controls in asp net with C#

Hi Friends I am already explained in my previous post how to create a Dynamic Controls in asp net (Click Here).
Now i am going to explain you how to kept validations for dynamic controls
First open the Microsoft visual studio 2008
Read more »

Labels: , , , ,

Wednesday, February 23, 2011

How to Display data in Tooltip in Gridview using JQUERY

Hi friends,In this Article i would like to explain how to Show tooltip in gridview using Jquery.Sometimes its necessary to display more content in the gridview.Instead of display
Read more »

Labels: , , , , , ,

Monday, February 21, 2011

How to add ajax toolkit in Aspnet ToolBox

Hi friends,In this article i am going to explain you how to add a Ajax Toolkit in
 Aspnet ToolBox.
 Fisrt,we have to download the Ajax toolkit
 Click here to download Click Here

Read more »

Labels: , , ,

Tuesday, February 15, 2011

How to transfer values from one page to another page using Sessions

Hi friends,By using Sesions we can store the values and we can transfer the values from page to another page.

In this i would like to explain how to transfer registration form details from one page to another page.

Read more »

Labels: , , , , ,

Friday, February 11, 2011

How to Automatically Redirects to LoginPage when Session Timeout

Hi friends,We already know sessions plays a very important role in the WebApplications.In this i would like to explain how to Redirect the page when sessions timeout.

Read more »

Labels: , , , , ,

How to send a email with multiple attachments using Aspnet

Hi friends In this article i would like to explain how to send a email with multiple attachments
First,Open the Microsoft Visual Studio 2008
Next,Select a Aspnet web application and change the name as SendingEmail
Read more »

Labels: , , , , ,

Thursday, February 10, 2011

How to open Different pages in single hyper link

Hi Friends.just try this below code for..How to open the different pages in one hyper link

First,write the onclick event in the hyper link

Read more »

Labels: , , , , ,

How to display data in gridview using WCF

Here , simple way to display the users list in gridview using WCF
For this  you have to create a database with Users table which contains4 fields that is, Username,fullname,desgination,company
Read more »

Labels: , , ,

Wednesday, February 9, 2011

How to set check availability button in registration form using aspnet

First,open the visual studio 2008

Next,select one Asp Web Application and click ok

Next download one Gif image for to show loading

Next,Open the design page of Default.aspx

Read more »

Labels: , , , ,

How to edit,update,delete and cancel in gridview using Aspnet

Hi friends.. In this article i would like to explain how to apply CRUD(Create,Edit,Delete,Update)
Operations for GridView.Where this Operations will be held inside the gridview(this is one method)
we have another method also (Click here to know the procedure).So Lets the Procedure

Read more »

Labels: , , , ,

Monday, February 7, 2011

sample program in wcf for Beginners

Hi, In this article i would like to explain a WCF sample program.we already know WCF Means Windows communication Foundation.where WCF services is not but advanced Web services.Now i am going to explain wcf  sample application..just the follow the steps..after that we will discuss breifly.


First, open the Microsoft visual studio 2008 and select a WCF Service

Application and change the name as NewWcf and click OK Button

Next,open the service.svc.cs file add the following code

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace NewWCF
{
    // NOTE: If you change the class name as "ownservice" here, you must

also update the reference to "ownservice" in Web.config.
    public class ownservice : Iownservice
    {
        public void DoWork()
        {
        }
        public string values(string value)
        {
            return "hello"+value;
        }
        public int Add(int x, int y)
        {
            return x + y;
        }
    }
}

Next,Save and Run the project and copy the url in the address bar of the

browser

Next,open the new web application and Right click on the project in the solution explorer and add service Reference

Next,Paste the url which you copied before in the address bar and press ok

Next,Open the Default.aspx page and drag and drop one button from the toolbox

Next,Double click on the button and add the following button
protected void Button1_Click(object sender, EventArgs e)
        {

            ServiceReference1.IownserviceClient sec = new testwcf.ServiceReference1.IownserviceClient();
            sec.Open();
            Response.Write(sec.values("jodha"));
            Response.Write(sec.Add(3, 3));
            sec.Close();
        }
Finally..Run the program .....That's it
developercode
About the Author
Sayyad is a Software Engineer, Blogger and Founder of Developers Code from India.His articles mainly focus on .Net (Web and Windows based applications), Mobile Technologies (Android,IPhone,BlackBerry) and SEO.

Labels: , , , , ,

Sunday, February 6, 2011

How to create a login page in Aspnet with sqlserver





In this article i would like to explain the procedure of creating login page using asp.net and c# with sqlserver .Three main tasks we need to do here.That is Database creation, Login Form Designing and implementing corresponding functionality.So lets start the procedure

Read more »

Labels: , , , , , , ,

Thursday, February 3, 2011

How to create a ToopTip in gridview

Its very simple to create a tooltip in GridView

First,open the Default.aspx source page where we insert the gridview

Next,Just copy the following code from which you would like to display the tooltip

Read more »

Labels: , , , , , ,

How to create a Footer in Gridview to display Total salaries

Hi Friends,In this article i would like to explain how to create a footer in gridview for display total salaries

First,open the Default.aspx source page where we insert the gridview

Read more »

Labels: , , , , ,

How to create a Dynamic Registration Form in Aspnet

Hi friends,In this Article i would like to Explain how to create dynamic Registration form using Aspnet

First,Open the Microsoft visual studio 2008

Next,Select one New Asp.Net Web application

Next,Open the Design Default.aspx page

Next,Drag and Drop one DropDown list and button from the Tool box.

Next,Add one new item( i.e., New Registration Page) for the Drop down list.

Procedure for adding items : Right click on the DropDown List and select properties and select items and add NewRegistration in Text Field.Thats it
Read more »

Labels: , , , , ,

how to store data in sqlserver from dynamically created controls

Hi,In my previous article i am already explained how to create a dynamic controls Now i would like to explain how to store the data in sqlserver from this dynamic controls and how to kept validations for this dynamic controls..

First,Open the MIcrosoft visual studio 2008

Read more »

Labels: , , , , ,