Question Question: data in textbox which connect to database

Iswan

Member
Joined
Aug 9, 2011
Messages
8
Programming Experience
Beginner
Hai , currently i am create windows application form for staff registration for my assignment, this form is contain textbox which are connected to database.Every time i run this form ,i can see data in the textbox ,which is from column in my table database. My question is how i can make the textbox is blank and did not show the data every time i run my staff registration form.I dont want that data which i save in database is been seen because this form is use to add new data in database. i am using visual studio 2005 and sql 2005.
 

Attachments

  • admin.JPG
    admin.JPG
    47.1 KB · Views: 30
if you mean Clear the data in the Textbox once your data has been entred then you could just do

Textbox1.Clear()

or

Textbox1.text = ""

you would need to do this for each textbox present or make a nice routine :)
 

Latest posts

Back
Top