Hello,
string selectedValue = "";
for (int i = 0; i < lstItem.Items.Count; i++)
{
if (lstItem.Items[i].Selected)
{
selectedValue = selectedValue + "," + lstItem.Items[i].Value;
}
}
selectedValue = selectedValue.TrimEnd(',').TrimStart(',');
// Here Bind Your Grid and your query like following way
/// Select * from tableName where id in(selectedValue)
Hope this is helpful !
Thanks