- Joined
- Oct 26, 2005
- Messages
- 3
- Reaction score
- 0
Hey.
I want to use the following code in an button click event:
But now i wish to replace the .Cells[1] part with something like this
Can anyone tell me how to do this mayb?
Thanx in advance
I want to use the following code in an button click event:
Code:
Session.Add("countryno", grdMain.Items[grdMain.SelectedIndex].Cells[1].Text);
But now i wish to replace the .Cells[1] part with something like this
Code:
.Cells[grdMain.Columns["countryno"]]
Can anyone tell me how to do this mayb?
Thanx in advance