I am very very new to vb.net (but olf to vb), and i am having all kinds of problems with .net
the one i am having now is with two radio buttons. i have a field in a sql server table that contains a 1 or 2, and two radio buttons for open and close. i want 1 as open and two as close, but everytime i try a new way to associaate them, it doesn't work. i have a sub that checks the value of a variable, and if the variable contains a 1 ro 2, then checked or not( pretty straight forward). but trying to get the variable to contain the data seems to not be working.
how can i get the variable to contain the data? and where should i call the sub to change on every row. if anyone knows of a better way, i'd really appreciate it.
the one i am having now is with two radio buttons. i have a field in a sql server table that contains a 1 or 2, and two radio buttons for open and close. i want 1 as open and two as close, but everytime i try a new way to associaate them, it doesn't work. i have a sub that checks the value of a variable, and if the variable contains a 1 ro 2, then checked or not( pretty straight forward). but trying to get the variable to contain the data seems to not be working.
how can i get the variable to contain the data? and where should i call the sub to change on every row. if anyone knows of a better way, i'd really appreciate it.