Hello there,
I have checkbox list which has the following values and text
<asp:ListItem Text="a" Value="5" />
<asp:ListItem Text="b" Value="3" />
<asp:ListItem Text="c" Value="1" />
<asp:ListItem Text="d" Value="4" />
<asp:ListItem Text="e" Value="2" />
<asp:ListItem Text="f" Value="6" />
This information is stored in the database as
Column1
5,3,2,6,
3,1,4,
5,1,
1,4,2,
depending on the selections made by user.
I have a split function which would split the column values,
Now the problem is, I have to put these values into another bigger table, in the order
1,4,5,3,2,6
if the user did not select say,1 and 3 then the table must take the order 4,5,2,6
if the user did not select say,1,4 and 3 then the table must take the order 5,2,6
So in the above case, for the first input, the order should be 5,3,2,6
and for the second one 1,4,3.
so is there way to achieve this??can somebody please help me to how to proceed on this.
I have checkbox list which has the following values and text
<asp:ListItem Text="a" Value="5" />
<asp:ListItem Text="b" Value="3" />
<asp:ListItem Text="c" Value="1" />
<asp:ListItem Text="d" Value="4" />
<asp:ListItem Text="e" Value="2" />
<asp:ListItem Text="f" Value="6" />
This information is stored in the database as
Column1
5,3,2,6,
3,1,4,
5,1,
1,4,2,
depending on the selections made by user.
I have a split function which would split the column values,
Code:
RowNo Value 1 5 2 3 3 2 4 6
Now the problem is, I have to put these values into another bigger table, in the order
1,4,5,3,2,6
if the user did not select say,1 and 3 then the table must take the order 4,5,2,6
if the user did not select say,1,4 and 3 then the table must take the order 5,2,6
So in the above case, for the first input, the order should be 5,3,2,6
and for the second one 1,4,3.
so is there way to achieve this??can somebody please help me to how to proceed on this.
Comment