jQuery Tutorial Part 1

Post Thumbnail of jQuery Tutorial Part 1
 JQuery       

This article contains visual tutorials intended for web designers and newbies on how to apply Javascript effects with jQuery.
In case you don’t know about jQuery, it is a “write less, do more” Javascript library.
How jQuery works?
First you need to download a copy of jQuery and insert it in your html …

18 June 2013  3 comments

jQuery Tutorial Part 2

Post Thumbnail of jQuery Tutorial Part 2
 ASP.Net,Classic ASP,JQuery       

Simple disappearing effect
This sample will show you how to make something disappear when an image button is clicked.(view demo)

When the X is clicked, it will find its parent element and animate its opacity=hide with slow speed.

$(document).ready(function(){
$(".pane .delete").click(function(){ $(this).parents(".pane").animate({ opacity: "hide" }, "slow");
});
});

17 June 2013  No comments

Search, Sort in gridview using C#.Net, Ajax and jQuery

Post Thumbnail of Search, Sort in gridview using C#.Net, Ajax and jQuery
 ASP.Net,JQuery       

In this article, I will show you how to search in Gridview by using SqlDataSource’s FilterParameters and Sort by using jQuery tablesorter plugin.

Step:1 Create Searchbox and Gridview
Create asp:textbox called txtSearch to search data.
then create a simple Gridview called Gridview1 with TemplateFields for the fields that you would like to …

15 June 2013  36 comments

IF THEN in SQL SELECT Statement

Post Thumbnail of IF THEN in SQL SELECT Statement
 JQuery       

I recently came across the CASE WHEN statement work Similar to IF statement into SQL SELECT , Maybe you’ll find it useful.

Create table called Student using SQL Query:

CREATE TABLE [dbo].[Student](
[StudentID] [int] NULL,
[Marks] [float] NULL
)

Insert some data into student:

INSERT INTO [Student] ([StudentID],[Marks]) VALUES (1,30)
INSERT INTO [Student] ([StudentID],[Marks]) VALUES (1,65)
INSERT INTO [Student] …

3 May 2013  1 comment

Nested GridView in Show/Hide effect using C#.Net

Post Thumbnail of Nested GridView in Show/Hide effect using C#.Net
 ASP.Net,JQuery       

This article explains how to make an ASP.NET nested GridView. There may be many ways to do this, but here is my code.

Your browser does not support iframes.

First, put gridview1 into asp design page then put another gridview2 inside previous gridview.
Here is code file

<form id="form1" runat="server">
<asp:GridView ID="GridView1"
runat="server"
DataKeyNames="CustomerID" AutoGenerateColumns="false"
OnRowDataBound="gv_RowDataBound" Width="80%"
AllowPaging="True" PageSize="20" …

3 May 2013  24 comments

jQuery Cookie Example

Post Thumbnail of jQuery Cookie Example
 ASP.Net,Classic ASP,JQuery       

In this article I will show you how to set, Get, delete and edit cookie with jQuery.
First of all we need jQuery library (jquery-1.3.2.min.js) or any latest version and jQuery Cookie plugin (jquery.cookie.js) which you can download from here
Set Cookie

?View Code HTML$.cookie("test", 1);

Get value of Cookie

?View Code HTML$.cookie(‘test’)

delete Cookie:

?View Code …

3 May 2013  2 comments

Alert(“Message”) box in Asp.Net Codebehind and Call java fuction from codebehind

Post Thumbnail of Alert("Message") box in Asp.Net Codebehind and Call java fuction from codebehind
 ASP.Net,JQuery       

In highly interactive websites and intranet sites, you probably want to let the users know what’s going on when they delete, save, export etc. on the site. Those kinds of status messages are widely used and are often implemented by a JavaScript alert box on the web page. You can …

3 May 2013  5 comments

Display Notification Messages using jQuery

Post Thumbnail of Display Notification Messages using jQuery
 ASP.Net,Classic ASP,JQuery       

In this article, I am going to show you how to display notification messages in Webpage. Toastmessage-plugin is a JQuery plugin which provides android-like notification messages. The toasted messages arriving on the screen in a seamless and natural way. It’s a quite nice way to report info or error or …

3 May 2013  16 comments

How to Convert rows into columns using Pivot in SQL Server(Query)

Post Thumbnail of How to Convert rows into columns using Pivot in SQL Server(Query)
 SQL Server       

I recently came across the following usefull SQL query, Maybe you’ll find it useful.
In Sql, Pivoting can convert rows to columns. We will see these features in details in this post.
For example, we are considering a table named Ashish.

want to perform a sql query to return results like this:

Originally posted …

3 May 2013  1 comment

Sql Server 2008 Introduction to Merge statement

Post Thumbnail of Sql Server 2008 Introduction to Merge statement
 SQL Server       

Merge – One Statement for INSERT, UPDATE, DELETE
One of the most important advantage of MERGE statement is all the data is read and processed only once. In previous versions three different statement has to be written to process three different activity (INSERT, UPDATE or DELETE), however using MERGE statement all …

3 May 2013  No comments
 Page 1 of 5  1  2  3  4  5 »
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone