Wednesday, August 18, 2010

How to pass the arraylist value to the next form using session..?

my code looks something like..


Dim selectedRows As ArrayList


selectedRows = New ArrayList


For Each dgitem In DataGrid1.Items


chk = dgitem.FindControl(';Checkbox1';)


If chk.Checked = True Then





'selectedRows.Add(CType(dgitem.FindContr鈥?CheckBox).Text)





End If


Next


session(';field';)=selectedRows


....


in this i had place a check box inside the datagrid..


what i did was.. i filled the array with checked value from the datagrid..


what i want to do is i have to pass these arraylist value to the next form using session..


it's not workin for me..... help me out to overcome this problem..it's urgent,...





thank u..How to pass the arraylist value to the next form using session..?
If it is a INPROC session, you can store the ArrayList in Session right?





For other state modes, you may need to serialize and store.

No comments:

Post a Comment