Hi Greg,
I have created a sample project that shows the whole solution for you and I
send it to your msn mailbox.
Before you run the sample application, please create a table in the
database. The table is named "Teacher" and contains four fields:
Column Name Data Type Allow Nulls
ID int no
Name varchar(50) yes
Age int yes
Address varchar(50) yes
If you have any question, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.