G
Guest
hey all,
the statement below is giving me a problem and i'm not sure why:
medDrp.SelectedIndex = (ViewState["test"] == null) ? -1 : ViewState["test"];
the message is saying that i can't implicitly convert an object to int, Huh?
thanks,
rodchar
the statement below is giving me a problem and i'm not sure why:
medDrp.SelectedIndex = (ViewState["test"] == null) ? -1 : ViewState["test"];
the message is saying that i can't implicitly convert an object to int, Huh?
thanks,
rodchar