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.
Showing posts with label Data Base. Show all posts
Showing posts with label Data Base. Show all posts
Friday, September 16, 2016
To insert data into the table using linq c#
Subscribe to:
Posts (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...
-
Git Version To check the git version Git -v Git Clone To clone the repository, use the following command: Git clone [u...