Hi i'm stucked in here
i'm using ajax date picker for my contact page please
tell me how to upload date picker value in sql server
$(function () {
$("#datepicker").datepicker({
showOn: "button",
buttonImage: "images/calendar.gif",
buttonImageOnly: true
});
});
aspx.cs file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
public partial class Mani : System.Web.UI.Page
{
public string sqlconnectionstring = ConfigurationManager.ConnectionStrings["AJAXConnectionString"].ConnectionString;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection(sqlconnectionstring);
conn.Open();
}
}
please help me in this


Sunny SharmaRank #223 · 11.1K reputationPosted Oct 8, 2013, 11:24 PM EDT
You need a method to do it using Ajax. Refer to this post and you'll learn how to do it:
http://trentgardner.net/net/asp-net-webmethods-with-jquery-and-ajax/
Happy Learning :)
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Oct 8, 2013, 11:35 PM EDT
try this:
here i am assign the date to textbox.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default7.aspx.cs" Inherits="Default7" %>
Maniteja VegiRank #957 · 2.1K reputationPosted Oct 10, 2013, 12:55 AM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Oct 10, 2013, 1:37 AM EDT