Posts

Showing posts from March, 2011

ASP.NET AJAX SlideShow Extender

Image
I have created an ASP.NET 3.5 website. Drag and drop the SlideShow Extender from the AJAX Control Toolkit on to the page. Create a folder called ‘images’ in your project and add some images to them. After setting a few properties on the SlideShow, the markup would look similar to the following. <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="Default.aspx.cs" Inherits ="_Default" %> <% @ Register Assembly ="AjaxControlToolkit" Namespace ="AjaxControlToolkit" TagPrefix ="cc1" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns ="http://www.w3.org/1999/xhtml"> < head runat ="server">     < title ></ title >     < style type ="text/css">     body     {       margin : 50px...

insert the data in database using gridview jquery

//GridViewDelete.aspx < script src = "Script/jquery-1.4.min.js" type = "text/javascript" ></ script >     < script type = "text/javascript" >  $ ( document ). ready ( function () {             $ ( "#.addbutton" ). click ( function () {                 //checkValidate();                 var tbUserID = $ ( '#tbUserID' ). val ();                 var tbUserName = $ ( '#tbUserName' ). val ();                 var tbFirstName = $ ( '#tbFirstName' ). val ();                 var tbMiddleName = $ ( '#tbMiddleName' ). val ();                 var tbLastName = $ ( '#tbLastName' ). val ();                 var tbEmailID = $ ( '#tbEmailI...