how to insert record in database with each date of month on single button click ?
- by Mr. Goo
I have two textbox .... textbox1 and textbox2
textbox1 == choose from date
textbox2 == choose to date
if user select from date in textbox1 as 01-May-2011 and in textbox2 as 30-May-2011
then all the dates from 01-MAy-2011 to 30-May-2011 will be inserted in each row of mssql2005 datatable...
example. . :
IN database Table1 structure ...
ID Date
1 01-MAy-2011
2 02-MAy-2011
3 03-MAy-2011
4 04-MAy-2011
5 05-MAy-2011
and so on till 30-May-2011