Search
Category: Miscellaneous
You have to do two things for creatng a messagebox in vb.net
1) In design mode add the following codes after
Do you want a customized system? Do you want to setup your own website to do business? Then we are here to help you in your programming needs.
You have to do two things for creatng a messagebox in vb.net
1) In design mode add the following codes after
<script> <asp:Literal ID="ltlAlert" runat="server" EnableViewState="False"></asp:Literal> </script>
2). Add the following codein Code Behind
Partial Class _Default Inherits System.Web.UI.Page Protected WithEvents Literal As System.Web.UI.WebControls.Literal Private Sub Say(ByVal Message As String) ' Format string properly Message = Message.Replace("'", "\'") Message = Message.Replace(Convert.ToChar(10), "\n") Message = Message.Replace(Convert.ToChar(13), "") ' Display as JavaScript alert ltlAlert.Text = "alert('" & Message & "')" End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Say("asasas") End Sub End Class
About the author:
PlanetSourceCode.in is a place for all developer providing free source codes, articles, complete projects,complete application in PHP, C/C++, Javascript, Visual Basic, Cobol, Pascal, ASP/VBScript, AJAX, SQL, Perl, Python, Ruby, Mobile Development
In this tutorial you will learn how to program with Java. It has a rich of information to be educated well with Java.
Point of Sale is very useful especially for supermarkets or restaurants. I have included a barcode scanner in this program. Please check it out.
Post new comment