Dim fs As System.IO.FileStream = New System.IO.FileStream(Me.Page.MapPath("./Onyx.xml"),System.IO.FileMode.Open,System.IO.FileAccess.Read) Me.WebControl.LoadPreset(fs,True) fs.Close()
System.IO.FileStream fs = new System.IO.FileStream(this.Page.MapPath("./Onyx.xml"), System.IO.FileMode.Open, System.IO.FileAccess.Read); this.WebControl.LoadPreset(fs,true); fs.Close();