I wonder how asp.net pass value into vb sub.
what happen is I has this aspx page working and then
I didn't change anything, later when I run the page again.
it doesn't work! then I find out is the checkbox value didn't get
passed properly into the sub somehow. (but it was working properly before)
I use the follow code to get the checkbox value where the checkbox is placed
inside a Datalist:
dim Mycheckbox as checkbox= addprojects.Items(I).FindControl("IsCheck")
Message.InnerHtml &= myid.text & " " & myprojectID.text & " Item(" & i &
"): " & Mycheckbox.checked & "<br>"
the message shows the all checkbox value is False, what's going on?
addprojects is the id for the Datalist. IsCheck is the checkbox id within
addprojects.
Kevin Yu
system.data.oledb
coop student
Western Research Center - Natural Resource Canada
email: kyu@n...
phone:(780) 987-8611