Hi,
Im working on small application .Im facing issue with custom calender inserting date in database table.
application look like
test dropdown
text dropdown
startdate customcalender1(textbox with imagebuton)
enddate customcalender2(textbox with imagebuton)
if user enters both dates then it saves in datbase other wise if he enters startdate only then it shows error in Error converting data type nvarchar to datetime.
below is the code
public void InsertData()
{
string Connection = System.Configuration.ConfigurationManager.ConnectionStrings["Conn"].ConnectionString;
SqlConnection cn = new SqlConnection(Connection);
cn.Open();
string proc = "sp_schedule";
SqlCommand sqlCmd11 = new SqlCommand();
...
Go to the complete details ...