Greetings my forum friends.

I need a little help on an issue. Actually it's a bit tricky.
I have a tableview showing area names loaded from database and a textfield
on the same form. Now I want that when user selects a particular row from
the tableview the corresponding area name will be shown in the textfield
named 'txtAreanName'.

I am able to fetch the areaname by doing this in my rowselected event
implementation ->

areaname=this._tableView[indexPath.Section].Items[indexPath.Row].areaname.ToString();

But how to pass this value and update the text in the textfield each time a
row is touched? I wrote a static function called UpdateTextField which took
a string argument and updated the textfield with the value of the string but
it crashed.

Please help me, by steering me in the right direction.  Any kind of help
will be massively appreciated.


Many Thanks in anticipation.



--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/UITableView-RowSelected-Event-Help-Needed-tp4656276.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to