using (bmEntities dbcontext = new bmEntities())
{taskdetail td = new taskdetail();td.tdate = Convert.ToDateTime(txtdate.Text);td.name = txtexp.Text;td.amount = Convert.ToDecimal(txtamt.Text);td.uid = 1;dbcontext.taskdetails.Add(td);dbcontext.SaveChanges();}
A solution's to the problem's related to Web Technologies like ASP.Net, Angular Js, WebApi,Python & Other Open Source Technologies.
Friday, September 16, 2016
To insert data into the table using linq c#
Subscribe to:
Post Comments (Atom)
Git Commands
Git Version To check the git version Git -v Git Clone To clone the repository, use the following command: Git clone [u...
-
Below are the steps to deploy the Django application on XAMPP apache server. Assuming that you have already downloaded and installed the...
-
using MongoDB.Bson; using MongoDB.Driver; static MongoClient client = new MongoClie...
-
If you get the following error while displaying the data using procedure then follow the below steps :- Then go to...
No comments:
Post a Comment