public partial class Form2 : Form { public Form2() { InitializeComponent(); } private void Form2_Load(object sender, EventArg
iF Data Type is String then
SPartSalePrice =s.SPartSalePrice == null ? "" : s.SPartSalePrice;
which show blank if data is null else show data.
If data type is int then
PartSalePrice = s.SPartSalePrice == null ? 0 : s.SPartSalePrice