Skip to main content
4 events
when toggle format what by license comment
Jul 11, 2016 at 0:47 comment added Sometowngeek No worries. @nhouser9 's answer is the better way to avoid code redundancy, though. I would recommend following his or her method :)
Jul 10, 2016 at 19:20 history migrated from stackoverflow.com (revisions)
Jul 10, 2016 at 3:19 comment added Harikeinas Thank you :). I do use if very often, and know my 50 line code is kinda uglys with if{if{if{}}} just for inserting data to mysql. :D one is if (comboBox4.SelectedItem != null) another if (decimal.TryParse(price.Replace(",","."), out suma)) and last one ` if (comboBox4.SelectedItem.ToString() == "salary")` well not just for inserting data, more for input control.
Jul 10, 2016 at 0:49 history answered Sometowngeek CC BY-SA 3.0