Article archive

PopUp Style

25/10/2012 14:48
  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_form.aspx.cs" Inherits="Cflow.login_form" %>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...

how to List of Dates by given month and date

19/10/2012 18:04
    --SELECT dbo.Fn_HowManyDays_Month('February','2012') AS [Days]   ALTER FUNCTION dbo.Fn_HowManyDays_Month ( @Month VARCHAR(15), @Year VARCHAR(10) )  RETURNS INT   AS BEGIN   DECLARE @Date VARCHAR(50), @Days TINYINT   SELECT...

how to get count of given date name in that month

19/10/2012 18:02
    --SELECT dbo.Fn_HowManyDays_Month('February','2012') AS [Days]   ALTER FUNCTION dbo.Fn_HowManyDays_Month ( @Month VARCHAR(15), @Year VARCHAR(10) )  RETURNS INT   AS BEGIN   DECLARE @Date...

How to find total no of days count in given month

19/10/2012 18:01
    --SELECT dbo.Fn_HowManyDays_Month('February','2012') AS [Days]   ALTER FUNCTION dbo.Fn_HowManyDays_Month ( @Month VARCHAR(15), @Year VARCHAR(10) )  RETURNS INT   AS BEGIN   DECLARE @Date VARCHAR(50), @Days TINYINT   SELECT...

Excel export from grid view

20/08/2012 18:27
  if (GridView2.Rows.Count + 1 < 65536)             {                 GridView2.AllowPaging = false;                 GridView2.DataBind();        ...

Shift Select Check box inside the gridview

19/07/2012 09:30
<div>         <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">            ...

maintain scroll in div or panel

09/07/2012 18:06
  <form id="form1" runat="server">  <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" ScriptMode="Release">     </asp:ToolkitScriptManager>    <script type="text/javascript">       // It is important...

maintain scroll bar in div or panel

09/07/2012 18:04
  <form id="form1" runat="server">  <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" ScriptMode="Release">     </asp:ToolkitScriptManager>    <script type="text/javascript">       // It is important...

Convert Money to Text

11/06/2012 18:18
  using System; using System.Collections.Generic; using System.Linq; using System.Web;   namespace Cflow {     public class moneytextconvertion     {           public string retWord(int number)      ...

Smtp Setting in Web.Config file for sending email

22/05/2012 14:58
<system.net>     <mailSettings>       <smtp deliveryMethod="Network" from="username@gmail.com">         <network defaultCredentials="false" host="smtp.gmail.com" port="587" userName=username" password="xxxxxxxxxxxx" />  ...
Items: 1 - 10 of 107
1 | 2 | 3 | 4 | 5 >>