Question Problem when retrieving data from database to windows form

Nagarjuna Naidu

New member
Joined
Jan 16, 2013
Messages
1
Programming Experience
Beginner
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.
 
Back
Top Bottom