Hi I am binding a html drop down list to one typed dataset that I
fill somewhere else. I call the fillddnParts() in the onload event of
my page. I have the html control named ddnParts in the aspx page with
the directive runat = server.
Is there something else that I must Do.
protected System.Web.UI.HtmlControls.HtmlSelect ddnParts;
public void fillDdnParts()
{
dsPart tempDsPart = new bllPart().data;
ddnParts.DataSource =
tempDsPart.Tables["Part"].DefaultView;
ddnParts.DataTextField = "descr";
ddnParts.DataValueField = "partNo";
ddnParts.DataBind();
}