Author: VxChemical | Posted on: 7/20/2009 4:35:57 AM | Views : 1145

Iv created a dropdown list that lists files name on a drive i have, now i would like the button i have next to it, to open the file, i cant quite figure out how to do it, iv tried looking it up, but i have come up with nothing. here is my CS file.using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.IO; using System.Collections; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { refreshDropDown(); } protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { refreshDropDown(); } private void refreshDropDown() { DropDownList1.Items.Clear(); string dirpath = "E:\\training\\Visual Studio Express\\"; DirectoryInfo dir = new DirectoryInf ...

Go to the complete details ...