title: How to call stored procedure from react
body: <p>I have been given a website that is already developed in ASP.NET. I am required to develop the same in React.</p>
  
  <p>Below is the code in .net written to call a stored procedure when the user clicks login:</p>
  
  <pre><code>Dal objDal = new Dal();
  DataSet ds = objDal.ByText("AuthenticateUser_RPOS", txtUserId.Text.ToString().Trim() + "|" + txtPwd.Text.ToString().Trim() + "|" + AuthPwdOIM);
  
  if (ds.Tables.Count &gt; 0)
  {
     &lt;....some code&gt;
  }
  </code></pre>
  
  <p><code>AuthenticateUser_RPOS</code> is the name of the stored procedure being called.
  I am not familiar with .NET and I have just started doing react. I have searched the internet but couldn't find anything relatable. </p>
  
  <p>So, is there a way to call stored procedure directly in react?                   </p>