title: error Incorrect syntax near 'LoginName'. in c#
body: <p>i'm getting this error Incorrect syntax near 'LoginName'. in c#</p>
  
  <pre><code>public Data Table Select Data(string stored_Procedure,sqlParameter[] para)
  {
    SqlCommand sqlCom = new SqlCommand();
    sqlCom.CommandText = stored_Procedure;
    sqlCom.Connection = con;
    if(para!=null)
    {
        for(int i =0;i&lt;para.Length;i++)
        {
  
           sqlCom.Parameters.Add(para[i]);
        }
    }
     SqlDataAdapter dt = new SqlDataAdapter(sqlCom);
     DataTable Dt = new DataTable();
     dt.Fill(Dt);
     return Dt;
  }
  </code></pre>