vinnu

vinnu

  • NA
  • 61
  • 202.2k

how to insert a row into database

Feb 18 2011 7:41 AM

hi...

i've one table called thoughts
in that i've two fields
date and thoughts

now in front end that is in .aspx page C# code
there's one textbox and one submit button.
when i enter text into textbox it should save
in thought table with the date..
the date should be in increment order..

i.e if i enter the data  one time  today then today's date.
if i enter the date two times tommorrows date
if i enter the date three times day after tommorrow's date..

actually i want to enter the thoughts for one year that is
365 thoughts and i want to retrive the thought by date..

Please help me..


Answers (2)