DOC3
DOC3
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Configuration;
namespace IndianHoliday
{
/// <summary>
/// Summary description for Ashwani.
/// </summary>
public class Ashwani : System.Web.UI.Page
{
string str1;
private void Page_Load(object sender, System.EventArgs e)
{
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
#region global veriable
SqlConnection cn = new
SqlConnection(ConfigurationSettings.AppSettings["Con"]);
SqlCommand cmd = new SqlCommand();
SqlDataAdapter da = new SqlDataAdapter();
protected System.Web.UI.WebControls.TextBox TextBox1;
DataSet ds = new DataSet();
#endregion