2
Answers

how to insert a row into database

vinnu

vinnu

13y
2.6k
1

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)