Hi All,
I wanted to assign some strings to conditional oprator.
body += " Store Number:" + storeRegistration.StoreNumber!=null?storeRegistration.StoreNumber:Convert.ToInt32(string.Empty);
body += " Store Name:" + storeRegistration.StoreName!=null?storeRegistration.StoreNumber:Convert.ToInt32(string.Empty);
In this case if string is empty i'm not able to concatenate the string "Store Number or Store Name" it works only if we have some values, not concatenating in case of empty strings
Join Hands Change lives
Thanks & Regards
Straight Edge Society