1
Answer

How to share db with in 3 systems??

Photo of divya

divya

11y
950
1
Hi friends,


        How to share a database with in LAN for 3 systems. I dont have have any knowledge regarding this.Please help me with complete steps for connecting database.




Rgards
Divya

Answers (1)

1
Photo of Ramesh Palaniappan
NA 13.2k 722.6k 8y
Try to give Session value before insert like below.
  1. try
  2. {
  3. Session["Vechilevalue"]=DropDownList1.SelectedValue;
  4. if(Session["Vechilevalue"]!=null&&!n.tbl_Vec.Any(x=>x.Vec_ID==Vec_ID))
  5. {
  6. v.Vec_ID=Vec_ID;
  7. {
  8. v.Vec_ID=DropDownList1.SelectedValue;
  9. }
  10. n.tbl_Vec.Add(v).ToString();
  11. n.SaveChanges();
  12. }
  13. else
  14. {
  15. }
  16. }
  17. catch
  18. {
  19. }