我爱Aspx >> Asp.Net >> 看看下面的代码,怎么没有错误提示呀!!!!!!google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";
自己建的类:
Private name As String
Public Property nm() As String
Get
Return Me.name
End Get
Set(ByVal value As String)
Try
If value <= 10 And value >= 1 Then
Me.name = value
End If
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Set
End Property
按钮为4:
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim nam As New Class1
nam.nm = 1333
MessageBox.Show(nam.nm)
End Sub
第2楼. 由 magicbacon 于 2007-5-13 0:51:35 发表
Public Class Class1
Private name As String
Public Property nm() As String
Get
Return Me.name
Ҷƪл˵?
ADC0809的C程序,不知道哪错了。..[07-06]
jsp调用exe问题(进程中启动,看..[07-06]
这是个什么错误?[07-06]
如何让嵌入在网页中的java程序访..[07-06]
CSDN上 到底还有没有我要找的高手..[07-06]
mysql从一个表字段赋值给另一个表..[07-06]
MYSQL 有没有 像 MSSQL 的 isnul..[07-06]
为何在asp中用Request.ServerVar..[07-06]
spring2+struts2+sitemesh:为什么..[07-06]
做个简单的现金流水账,请指教一..[07-06]