|
-
Mar 27th, 2004, 11:22 AM
#1
Thread Starter
Member
Update Database
I am trying to create a feature to update a database. I have already used the INSERT data method to generate the code, but I am having trouble assigning code to a command button to update the database with a record using information supplied in text boxes. I currently have:
Sub cmdAddRecord_Click(sender As Object, e As EventArgs)
addRecord(txtAddDiscID.Text, txtAddArtist.Text, txtAddLabel.Text, txtAddRelease.Text, txtAddURL.Text)
MXdatagrid1.datasource=showdata
MXdatagrid1.databind
End Sub
in runtime it says that showdata is not defined. Can anybody tell me what showdata is referring to?
Many thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|