hello, can somebody please help me. I need to create a clear button to delete all the data from my form. I don't know how to do this. can some body give an idea how to do this, I am using vb.net 2003.

I am not sure if I understand you well :S
do you want to clear the textbox from data when user click some button ?
you do like this

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        TextBox1.Text = ""

and that for all ur textboxes

Thanks.

code to save data to access database

OMG... i am using vb.net in the datagridview
if i save a new data and i close it,
the data i encode in the datagridview it's not permanently save in the database....
please help me... tnx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.