CarData1.NoDoor = int.Parse(txtDoor.Text.ToString()); // this is your int //this is your int Converter
Description
- above coding i use for my int
- the coding also can be use for “double”, “float” and all related numbers coding
- this coding also can be use for this error ” Cannot Implicitly type ‘string’ to ‘int’ “.
- this coding mostly use during writing Open and Save button.