Sory dude i can give code in php if possible convert into ASP.NET
if(isset($_POST['delete']))
{
$count=$_POST['count'];
for($j=1;$j<$count;$j++)
{
if(isset($_POST['check_'.$j.'']))
{
$k=$_POST['check_'.$j.''];
$sql = "DELETE FROM equipment WHERE eid='$k'"; \\[insert command]
$result1 = mysql_query($sql);
echo"<script>javascript:history.back();</script>";
echo"<script>navigate('indexn.php?page=equipmentable&folder=admin')</script>";
}
}
}
javascript is billow i thinh it will usefull
<script type="text/javascript" language="javascript">
function DeleteConfirmation()
{
if (confirm("Are you sure,you want to delete selected records ?")==true)
return true;
else
return false;
}
function theChecker()
{
if(document.form1.theCheck.checked==false)
{
document.form1.deleteid.disabled=true;
}
else
{
document.form1.deleteid.disabled=false;
}
}
</script>