How we can use INPUTBOX in ASP.NET 2.0?
-
Dear Friends, How we can use INPUTBOX in ASP.NET 2.0?, Pls HELP ME Dear Friends :rose:
Haridas.R harisofttech@gmail.com harisofttech@hotmail.com (online) harizeenet@yahoo.co.in(online) "Achievement is not a destination, its a journey "
-
Dear Friends, How we can use INPUTBOX in ASP.NET 2.0?, Pls HELP ME Dear Friends :rose:
Haridas.R harisofttech@gmail.com harisofttech@hotmail.com (online) harizeenet@yahoo.co.in(online) "Achievement is not a destination, its a journey "
What is this mysterious INPUTBOX of which you speak?
-
Dear Friends, How we can use INPUTBOX in ASP.NET 2.0?, Pls HELP ME Dear Friends :rose:
Haridas.R harisofttech@gmail.com harisofttech@hotmail.com (online) harizeenet@yahoo.co.in(online) "Achievement is not a destination, its a journey "
-
What is this mysterious INPUTBOX of which you speak?
I believe INPUTBOX is visual basic 6.0 utility to display a pop-up with programmer-defined text which usually contained a question/prompt for text information. The recipient of this pop-up would be enter in a text in a field in the pop-up and click OK on the pop-up. The code I have been using for just a plain pop-up in asp.net - no field for data entry (just in case this is a start for getting to one that has a field for input) is Public Sub ASPNET_MsgBox(ByVal Message As String) System.Web.HttpContext.Current.Response.Write("" & vbCrLf) System.Web.HttpContext.Current.Response.Write("alert(""" & Message & """)" & vbCrLf) System.Web.HttpContext.Current.Response.Write("") End Sub In my asp code, I would call this subroutine to display a pop-up message like ASPNET_MsgBox("Hello World") or Dim sampleMessage As string sampleMessage = "basic stuff" ASP_NET_MsgBox(sampleMessage) The one catch on this asp.net pop-up subroutine is do not pass it a string containing double quotes. No pop-up will appear, no error message or nothing will happen....
-
I believe INPUTBOX is visual basic 6.0 utility to display a pop-up with programmer-defined text which usually contained a question/prompt for text information. The recipient of this pop-up would be enter in a text in a field in the pop-up and click OK on the pop-up. The code I have been using for just a plain pop-up in asp.net - no field for data entry (just in case this is a start for getting to one that has a field for input) is Public Sub ASPNET_MsgBox(ByVal Message As String) System.Web.HttpContext.Current.Response.Write("" & vbCrLf) System.Web.HttpContext.Current.Response.Write("alert(""" & Message & """)" & vbCrLf) System.Web.HttpContext.Current.Response.Write("") End Sub In my asp code, I would call this subroutine to display a pop-up message like ASPNET_MsgBox("Hello World") or Dim sampleMessage As string sampleMessage = "basic stuff" ASP_NET_MsgBox(sampleMessage) The one catch on this asp.net pop-up subroutine is do not pass it a string containing double quotes. No pop-up will appear, no error message or nothing will happen....
:) Oh. THAT inputbox... :doh: :cool: