Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,
Plz am new to c#(wpf) and I would gladly appreciate any help on the above subject.

Basically, I would like to save user input on a datagrid control into my local database. I've tried doing this for the past few days but I keep stumbling on it.

I would really appreciate any useful help/hints on this.

Thanks.
Posted

1 solution

You could try this link. But regrading the question you have asked, it depends on what approach you are following. Whether it is code-first or database approach.

http://msdn.microsoft.com/en-us/library/ee340709(v=vs.110).aspx[^]



Give me a follow up,as to what you have got.
 
Share this answer
 
Comments
IsoftTech 20-Jun-14 3:16am    
Thanks Anshumaan, I followed up with the link you posted but what I saw was how to retreive data from a database and display it on a datagrid.

But in my case,I've actually created some columns on my datagrid already, so I want a situation whereby users can enter data into the cells/rows of these columns and save it into the database.

I hope my problem definition is clearer now.

Thanks in anticipation.

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