using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls Using system.Web.ui.htmlcontrols;
Namespace SOCENT {/// /// acquisition aggregate article /// summary> public class {component.genrss gr = new components.genRSS (); // instantiation Object
Strir Strrs = "";
Private void page_load (object sender, system.eventargs e) {response.contenttype = "application / xml"; // output and press XML data to display response.write (GETRSS ());}
/// /// acquisition aggregate article /// summary> public string getrss () {DataSet DS = gr.generatd (); // Call your generatersssS () method, get data
#Region Web Form Designer Generated Code Override Protected Void OnNit (Eventargs E) {// // Codegen: This call is required for the ASP.NET Web Form Designer. // InitializeComponent (); base.onit (e);} /// /// Designer Supports the required method - Do not use the code editor to modify the // / this method. /// summary> private () {this.load = new system.eventhandler (this.page_load);} #endregion}} Pick to: http://blog.9cbs.net/shoutor/archive / 2005/01/27/270203.aspx