else if (Result == 1)
{
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Test", "return confirm('Are you sure you want to delete? This action cannot be undone.')", true);
FSI.DeleteINsertData(ID.ToString(), No.ToString());
}
我对后面的代码有一个 js 确认。当用户单击“是”时,我想继续处理,否则,用户单击“否”,什么也不做。它在 else if 语句中。感谢您的回答。