hello, I 'm still a noob at programming in vb.net
I have a little problem. I 'm trying to get my selected rows to another page. I already can select my rows with checkboxes but I don't know how I can pass them through a session to another page.
hopefully someone can help me.
Are u using GridView control and get connected by database...
is that so..
u must be knowing Global.asax
declare a session variable..
On GridView_Selected change
int index = GridView1.SelectedIndex;
for (int i = 1; i < GridView1.Rows[index].Cells.Count; i++)
Session["name"] += GridView1.Rows[index].Cells[i].Text+".";
and how to retrive the value from session..
if (Session["name"] == null)
string valuefromsession = Session["name"].ToString();
splitData = valuefromsession.Split('.');
for (int i = 0; i < splitData.Length-1; i++)
Response.Write("Name :" + splitData[i].ToString() + "<br/>");