title: Cannot implicitly convert type 'string' to 'decimal'
body: <pre><code>private void button18_Click(object sender, EventArgs e)
      {
          Form1 stForm = new Form1();
          DialogResult result = stForm.ShowDialog(this);
  
          if (result == DialogResult.Cancel)
              return;
          Inscrierea__pentru_burs_sau_contract media = new Inscrierea__pentru_burs_sau_contract();
          media.Media_MNDP = stForm.MNDP.Text;
          media.Media_MNEA = stForm.MNEA.Text;
          media.Media_Concurs = stForm.MediaConcurs.Text;
  
          db.Media.Add(media);
          db.SaveChanges();
          MessageBox.Show("Salvarea a avut loc cu succes!!!");
      }
  </code></pre>
  
  <h2>Please help me with my error at line with:</h2>
  
  <ol>
  <li>media.Media_MNDP = stForm.MNDP.Text;</li>
  <li>media.Media_MNEA = stForm.MNEA.Text;</li>
  <li>media.Media_Concurs = stForm.MediaConcurs.Text;</li>
  </ol>
  
  <p>error" Cannot implicitly convert type 'string' to 'decimal'"</p>