HI All..
I was basically a ASP programmer trying my hand at ASP.net.
I have been struggling with a functionality lately..May be someone can show me the way.
I have a table with price list for different category of items..like DIfferent HDD, RAM, Motherboard..I want my user to pick one element from each group to assemble a PC. I have different lines of products for different PCS and hence I can not generalise. I have to pull the items from the table and display them with radio button. I am doing this by using a Datareader. The values are displayed dynamically in a table, I am adding rows and cells and adding radiobutton to each cell dynamically.
Now my problems is how do I fetch the values from the table/form. I have the table inside the form and the table has multiple rows. (column number remains same). Now I can access the controls collection, but there is no way I can read the state of an element? In ASP I justed parsed through the form looking for radiobuttons and on check property get the values and it was pretty much straightformward from there on. How do I do it for ASP.net?
Any ideas? May be I am making some mistakes..If you want I can post the code..although its very raw and unformatted right now..
Any help is really appriciated..
thanks
Sid
I was basically a ASP programmer trying my hand at ASP.net.
I have been struggling with a functionality lately..May be someone can show me the way.
I have a table with price list for different category of items..like DIfferent HDD, RAM, Motherboard..I want my user to pick one element from each group to assemble a PC. I have different lines of products for different PCS and hence I can not generalise. I have to pull the items from the table and display them with radio button. I am doing this by using a Datareader. The values are displayed dynamically in a table, I am adding rows and cells and adding radiobutton to each cell dynamically.
Now my problems is how do I fetch the values from the table/form. I have the table inside the form and the table has multiple rows. (column number remains same). Now I can access the controls collection, but there is no way I can read the state of an element? In ASP I justed parsed through the form looking for radiobuttons and on check property get the values and it was pretty much straightformward from there on. How do I do it for ASP.net?
Any ideas? May be I am making some mistakes..If you want I can post the code..although its very raw and unformatted right now..
Any help is really appriciated..
thanks
Sid