
- Forum
- Programming Talk
- Microsoft .NET
- coding doubt
coding doubt
This is a discussion on coding doubt within the Microsoft .NET forums, part of the Programming Talk category; my form cotains 4 text boxes and a field namely gender with 2 radio buttons. the problem is if i ...
-
coding doubt
my form cotains 4 text boxes and a field namely gender with 2 radio buttons.
the problem is if i press \"NEW \" command button ,then a row in my \"access\"
database should be added with the data i entered in text boxes as well as
the radio button i select.for that what code i have to write.
i connected to data base by means of adodc not with code
and with properties i connected to database.
plz help me .
thank u
-
Re:coding doubt
Hi
In the click event of the New command button write the following
Data1.recordset.Addnew
use one more button called update. in the click event of the update button write the following
data1.updaterecord
when u want enter a record first click on the new button add the data and click on update. make sure that all ur form controls are bound to the proper records table.
hope this helps
Regards,
Jagadish

Reply With Quote





