how to insert record in database with each date of month on single button click ?
Posted
by
Mr. Goo
on Stack Overflow
See other posts from Stack Overflow
or by Mr. Goo
Published on 2011-03-13T08:08:39Z
Indexed on
2011/03/13
8:09 UTC
Read the original article
Hit count: 273
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
© Stack Overflow or respective owner