Hi,

because of im very new to mono,i went with basic array adapter....which
adapter shold use...and how..plz send reply as early as possible...plz send
changes for spinner adapter and save and retreive code....

Okay, you need have a Click event on the spinner and then inside the event, look at the ItemSelected (I think it is). This is the position in the spinner. All you do then is a quick loop

something like this

string courseCode = string.Empty;
spinner.Click += (object s, EventArgs e) =>
{
  Spinner t = (Spinner)e;
  switch (t.ItemSelected)
  {
    case 0 :
        courseCode = "101";
        break;
  }
};

and pass courseCode to the save routine.

Paul

--
"Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space, listen..."
Hitch Hikers Guide to the Galaxy, a truly remarkable book!

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to