I have a xx.ascx that has
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="~/Utilities/DataAccessLayer.cs" Inherits="Foo.Dal.DataAccessLayer" %>
<td valign="middle" style="width: 120px;">
<asp:DropDownList id="listNames" runat="server"></asp:DropDownList>
<%--<select id="asset" onchange="swap_mode();" class="productType">
<option value="NA" selected>xxxx</option>
<option value="NA1">sss</option>
<option value="NA2">ssss</option>
</select>--%>
</td>
I want in the DataAccessLayer.cs file to reference the server control here is partial code:
Go to the complete details ...