Question Problem when retrieving data from database to windows form

Nagarjuna Naidu

New member
Jan 16, 2013
Programming Experience
Good Afternoon Guys

This is Nagarjuna working as a .net developer.I faced a problem in windows form.The problem was

Actually in my database one filed value is '12Years'.I have to retrieve that value to my windows form like '12' value in one textbox and 'Years' to combobox. I am enable to solve that.So,any one plz resolve it.

Thanks & Regards
Nagarjuna Naidu
7 Seas IT Services
if your data is string type ,for example string str; str=your data,and textbox.text=str.Substring(0,2),combobox.add (str.Substring(2)); maybe doing so resolve your problem.
Top Bottom