Controls.Add(new LiteralControl("<select name=\"ddl\" id=\"ddl\">")); for(int i=0; i < DS.Tables[0].Rows.Count; i++) { Controls.Add(new LiteralControl("<option value=\"" + DS.Tables[0].Rows[i]["OV"] + "\" style=\"background-color: " + DS.Tables[0].Rows[i]["CV"] + "\">" + DS.Tables[0].Rows[i]["Color"] + "</option>")); } Controls.Add(new LiteralControl("</select>");My question is - if I am implmenting this as a function, what do I return this as to the calling program - System.Web.WebControls.DropDownList?