CarData1.NoDoor      = int.Parse(txtDoor.Text.ToString());
// this is your int       //this is your int Converter

Description 

  1. above coding i use for my int
  2. the coding also can be use for “double”, “float” and all related numbers coding
  3. this coding also can be use for this error ” Cannot Implicitly type ‘string’ to ‘int’ “.
  4. this coding mostly use during writing Open and Save button.

Leave a Reply