Thursday, September 10, 2009

How to write code : for every button click, should add the Date data (taking from textbox1) into "Sample" Table which as Date field


C#:In my application program, i have textbox named "Curdate" with my prefferred format. when i click a button1, the data (from the "Curdate" textbox) is add into the "CDate" field of the Table "DateTb".
if the table have not existed, then it should be create a table "DateTb" along with a field "CDate" and add the data (as row-by row)

Note: This the same process for i need to use the ExcelSheet, Ms-Access, SQLsever2005.

No comments:

Post a Comment

Followers