tags:

views:

46

answers:

1

i am hvaing a picker, which displays data from 2 arrays, say like it is a picker with 2 sections. now i want the selected values from both the sections, to appear in a single textfield.

i tried with textField.text=[[First_Array ObjectAtindex:row]appendString:[Second_Array ObjectAtIndex:row]];

But it gives error "Void Value not ignored as it ought yo be"... Please help

A: 

Instead of appendString:, use stringByAppendingString:. appendString: is used to modify an NSMutableString in place, it doesn't return a value.

jtbandes
thanks a lot..........
shreedevi