データの挿入が成功したことを示すラベルを表示する必要があります。ラベルは 5 秒後に自動的に消えるはずです。どうすればこれを達成できますか??
<html>
<head id="Head1" runat="server">
<title>Test Visibility</title>
<script type="text/javascript">
$(document).ready(function () {
setTimeout(function () {
$('#<%= lblError.ClientID%>').hide();
}, 100); // <-- time in milliseconds
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="lblError" runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>