Partial Class UserControls_CompanyDetail
Inherits System.Web.UI.UserControl
Private _CompanyId As Integer = 0
Public Property CompanyId() As Integer
Get
Return _CompanyId
End Get
Set(ByVal value As Integer)
_CompanyId = value
DataSrcCompanyDetail.SelectParameters("Cid").DefaultValue = value
frmCompDetails.DataBind()
End Set
End Property
End Class
-----------------------------------
------Source-Code-----------------
----------------------------------
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CompanyDetail.ascx.vb"
Inherits="UserControls_CompanyDetail" %>
CellPadding="0" Width="100%" HorizontalAlign="Center" EnableViewState="false">
|
No comments:
Post a Comment