行 1: #ExternalChecksum("C:\www\avs360.cn\av_product.aspx","{406ea660-64cf-4c82-b6f0-42d48172a799}","E2C783214A668B775D8FE89D96F4DEB6")
行 2: '------------------------------------------------------------------------------
行 3: ' <auto-generated>
行 4: ' 此代码由工具生成。
行 5: ' 运行时版本:2.0.50727.8745
行 6: '
行 7: ' 对此文件的更改可能会导致不正确的行为,并且如果
行 8: ' 重新生成代码,这些更改将会丢失。
行 9: ' </auto-generated>
行 10: '------------------------------------------------------------------------------
行 11:
行 12: Option Strict Off
行 13: Option Explicit On
行 14:
行 15: Imports ASP
行 16: Imports Microsoft.VisualBasic
行 17: Imports System
行 18: Imports System.Collections
行 19: Imports System.Collections.Specialized
行 20: Imports System.Configuration
行 21: Imports System.Data
行 22: Imports System.Data.SqlClient
行 23: Imports System.Text
行 24: Imports System.Text.RegularExpressions
行 25: Imports System.Web
行 26: Imports System.Web.Caching
行 27: Imports System.Web.Profile
行 28: Imports System.Web.Security
行 29: Imports System.Web.SessionState
行 30: Imports System.Web.UI
行 31: Imports System.Web.UI.HtmlControls
行 32: Imports System.Web.UI.WebControls
行 33: Imports System.Web.UI.WebControls.WebParts
行 34:
行 35: Namespace ASP
行 36:
行 37: <System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()> _
行 38: Public Class av_product_aspx
行 39: Inherits Global.System.Web.UI.Page
行 40: Implements System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler
行 41:
行 42:
行 43: #ExternalSource("C:\www\avs360.cn\av_product.aspx",169)
行 44: Protected WithEvents txtKeyword As Global.System.Web.UI.WebControls.TextBox
行 45:
行 46: #End ExternalSource
行 47:
行 48:
行 49: #ExternalSource("C:\www\avs360.cn\av_product.aspx",170)
行 50: Protected WithEvents cb_cata_uppp As Global.System.Web.UI.WebControls.DropDownList
行 51:
行 52: #End ExternalSource
行 53:
行 54:
行 55: #ExternalSource("C:\www\avs360.cn\av_product.aspx",172)
行 56: Protected WithEvents bt_seek As Global.System.Web.UI.WebControls.Button
行 57:
行 58: #End ExternalSource
行 59:
行 60:
行 61: #ExternalSource("C:\www\avs360.cn\av_product.aspx",182)
行 62: Protected WithEvents Av_ucProductLeft1 As Global.ASP.av_ucProductLeft
行 63:
行 64: #End ExternalSource
行 65:
行 66:
行 67: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 68: Protected WithEvents lbl_Total As Global.System.Web.UI.WebControls.Label
行 69:
行 70: #End ExternalSource
行 71:
行 72:
行 73: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 74: Protected WithEvents lblRecordCount As Global.System.Web.UI.WebControls.Label
行 75:
行 76: #End ExternalSource
行 77:
行 78:
行 79: #ExternalSource("C:\www\avs360.cn\av_product.aspx",247)
行 80: Protected WithEvents lbl_Record As Global.System.Web.UI.WebControls.Label
行 81:
行 82: #End ExternalSource
行 83:
行 84:
行 85: #ExternalSource("C:\www\avs360.cn\av_product.aspx",249)
行 86: Protected WithEvents lb_pre As Global.System.Web.UI.WebControls.LinkButton
行 87:
行 88: #End ExternalSource
行 89:
行 90:
行 91: #ExternalSource("C:\www\avs360.cn\av_product.aspx",250)
行 92: Protected WithEvents lb_next As Global.System.Web.UI.WebControls.LinkButton
行 93:
行 94: #End ExternalSource
行 95:
行 96:
行 97: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 98: Protected WithEvents lbl_TotalPage As Global.System.Web.UI.WebControls.Label
行 99:
行 100: #End ExternalSource
行 101:
行 102:
行 103: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 104: Protected WithEvents lblpagecount As Global.System.Web.UI.WebControls.Label
行 105:
行 106: #End ExternalSource
行 107:
行 108:
行 109: #ExternalSource("C:\www\avs360.cn\av_product.aspx",252)
行 110: Protected WithEvents lbl_page As Global.System.Web.UI.WebControls.Label
行 111:
行 112: #End ExternalSource
行 113:
行 114:
行 115: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 116: Protected WithEvents lblCurrentPage As Global.System.Web.UI.WebControls.TextBox
行 117:
行 118: #End ExternalSource
行 119:
行 120:
行 121: #ExternalSource("C:\www\avs360.cn\av_product.aspx",257)
行 122: Protected WithEvents btnredirect As Global.System.Web.UI.WebControls.Button
行 123:
行 124: #End ExternalSource
行 125:
行 126: Private Shared __initialized As Boolean
行 127:
行 128: Private Shared __stringResource As Object
行 129:
行 130: Private Shared __fileDependencies As Object
行 131:
行 132:
行 133: #ExternalSource("C:\www\avs360.cn\av_product.aspx",7)
行 134:
行 135: Dim RecordCount, PageCount, CurrentPage, i As Integer
行 136: Dim codemessage As String
行 137: Dim ds As New DataSet()
行 138: Dim pagesize As Integer = 4
行 139:
行 140: Dim sql As String = ""
行 141: Dim tj As String = ""
行 142: Dim dt As DataTable
行 143: Dim cls_db As New db
行 144:
行 145:
行 146:
行 147: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
行 148:
行 149: cls_db.ProcessRequest()
行 150:
行 151: If Not IsPostBack Then '初始化显示
行 152: '分页设置
行 153: ViewState("state") = "all"
行 154: CurrentPage = 0
行 155: ViewState("pageindex") = 0
行 156: DbListBind() '执行显数据清单显示任务
行 157: End If
行 158: If Not Page.IsPostBack Then
行 159: cls_db.initCombox(cb_cata_uppp, "av_product_brand", "subject", "id", "")
行 160: End If
行 161: End Sub
行 162:
行 163: Public Sub DbListBind() '显示数据清单
行 164: tj = " and cataid='1' "
行 165: 'If txtKeyword.Text.Trim <> "" Then
行 166: ' tj += " and f_name like '%" & txtKeyword.Text.Trim & "%' "
行 167: ' End If
行 168:
行 169: '得到总数
行 170: sql = "select count(*) as num from av_factory where 1=1 " & tj
行 171:
行 172: dt = cls_db.GetDataTable(sql)
行 173:
行 174: '计算共有多少条记录
行 175: If dt.Rows.Count > 0 Then
行 176: RecordCount = dt.Rows(0)("num")
行 177: Else
行 178: RecordCount = 0
行 179: End If
行 180: lblRecordCount.Text = RecordCount
行 181:
行 182: '计算共有多少页
行 183: If RecordCount Mod pagesize = 0 Then
行 184: PageCount = RecordCount \ pagesize
行 185: Else
行 186: PageCount = RecordCount \ pagesize + 1
行 187: End If
行 188:
行 189: lblpagecount.Text = PageCount.ToString()
行 190: ViewState("pagecount") = PageCount
行 191:
行 192: Dim startindex As Integer
行 193: Dim orderby As String = " order by addtime desc"
行 194:
行 195: '导入数据起始地址
行 196: startindex = CurrentPage * pagesize
行 197: sql = "select * from av_factory where 1=1 " & tj & orderby
行 198: dt = cls_db.GetDataTable("av_factory", sql, startindex, pagesize)
行 199:
行 200: lb_pre.Enabled = True
行 201: lb_next.Enabled = True
行 202:
行 203: If CurrentPage >= PageCount - 1 Then
行 204: lb_next.Enabled = False
行 205: End If
行 206:
行 207: If CurrentPage = 0 Then
行 208: lb_pre.Enabled = False
行 209: End If
行 210: lblCurrentPage.Text = CurrentPage + 1
行 211: End Sub
行 212:
行 213: Public Function CheckNum(ByVal number) As Integer '检查提交内容是数字的函数
行 214: Try
行 215: Dim i As Integer = number
行 216: Return (i)
行 217: Catch objex As Exception
行 218: Return (1)
行 219: End Try
行 220: End Function
行 221:
行 222: Protected Sub lb_pre_Click(ByVal sender As Object, ByVal e As System.EventArgs)
行 223: CurrentPage = ViewState("pageindex")
行 224: PageCount = ViewState("pagecount")
行 225: If CurrentPage > 0 Then CurrentPage = CurrentPage - 1
行 226: ViewState("pageindex") = CurrentPage
行 227: DbListBind()
行 228: End Sub
行 229:
行 230: Protected Sub lb_next_Click(ByVal sender As Object, ByVal e As System.EventArgs)
行 231: CurrentPage = ViewState("pageindex")
行 232: PageCount = ViewState("pagecount")
行 233: If CurrentPage < PageCount - 1 Then CurrentPage = CurrentPage + 1
行 234: ViewState("pageindex") = CurrentPage
行 235: DbListBind()
行 236: End Sub
行 237:
行 238: Protected Sub bt_seek_Click(ByVal sender As Object, ByVal e As System.EventArgs)
行 239: Response.Redirect("av_product_seek.aspx?keyword=" & txtKeyword.Text.Trim)
行 240: End Sub
行 241:
行 242: Protected Sub btnredirect_Click(ByVal sender As Object, ByVal e As System.EventArgs)
行 243: Dim number As Integer = CheckNum(lblCurrentPage.Text)
行 244: If number <= ViewState("pagecount") Then
行 245: CurrentPage = number - 1
行 246: ViewState("pageindex") = CurrentPage
行 247: PageCount = ViewState("pagecount")
行 248: DbListBind()
行 249: Else
行 250: CurrentPage = 0
行 251: ViewState("pageindex") = CurrentPage
行 252: PageCount = ViewState("pagecount")
行 253: DbListBind()
行 254: End If
行 255: End Sub
行 256:
行 257: Protected Sub lblCurrentPage_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
行 258: Dim number As Integer = CheckNum(lblCurrentPage.Text)
行 259: If number <= ViewState("pagecount") Then
行 260: CurrentPage = number - 1
行 261: ViewState("pageindex") = CurrentPage
行 262: PageCount = ViewState("pagecount")
行 263: DbListBind()
行 264: Else
行 265: CurrentPage = 0
行 266: ViewState("pageindex") = CurrentPage
行 267: PageCount = ViewState("pagecount")
行 268: DbListBind()
行 269: End If
行 270: End Sub
行 271:
行 272: Protected Sub bt_seek_Click(ByVal sender As Object, ByVal e As System.EventArgs)
行 273: Response.Redirect("av_product_seek.aspx?pp=" & cb_cata_uppp.SelectedValue & "&keyword=" & txtKeyword.Text.Trim)
行 274: End Sub
行 275:
行 276:
行 277: #End ExternalSource
行 278:
行 279:
行 280: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 281: Public Sub New()
行 282: MyBase.New
行 283: Dim dependencies() As String
行 284: CType(Me,Global.System.Web.UI.Page).AppRelativeVirtualPath = "~/av_product.aspx"
行 285: If (Global.ASP.av_product_aspx.__initialized = false) Then
行 286: Global.ASP.av_product_aspx.__stringResource = Me.ReadStringResource
行 287: dependencies = New String(5) {}
行 288: dependencies(0) = "~/av_product.aspx"
行 289: dependencies(1) = "~/av.master"
行 290: dependencies(2) = "~/index1.htm"
行 291: dependencies(3) = "~/top.ascx"
行 292: dependencies(4) = "~/top.ascx.cs"
行 293: dependencies(5) = "~/av_ucProductLeft.ascx"
行 294: Global.ASP.av_product_aspx.__fileDependencies = Me.GetWrappedFileDependencies(dependencies)
行 295: Global.ASP.av_product_aspx.__initialized = true
行 296: End If
行 297: Me.Server.ScriptTimeout = 30000000
行 298: End Sub
行 299:
行 300: Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile
行 301: Get
行 302: Return CType(Me.Context.Profile,System.Web.Profile.DefaultProfile)
行 303: End Get
行 304: End Property
行 305:
行 306: Protected ReadOnly Property ApplicationInstance() As System.Web.HttpApplication
行 307: Get
行 308: Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
行 309: End Get
行 310: End Property
行 311:
行 312: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 313: Private Function __BuildControltxtKeyword() As Global.System.Web.UI.WebControls.TextBox
行 314: Dim __ctrl As Global.System.Web.UI.WebControls.TextBox
行 315:
行 316: #ExternalSource("C:\www\avs360.cn\av_product.aspx",169)
行 317: __ctrl = New Global.System.Web.UI.WebControls.TextBox
行 318:
行 319: #End ExternalSource
行 320: Me.txtKeyword = __ctrl
行 321: __ctrl.TemplateControl = Me
行 322: __ctrl.ApplyStyleSheetSkin(Me)
行 323:
行 324: #ExternalSource("C:\www\avs360.cn\av_product.aspx",169)
行 325: __ctrl.ID = "txtKeyword"
行 326:
行 327: #End ExternalSource
行 328:
行 329: #ExternalSource("C:\www\avs360.cn\av_product.aspx",169)
行 330: __ctrl.Width = New System.Web.UI.WebControls.Unit(140, System.Web.UI.WebControls.UnitType.Pixel)
行 331:
行 332: #End ExternalSource
行 333:
行 334: #ExternalSource("C:\www\avs360.cn\av_product.aspx",169)
行 335: __ctrl.Text = "请输入产品型号或关键词!"
行 336:
行 337: #End ExternalSource
行 338:
行 339: #ExternalSource("C:\www\avs360.cn\av_product.aspx",169)
行 340: CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("onfocus", "if(this.value=='请输入产品型号或关键词!'){this.value='';}")
行 341:
行 342: #End ExternalSource
行 343: Return __ctrl
行 344: End Function
行 345:
行 346: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 347: Private Function __BuildControlcb_cata_uppp() As Global.System.Web.UI.WebControls.DropDownList
行 348: Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
行 349:
行 350: #ExternalSource("C:\www\avs360.cn\av_product.aspx",170)
行 351: __ctrl = New Global.System.Web.UI.WebControls.DropDownList
行 352:
行 353: #End ExternalSource
行 354: Me.cb_cata_uppp = __ctrl
行 355: __ctrl.TemplateControl = Me
行 356: __ctrl.ApplyStyleSheetSkin(Me)
行 357:
行 358: #ExternalSource("C:\www\avs360.cn\av_product.aspx",170)
行 359: __ctrl.ID = "cb_cata_uppp"
行 360:
行 361: #End ExternalSource
行 362: Return __ctrl
行 363: End Function
行 364:
行 365: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 366: Private Function __BuildControlbt_seek() As Global.System.Web.UI.WebControls.Button
行 367: Dim __ctrl As Global.System.Web.UI.WebControls.Button
行 368:
行 369: #ExternalSource("C:\www\avs360.cn\av_product.aspx",172)
行 370: __ctrl = New Global.System.Web.UI.WebControls.Button
行 371:
行 372: #End ExternalSource
行 373: Me.bt_seek = __ctrl
行 374: __ctrl.TemplateControl = Me
行 375: __ctrl.ApplyStyleSheetSkin(Me)
行 376:
行 377: #ExternalSource("C:\www\avs360.cn\av_product.aspx",172)
行 378: __ctrl.ID = "bt_seek"
行 379:
行 380: #End ExternalSource
行 381:
行 382: #ExternalSource("C:\www\avs360.cn\av_product.aspx",172)
行 383: __ctrl.Text = "搜索"
行 384:
行 385: #End ExternalSource
行 386:
行 387: #ExternalSource("C:\www\avs360.cn\av_product.aspx",172)
行 388: AddHandler __ctrl.Click, AddressOf Me.bt_seek_Click
行 389:
行 390: #End ExternalSource
行 391: Return __ctrl
行 392: End Function
行 393:
行 394: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 395: Private Function __BuildControlAv_ucProductLeft1() As Global.ASP.av_ucProductLeft
行 396: Dim __ctrl As Global.ASP.av_ucProductLeft
行 397:
行 398: #ExternalSource("C:\www\avs360.cn\av_product.aspx",182)
行 399: __ctrl = New Global.ASP.av_ucProductLeft
行 400:
行 401: #End ExternalSource
行 402: Me.Av_ucProductLeft1 = __ctrl
行 403:
行 404: #ExternalSource("C:\www\avs360.cn\av_product.aspx",182)
行 405: __ctrl.InitializeAsUserControl(Me.Page)
行 406:
行 407: #End ExternalSource
行 408:
行 409: #ExternalSource("C:\www\avs360.cn\av_product.aspx",182)
行 410: __ctrl.ID = "Av_ucProductLeft1"
行 411:
行 412: #End ExternalSource
行 413: Return __ctrl
行 414: End Function
行 415:
行 416: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 417: Private Function __BuildControllbl_Total() As Global.System.Web.UI.WebControls.Label
行 418: Dim __ctrl As Global.System.Web.UI.WebControls.Label
行 419:
行 420: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 421: __ctrl = New Global.System.Web.UI.WebControls.Label
行 422:
行 423: #End ExternalSource
行 424: Me.lbl_Total = __ctrl
行 425: __ctrl.TemplateControl = Me
行 426: __ctrl.ApplyStyleSheetSkin(Me)
行 427:
行 428: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 429: __ctrl.ID = "lbl_Total"
行 430:
行 431: #End ExternalSource
行 432:
行 433: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 434: __ctrl.Text = "共有"
行 435:
行 436: #End ExternalSource
行 437: Return __ctrl
行 438: End Function
行 439:
行 440: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 441: Private Function __BuildControllblRecordCount() As Global.System.Web.UI.WebControls.Label
行 442: Dim __ctrl As Global.System.Web.UI.WebControls.Label
行 443:
行 444: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 445: __ctrl = New Global.System.Web.UI.WebControls.Label
行 446:
行 447: #End ExternalSource
行 448: Me.lblRecordCount = __ctrl
行 449: __ctrl.TemplateControl = Me
行 450: __ctrl.ApplyStyleSheetSkin(Me)
行 451:
行 452: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 453: __ctrl.ID = "lblRecordCount"
行 454:
行 455: #End ExternalSource
行 456:
行 457: #ExternalSource("C:\www\avs360.cn\av_product.aspx",246)
行 458: __ctrl.Text = "总记录数"
行 459:
行 460: #End ExternalSource
行 461: Return __ctrl
行 462: End Function
行 463:
行 464: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 465: Private Function __BuildControllbl_Record() As Global.System.Web.UI.WebControls.Label
行 466: Dim __ctrl As Global.System.Web.UI.WebControls.Label
行 467:
行 468: #ExternalSource("C:\www\avs360.cn\av_product.aspx",247)
行 469: __ctrl = New Global.System.Web.UI.WebControls.Label
行 470:
行 471: #End ExternalSource
行 472: Me.lbl_Record = __ctrl
行 473: __ctrl.TemplateControl = Me
行 474: __ctrl.ApplyStyleSheetSkin(Me)
行 475:
行 476: #ExternalSource("C:\www\avs360.cn\av_product.aspx",247)
行 477: __ctrl.ID = "lbl_Record"
行 478:
行 479: #End ExternalSource
行 480:
行 481: #ExternalSource("C:\www\avs360.cn\av_product.aspx",247)
行 482: __ctrl.Text = "条"
行 483:
行 484: #End ExternalSource
行 485: Return __ctrl
行 486: End Function
行 487:
行 488: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 489: Private Function __BuildControllb_pre() As Global.System.Web.UI.WebControls.LinkButton
行 490: Dim __ctrl As Global.System.Web.UI.WebControls.LinkButton
行 491:
行 492: #ExternalSource("C:\www\avs360.cn\av_product.aspx",249)
行 493: __ctrl = New Global.System.Web.UI.WebControls.LinkButton
行 494:
行 495: #End ExternalSource
行 496: Me.lb_pre = __ctrl
行 497: __ctrl.TemplateControl = Me
行 498: __ctrl.ApplyStyleSheetSkin(Me)
行 499:
行 500: #ExternalSource("C:\www\avs360.cn\av_product.aspx",249)
行 501: __ctrl.ID = "lb_pre"
行 502:
行 503: #End ExternalSource
行 504: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
行 505:
行 506: #ExternalSource("C:\www\avs360.cn\av_product.aspx",249)
行 507: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("上一页"))
行 508:
行 509: #End ExternalSource
行 510:
行 511: #ExternalSource("C:\www\avs360.cn\av_product.aspx",249)
行 512: AddHandler __ctrl.Click, AddressOf Me.lb_pre_Click
行 513:
行 514: #End ExternalSource
行 515: Return __ctrl
行 516: End Function
行 517:
行 518: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 519: Private Function __BuildControllb_next() As Global.System.Web.UI.WebControls.LinkButton
行 520: Dim __ctrl As Global.System.Web.UI.WebControls.LinkButton
行 521:
行 522: #ExternalSource("C:\www\avs360.cn\av_product.aspx",250)
行 523: __ctrl = New Global.System.Web.UI.WebControls.LinkButton
行 524:
行 525: #End ExternalSource
行 526: Me.lb_next = __ctrl
行 527: __ctrl.TemplateControl = Me
行 528: __ctrl.ApplyStyleSheetSkin(Me)
行 529:
行 530: #ExternalSource("C:\www\avs360.cn\av_product.aspx",250)
行 531: __ctrl.ID = "lb_next"
行 532:
行 533: #End ExternalSource
行 534: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
行 535:
行 536: #ExternalSource("C:\www\avs360.cn\av_product.aspx",250)
行 537: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("下一页"))
行 538:
行 539: #End ExternalSource
行 540:
行 541: #ExternalSource("C:\www\avs360.cn\av_product.aspx",250)
行 542: AddHandler __ctrl.Click, AddressOf Me.lb_next_Click
行 543:
行 544: #End ExternalSource
行 545: Return __ctrl
行 546: End Function
行 547:
行 548: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 549: Private Function __BuildControllbl_TotalPage() As Global.System.Web.UI.WebControls.Label
行 550: Dim __ctrl As Global.System.Web.UI.WebControls.Label
行 551:
行 552: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 553: __ctrl = New Global.System.Web.UI.WebControls.Label
行 554:
行 555: #End ExternalSource
行 556: Me.lbl_TotalPage = __ctrl
行 557: __ctrl.TemplateControl = Me
行 558: __ctrl.ApplyStyleSheetSkin(Me)
行 559:
行 560: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 561: __ctrl.ID = "lbl_TotalPage"
行 562:
行 563: #End ExternalSource
行 564:
行 565: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 566: __ctrl.Text = "共"
行 567:
行 568: #End ExternalSource
行 569: Return __ctrl
行 570: End Function
行 571:
行 572: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 573: Private Function __BuildControllblpagecount() As Global.System.Web.UI.WebControls.Label
行 574: Dim __ctrl As Global.System.Web.UI.WebControls.Label
行 575:
行 576: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 577: __ctrl = New Global.System.Web.UI.WebControls.Label
行 578:
行 579: #End ExternalSource
行 580: Me.lblpagecount = __ctrl
行 581: __ctrl.TemplateControl = Me
行 582: __ctrl.ApplyStyleSheetSkin(Me)
行 583:
行 584: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 585: __ctrl.ID = "lblpagecount"
行 586:
行 587: #End ExternalSource
行 588:
行 589: #ExternalSource("C:\www\avs360.cn\av_product.aspx",251)
行 590: __ctrl.Text = "总页数"
行 591:
行 592: #End ExternalSource
行 593: Return __ctrl
行 594: End Function
行 595:
行 596: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 597: Private Function __BuildControllbl_page() As Global.System.Web.UI.WebControls.Label
行 598: Dim __ctrl As Global.System.Web.UI.WebControls.Label
行 599:
行 600: #ExternalSource("C:\www\avs360.cn\av_product.aspx",252)
行 601: __ctrl = New Global.System.Web.UI.WebControls.Label
行 602:
行 603: #End ExternalSource
行 604: Me.lbl_page = __ctrl
行 605: __ctrl.TemplateControl = Me
行 606: __ctrl.ApplyStyleSheetSkin(Me)
行 607:
行 608: #ExternalSource("C:\www\avs360.cn\av_product.aspx",252)
行 609: __ctrl.ID = "lbl_page"
行 610:
行 611: #End ExternalSource
行 612:
行 613: #ExternalSource("C:\www\avs360.cn\av_product.aspx",252)
行 614: __ctrl.Text = "页"
行 615:
行 616: #End ExternalSource
行 617: Return __ctrl
行 618: End Function
行 619:
行 620: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 621: Private Function __BuildControllblCurrentPage() As Global.System.Web.UI.WebControls.TextBox
行 622: Dim __ctrl As Global.System.Web.UI.WebControls.TextBox
行 623:
行 624: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 625: __ctrl = New Global.System.Web.UI.WebControls.TextBox
行 626:
行 627: #End ExternalSource
行 628: Me.lblCurrentPage = __ctrl
行 629: __ctrl.TemplateControl = Me
行 630: __ctrl.ApplyStyleSheetSkin(Me)
行 631:
行 632: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 633: __ctrl.ID = "lblCurrentPage"
行 634:
行 635: #End ExternalSource
行 636:
行 637: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 638: __ctrl.Columns = 3
行 639:
行 640: #End ExternalSource
行 641:
行 642: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 643: __ctrl.MaxLength = 4
行 644:
行 645: #End ExternalSource
行 646:
行 647: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 648: CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("onkeypress", "return(clickButton());")
行 649:
行 650: #End ExternalSource
行 651:
行 652: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 653: __ctrl.AutoPostBack = true
行 654:
行 655: #End ExternalSource
行 656:
行 657: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 658: __ctrl.Width = New System.Web.UI.WebControls.Unit(24, System.Web.UI.WebControls.UnitType.Pixel)
行 659:
行 660: #End ExternalSource
行 661:
行 662: #ExternalSource("C:\www\avs360.cn\av_product.aspx",254)
行 663: AddHandler __ctrl.TextChanged, AddressOf Me.lblCurrentPage_TextChanged
行 664:
行 665: #End ExternalSource
行 666: Return __ctrl
行 667: End Function
行 668:
行 669: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 670: Private Function __BuildControlbtnredirect() As Global.System.Web.UI.WebControls.Button
行 671: Dim __ctrl As Global.System.Web.UI.WebControls.Button
行 672:
行 673: #ExternalSource("C:\www\avs360.cn\av_product.aspx",257)
行 674: __ctrl = New Global.System.Web.UI.WebControls.Button
行 675:
行 676: #End ExternalSource
行 677: Me.btnredirect = __ctrl
行 678: __ctrl.TemplateControl = Me
行 679: __ctrl.ApplyStyleSheetSkin(Me)
行 680:
行 681: #ExternalSource("C:\www\avs360.cn\av_product.aspx",257)
行 682: __ctrl.ID = "btnredirect"
行 683:
行 684: #End ExternalSource
行 685:
行 686: #ExternalSource("C:\www\avs360.cn\av_product.aspx",257)
行 687: __ctrl.Text = "跳转"
行 688:
行 689: #End ExternalSource
行 690:
行 691: #ExternalSource("C:\www\avs360.cn\av_product.aspx",257)
行 692: AddHandler __ctrl.Click, AddressOf Me.btnredirect_Click
行 693:
行 694: #End ExternalSource
行 695: Return __ctrl
行 696: End Function
行 697:
行 698: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 699: Private Sub __BuildControlContent1(ByVal __ctrl As System.Web.UI.Control)
行 700: Dim __ctrl1 As Global.System.Web.UI.WebControls.TextBox
行 701:
行 702: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 703: __ctrl1 = Me.__BuildControltxtKeyword
行 704:
行 705: #End ExternalSource
行 706: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
行 707:
行 708: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 709: __parser.AddParsedSubObject(__ctrl1)
行 710:
行 711: #End ExternalSource
行 712: Dim __ctrl2 As Global.System.Web.UI.WebControls.DropDownList
行 713:
行 714: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 715: __ctrl2 = Me.__BuildControlcb_cata_uppp
行 716:
行 717: #End ExternalSource
行 718:
行 719: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 720: __parser.AddParsedSubObject(__ctrl2)
行 721:
行 722: #End ExternalSource
行 723: Dim __ctrl3 As Global.System.Web.UI.WebControls.Button
行 724:
行 725: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 726: __ctrl3 = Me.__BuildControlbt_seek
行 727:
行 728: #End ExternalSource
行 729:
行 730: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 731: __parser.AddParsedSubObject(__ctrl3)
行 732:
行 733: #End ExternalSource
行 734: Dim __ctrl4 As Global.ASP.av_ucProductLeft
行 735:
行 736: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 737: __ctrl4 = Me.__BuildControlAv_ucProductLeft1
行 738:
行 739: #End ExternalSource
行 740:
行 741: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 742: __parser.AddParsedSubObject(__ctrl4)
行 743:
行 744: #End ExternalSource
行 745: Dim __ctrl5 As Global.System.Web.UI.WebControls.Label
行 746:
行 747: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 748: __ctrl5 = Me.__BuildControllbl_Total
行 749:
行 750: #End ExternalSource
行 751:
行 752: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 753: __parser.AddParsedSubObject(__ctrl5)
行 754:
行 755: #End ExternalSource
行 756: Dim __ctrl6 As Global.System.Web.UI.WebControls.Label
行 757:
行 758: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 759: __ctrl6 = Me.__BuildControllblRecordCount
行 760:
行 761: #End ExternalSource
行 762:
行 763: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 764: __parser.AddParsedSubObject(__ctrl6)
行 765:
行 766: #End ExternalSource
行 767: Dim __ctrl7 As Global.System.Web.UI.WebControls.Label
行 768:
行 769: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 770: __ctrl7 = Me.__BuildControllbl_Record
行 771:
行 772: #End ExternalSource
行 773:
行 774: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 775: __parser.AddParsedSubObject(__ctrl7)
行 776:
行 777: #End ExternalSource
行 778: Dim __ctrl8 As Global.System.Web.UI.WebControls.LinkButton
行 779:
行 780: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 781: __ctrl8 = Me.__BuildControllb_pre
行 782:
行 783: #End ExternalSource
行 784:
行 785: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 786: __parser.AddParsedSubObject(__ctrl8)
行 787:
行 788: #End ExternalSource
行 789: Dim __ctrl9 As Global.System.Web.UI.WebControls.LinkButton
行 790:
行 791: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 792: __ctrl9 = Me.__BuildControllb_next
行 793:
行 794: #End ExternalSource
行 795:
行 796: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 797: __parser.AddParsedSubObject(__ctrl9)
行 798:
行 799: #End ExternalSource
行 800: Dim __ctrl10 As Global.System.Web.UI.WebControls.Label
行 801:
行 802: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 803: __ctrl10 = Me.__BuildControllbl_TotalPage
行 804:
行 805: #End ExternalSource
行 806:
行 807: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 808: __parser.AddParsedSubObject(__ctrl10)
行 809:
行 810: #End ExternalSource
行 811: Dim __ctrl11 As Global.System.Web.UI.WebControls.Label
行 812:
行 813: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 814: __ctrl11 = Me.__BuildControllblpagecount
行 815:
行 816: #End ExternalSource
行 817:
行 818: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 819: __parser.AddParsedSubObject(__ctrl11)
行 820:
行 821: #End ExternalSource
行 822: Dim __ctrl12 As Global.System.Web.UI.WebControls.Label
行 823:
行 824: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 825: __ctrl12 = Me.__BuildControllbl_page
行 826:
行 827: #End ExternalSource
行 828:
行 829: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 830: __parser.AddParsedSubObject(__ctrl12)
行 831:
行 832: #End ExternalSource
行 833: Dim __ctrl13 As Global.System.Web.UI.WebControls.TextBox
行 834:
行 835: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 836: __ctrl13 = Me.__BuildControllblCurrentPage
行 837:
行 838: #End ExternalSource
行 839:
行 840: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 841: __parser.AddParsedSubObject(__ctrl13)
行 842:
行 843: #End ExternalSource
行 844: Dim __ctrl14 As Global.System.Web.UI.WebControls.Button
行 845:
行 846: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 847: __ctrl14 = Me.__BuildControlbtnredirect
行 848:
行 849: #End ExternalSource
行 850:
行 851: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 852: __parser.AddParsedSubObject(__ctrl14)
行 853:
行 854: #End ExternalSource
行 855: __ctrl.SetRenderMethodDelegate(AddressOf Me.__RenderContent1)
行 856: End Sub
行 857:
行 858: Private Sub __RenderContent1(ByVal __w As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
行 859: Me.WriteUTF8ResourceString(__w, 26255, 541, false)
行 860: parameterContainer.Controls(0).RenderControl(__w)
行 861: __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" ")
行 862: parameterContainer.Controls(1).RenderControl(__w)
行 863: __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" ")
行 864: parameterContainer.Controls(2).RenderControl(__w)
行 865: Me.WriteUTF8ResourceString(__w, 26796, 331, true)
行 866: parameterContainer.Controls(3).RenderControl(__w)
行 867: Me.WriteUTF8ResourceString(__w, 27127, 1611, true)
行 868:
行 869: #ExternalSource("C:\www\avs360.cn\av_product.aspx",214)
行 870:
行 871: For i = 0 To dt.Rows.Count - 1
行 872:
行 873:
行 874: #End ExternalSource
行 875: __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" "& _
行 876: " <td width=""24%"" height=""50"" align=""left"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" "& _
行 877: " <a href=""")
行 878:
行 879: #ExternalSource("C:\www\avs360.cn\av_product.aspx",219)
行 880: __w.Write(dt.rows(i)("website"))
行 881:
行 882:
行 883: #End ExternalSource
行 884: __w.Write(""" target=""_blank"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" <img src=""../"& _
行 885: "uppic/")
行 886:
行 887: #ExternalSource("C:\www\avs360.cn\av_product.aspx",220)
行 888: __w.Write(dt.Rows(i)("pic"))
行 889:
行 890:
行 891: #End ExternalSource
行 892: __w.Write(""" alt="""" width=""180"" height=""40"" border=""0"" /></a></td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" "& _
行 893: " <td width=""76%"" align=""left"" style=""font-size: 14px;"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" "& _
行 894: " <strong><a href=""")
行 895:
行 896: #ExternalSource("C:\www\avs360.cn\av_product.aspx",222)
行 897: __w.Write(dt.rows(i)("website"))
行 898:
行 899:
行 900: #End ExternalSource
行 901: __w.Write(""" target=""_blank"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" ")
行 902:
行 903: #ExternalSource("C:\www\avs360.cn\av_product.aspx",223)
行 904: __w.Write(dt.rows(i)("f_name"))
行 905:
行 906:
行 907: #End ExternalSource
行 908: Me.WriteUTF8ResourceString(__w, 28738, 533, true)
行 909:
行 910: #ExternalSource("C:\www\avs360.cn\av_product.aspx",231)
行 911: __w.Write(dt.rows(i)("f_content"))
行 912:
行 913:
行 914: #End ExternalSource
行 915: Me.WriteUTF8ResourceString(__w, 29271, 408, true)
行 916:
行 917: #ExternalSource("C:\www\avs360.cn\av_product.aspx",239)
行 918:
行 919: Next
行 920:
行 921:
行 922: #End ExternalSource
行 923: Me.WriteUTF8ResourceString(__w, 29679, 272, true)
行 924: parameterContainer.Controls(4).RenderControl(__w)
行 925: parameterContainer.Controls(5).RenderControl(__w)
行 926: parameterContainer.Controls(6).RenderControl(__w)
行 927: __w.Write(" "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" ")
行 928: parameterContainer.Controls(7).RenderControl(__w)
行 929: __w.Write(" "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" ")
行 930: parameterContainer.Controls(8).RenderControl(__w)
行 931: __w.Write(" "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" ")
行 932: parameterContainer.Controls(9).RenderControl(__w)
行 933: parameterContainer.Controls(10).RenderControl(__w)
行 934: parameterContainer.Controls(11).RenderControl(__w)
行 935: __w.Write(" "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" 当前第"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" "& _
行 936: " ")
行 937: parameterContainer.Controls(12).RenderControl(__w)
行 938: __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" 页 "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&" "& _
行 939: " ")
行 940: parameterContainer.Controls(13).RenderControl(__w)
行 941: Me.WriteUTF8ResourceString(__w, 29951, 348, true)
行 942: End Sub
行 943:
行 944: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 945: Private Sub __BuildControlTree(ByVal __ctrl As av_product_aspx)
行 946:
行 947: #ExternalSource("C:\www\avs360.cn\av_product.aspx",1)
行 948: __ctrl.MasterPageFile = "av.master"
行 949:
行 950: #End ExternalSource
行 951:
行 952: #ExternalSource("C:\www\avs360.cn\av_product.aspx",1)
行 953: __ctrl.Title = "多媒体服务--OPTOMA奥图码投影机、Panasonic松下投影机、SANYO三洋投影机、MITSUBISHI三菱投影机、松下等离子显示器、LG等离子电视、LG"& _
行 954: "液晶电视、三星液晶显示器、美视投影屏幕、DNP硬幕"
行 955:
行 956: #End ExternalSource
行 957:
行 958: #ExternalSource("C:\www\avs360.cn\av_product.aspx",1)
行 959: __ctrl.EnableEventValidation = false
行 960:
行 961: #End ExternalSource
行 962:
行 963: #ExternalSource("C:\www\avs360.cn\av_product.aspx",1)
行 964: __ctrl.ViewStateEncryptionMode = System.Web.UI.ViewStateEncryptionMode.Never
行 965:
行 966: #End ExternalSource
行 967:
行 968: #ExternalSource("C:\www\avs360.cn\av_product.aspx",1)
行 969: Me.InitializeCulture
行 970:
行 971: #End ExternalSource
行 972:
行 973: #ExternalSource("C:\www\avs360.cn\av_product.aspx",151)
行 974: Me.AddContentTemplate("ContentPlaceHolder1", New System.Web.UI.CompiledTemplateBuilder(AddressOf Me.__BuildControlContent1))
行 975:
行 976: #End ExternalSource
行 977: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
行 978:
行 979: #ExternalSource("C:\www\avs360.cn\av_product.aspx",1)
行 980: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)))
行 981:
行 982: #End ExternalSource
行 983: End Sub
行 984:
行 985: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 986: Protected Overrides Sub FrameworkInitialize()
行 987: MyBase.FrameworkInitialize
行 988: Me.SetStringResourcePointer(Global.ASP.av_product_aspx.__stringResource, 0)
行 989: Me.__BuildControlTree(Me)
行 990: Me.AddWrappedFileDependencies(Global.ASP.av_product_aspx.__fileDependencies)
行 991: Me.Request.ValidateInput
行 992: End Sub
行 993:
行 994: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 995: Public Overrides Function GetTypeHashCode() As Integer
行 996: Return 1366263609
行 997: End Function
行 998:
行 999: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
行 1000: Public Overrides Sub ProcessRequest(ByVal context As System.Web.HttpContext)
行 1001: MyBase.ProcessRequest(context)
行 1002: End Sub
行 1003: End Class
行 1004: End Namespace
行 1005:
|