|
|
|
|
|
| |
// / This HTML file was produced by the ProjectPublisher WebService, By Asaf Shelly / //
// / WebService URL is: http://Services.AsyncOp.com/ProjectPublisher/ProjectPublisherWSvc.asmx / //
// / Learn more and find the source code here: http://AsyncOp.com / //
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using PublishProject.ProjectPublisherWS;
namespace PublishProject
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string error = null;
string textFile = null;
ProjectPublisherWSvc ProjPublishSvc = new ProjectPublisherWSvc();
try { textFile = File.ReadAllText(TextBox1.Text); }
catch (Exception exp) { error = "Error opening input file: " + exp.Message; }
if (error != null) { Response.Write("Internal Error: \""+error+"\""); Response.End(); return; }
textFile = ProjPublishSvc.GenerateHTML(textFile);
Response.Write(textFile);
Response.End();
}
}
}
|
|
|
| |
|
|
| |
|
|
|
|
|
|