VB.NET method for dropdownlist binding.....................
Public Shared Sub combofill(ByVal cmm As SqlCommand, ByVal dropdown As DropDownList, ByVal valuefield As String, ByVal textfield As String) ...
VB.NET function for Stored Procedures..........................
Public Shared Function proc(ByVal prcname As String, ByVal prcnames() As String, ByVal prcvalues() As String) As String Dim...
Set Session using Jquery and Webservice.............................
<asp:ScriptManager ID="ScriptManager1" runat="server" ScriptMode="Release"> <Services> <asp:ServiceReference Path="~/DropdownWebService.asmx" />...
Numeric and null validation......................
<asp:TextBox runat="server" ID="txtPopCount" Width="140Px" Text=""> </asp:TextBox> ...
Jquery Mask Editor.................
<script type="text/javascript" language="javascript"> Sys.Application.add_load(function () { $("#date").mask("99/99/9999"); ...
Price format string in Gridview.................................
<asp:BoundField DataField="retail_total" DataFormatString="{0:C}" HeaderText="Total Price" SortExpression="retail_total"> ...
Decimal point format string in Gridview............................
<asp:BoundField DataField="quantity" DataFormatString="{0:#,###}" HeaderText="Quantity" SortExpression="quantity"> ...
Date format string in Gridview.............................
<asp:BoundField DataField="releasedate" HeaderText="Release Date" SortExpression="releasedate" DataFormatString="{0:M/dd/yyyy}"> ...
Down Load Files in Gridview using VB.NET................................................
<asp:GridView runat="server" ID="gridloadingdownload" Width="99%" DataKeyNames="attachdoc_id" ShowHeaderWhenEmpty="true" AutoGenerateColumns="false" BorderColor="LightSkyBlue" ...
Down Load Files in Gridview using VB.NET................................................
<asp:GridView runat="server" ID="gridloadingdownload" Width="99%" DataKeyNames="attachdoc_id" ShowHeaderWhenEmpty="true" AutoGenerateColumns="false" BorderColor="LightSkyBlue" ...
Calender Extender for TextBox.......................
<asp:TextBox runat="server" ID="txtReleaseDate" Text="" Width="190Px" > ...
Comma appeared in textbox in Chrome browser Fixing by Jquery.........................
<script type="text/javascript"> function filterElements() { $("#<%=TabContainer1.ClientID %>").find("input[type=text]").each(function () { ...
Read Gmail Inbox using Gmail Feed in asp.net........................
GmailHandler.cs using System; using System.Data; using System.Xml; using System.Net; using System.IO; /* * this code made by Ahmed Essawy * AhmedEssawy@gmail.com *...
Connection String in Web.config........................
<connectionStrings> <add name="SurgereConnection" connectionString="Data Source=.;Initial Catalog=Surgere1;UID=sa;password=tiger123"/> </connectionStrings> ...
Function in SQL...................
USE [Surgere1] GO /****** Object: UserDefinedFunction [dbo].[checkclassid] Script Date: 04/27/2012 12:08:15 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER...
SQL Table-Valued Functions..........................
USE [Surgere1] GO /****** Object: UserDefinedFunction [dbo].[fnAssetTranactionList] Script Date: 04/27/2012 12:09:17 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER...
Bind Gridview using Jquery........................
DataStore.cs using System; using System.Data; public class DataStore { public DataStore() { // // TODO: Add constructor logic here ...
Export Gridview Data to Excel and Word Doc using c# and asp.net............................
Default.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" EnableEventValidation="false" %> <!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 id="Head1" runat="server">...
Image Tooltip using Jquery.................
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <title>jQuery Image Tool Tips Demo - Queness</title> <script type="text/javascript" src="js/jquery-1.4.1.min.js"></script>...
Image Tooltip in asp.net using Jquery............................
PhotoGallery.aspx <script type="text/javascript" src="js/jquery-1.4.1.min.js"></script> <script type="text/javascript"> // Load this script once the document is ready $(document).ready(function () {...