打印本文 打印本文 关闭窗口 关闭窗口
今天写了第一个ASP.NET程序
作者:武汉SEO闵涛  文章来源:敏韬网  点击数2463  更新时间:2009/4/23 10:47:10  文章录入:mintao  责任编辑:mintao
;       #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 185:              __parser.AddParsedSubObject(Me.myTextBox)
行 186:             
行 187:              #End ExternalSource
行 188:             
行 189:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 190:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"         "))
行 191:             
行 192:              #End ExternalSource
行 193:             
行 194:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 195:              Me.__BuildControlmyButton
行 196:             
行 197:              #End ExternalSource
行 198:             
行 199:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 200:              __parser.AddParsedSubObject(Me.myButton)
行 201:             
行 202:              #End ExternalSource
行 203:             
行 204:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 205:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"        <br><br>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"        "))
行 206:             
行 207:              #End ExternalSource
行 208:             
行 209:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 210:              Me.__BuildControlmyLabel
行 211:             
行 212:              #End ExternalSource
行 213:             
行 214:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 215:              __parser.AddParsedSubObject(Me.myLabel)
行 216:             
行 217:              #End ExternalSource
行 218:             
行 219:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",10)
行 220:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"        "))
行 221:             
行 222:              #End ExternalSource
行 223:              Return __ctrl
行 224:          End Function
行 225:         
行 226:          Private Sub __BuildControlTree(ByVal __ctrl As System.Web.UI.Control)
行 227:              Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
行 228:             
行 229:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",1)
行 230:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"<html>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"    <Body>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"        "))
行 231:             
行 232:              #End ExternalSource
行 233:             
行 234:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",1)
行 235:              Me.__BuildControl__control2
行 236:             
行 237:              #End ExternalSource
行 238:             
行 239:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",1)
行 240:              __parser.AddParsedSubObject(Me.__control2)
行 241:             
行 242:              #End ExternalSource
行 243:             
行 244:              #ExternalSource("D:\works\study\学习ASP.NET\frist.aspx",1)
行 245:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"    </Body>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"</Html>"))
行 246:             
行 247:              #End ExternalSource
行 248:          End Sub
行 249:         
行 250:          Protected Overrides Sub FrameworkInitialize()
行 251:              Me.__BuildControlTree(Me)
行 252:              Me.FileDependencies = ASP.frist_aspx.__fileDependencies
行 253:              Me.EnableViewStateMac = true
行 254:              Me.Request.ValidateInput
行 255:          End Sub
行 256:         
行 257:          Public Overrides Function GetTypeHashCode() As Integer
行 258:              Return -1376466665
行 259:          End Function
行 260:      End Class
行 261:  End Namespace
行 262: 

有点头晕,但是似乎有些理解它的运行机理了。

继续研究中...

上一页  [1] [2] [3] 

打印本文 打印本文 关闭窗口 关闭窗口