Gaurav Raj

Gaurav Raj

  • NA
  • 475
  • 88.1k

How can i update table using store procedure with linq formt

Oct 18 2018 2:28 AM
i am using this but it not work
[webmethod]
int noti(int userid) {
var q =(from a in cs.da.notifiactionprocedure
            where a.userid==userid
           select a).first();
q.status=1
cs.da.submitchanges();
its run but not update database
 }
 

Answers (1)