foreach (var Cust in Customers)
{
using (Contex C)
{
c.customers.add(Cust);
c.savechanges();
}
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Veerendra AnnigerePosted Jun 16, 2019, 9:58 PM
Abdelrhman AbdoPosted Jun 16, 2019, 11:36 AM
Amit GuptaPosted Jun 16, 2019, 10:53 AM