Author: reza141414 | Posted on: 1/20/2010 5:53:59 AM | Views : 245

hi...
i have UserControl that i have been made in my website ...
now i want to use that UserControl in my webProject...  i insert the UserControl but when i want to run the project i vs find some bug..
the bugs are: the of the Controls that i use them in my .cs:

<asp:DropDownList ID="Unit" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="UnitName" DataValueField="Unit_id" onselectedindexchanged="Unit_SelectedIndexChanged" Width="100px"> </asp:DropDownList>

public int unit { get { return int.Parse(Unit.SelectedValue); } set { Unit.SelectedValue = val ...

Go to the complete details ...