title: Is there an equivalent vb.net eval function for vbscript eval
body: <p>I want to execute the code that is passed as a string to my function, the code will be passed at runtime. This is an example code that may be passed as a string to my function.</p>
  
  <p>p is a dataset, which is declared and has some values, this code is executed in a asp.net page</p>
  
  <pre><code>p.Tables(0).Rows(0)("disp_status") = "Approved by CEO";
  p.Tables(0).Rows(0)("status") = "Approved";
  Session("fnc") = "generate po";
  Session("rec_id") = p.Tables(0).Rows(0)("IndexID");
  Session("ord_ref")="PR No.";
  Server.Execute("../rlm/mne_pr_form_f.asp"); 
  p.Tables(0).Rows(0)("status") = "Order Raised" 
  p.Tables(0).Rows(0)("disp_status") = "Order Raised"
  p.Tables(0).Rows(0)("lock_record") = "Yes";
  Session("fnc") = "";
  Session("rec_id") = "";
  </code></pre>