ASP.NET Developement Question

  • yagas
  • Novice
  • Novice
  • User avatar
  • Posts: 25
  • Loc: China

Post 3+ Months Ago

My English is not very good! My mother tongue is a Chinese, I want to
study some homepage manufactures at yours forum the knowledge, some
who may help me?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1134
  • Loc: England

Post 3+ Months Ago

Hello yagas,
Welcome to ozzu, you'll find us very helpful, but Try to tell us what help you need yagas!
suzie.
:D
  • SharkShark
  • Guru
  • Guru
  • User avatar
  • Posts: 1013
  • Loc: Living In Today

Post 3+ Months Ago

these forums can provide pretty much any information you need on webdesign. Just ask a specific question and we will answer as best we can.
  • yagas
  • Novice
  • Novice
  • User avatar
  • Posts: 25
  • Loc: China

Post 3+ Months Ago

My a asp.net page.
Where didn't I know wrong again.
Code: [ Select ]
<%@ Page Language="VB" %>
<script runat="server">

  ' Insert page code here
  '
  
  Sub Button1_Click(sender As Object, e As EventArgs)
   dim str as string
   if len(name.text)<>0 then
    str="hello."+name.text+".you are welcome."
    info.text=str
    else
    msgbox("Prease enter your name.")
   end if
  End Sub

</script>
  1. <%@ Page Language="VB" %>
  2. <script runat="server">
  3.   ' Insert page code here
  4.   '
  5.   
  6.   Sub Button1_Click(sender As Object, e As EventArgs)
  7.    dim str as string
  8.    if len(name.text)<>0 then
  9.     str="hello."+name.text+".you are welcome."
  10.     info.text=str
  11.     else
  12.     msgbox("Prease enter your name.")
  13.    end if
  14.   End Sub
  15. </script>
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

//moved to Programming / Scripting / Coding Forum
  • yagas
  • Novice
  • Novice
  • User avatar
  • Posts: 25
  • Loc: China

Post 3+ Months Ago

I am studying asp.net.
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

Make info.text a label and see if that works.
  • yagas
  • Novice
  • Novice
  • User avatar
  • Posts: 25
  • Loc: China

Post 3+ Months Ago

wrong at:
Code: [ Select ]
msgbox("Prease enter your name.")


why?this is not vb language?
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

According to this link you need to use a javascript alert box to get the effect of a VB msgbox.

http://forums.devshed.com/t140006/s.html
  • yagas
  • Novice
  • Novice
  • User avatar
  • Posts: 25
  • Loc: China

Post 3+ Months Ago

thanks s15199d.
But I don't know again.
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

Have you tried inserting the javascript alert?

If so post your code and I'll take a look at it.
  • yagas
  • Novice
  • Novice
  • User avatar
  • Posts: 25
  • Loc: China

Post 3+ Months Ago

I see.
thanks again.

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 69 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.