Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is it possible to save data from textboxes to a entity framework model and then save it to the database.

Im not sure how to do this and have no idea how to approach this.

the forums i looked at before coming here haven't helped much.

The database name is: dbAttendance
Table Name: tblGroup
Columns: PK_GroupID, GroupName

i have tried the saveChanges() and the AddObject, but they didn't work.

Any help would be greatly appreciated.
Posted

1 solution

This article was linked in todays CodeProject news letter, it might give you some hints and tips on how to achieve what you are after:

http://endyourif.com/entity-framework-beginners-guide-done-right/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900