R
Rich Wallace
Can anyone translate this to VB.NET code please?
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 test
{
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label lblPJID;
protected System.Web.UI.WebControls.Label lblPLID;
protected System.Web.UI.WebControls.Label lblPOID;
private void Page_Load(object sender, System.EventArgs e)
{
com.jfshea.webservices.SheaGateway wsTest = new
test.com.jfshea.webservices.SheaGateway();
com.jfshea.webservices.DataGetPlanInfoByJDEPlanID returnedData =
wsTest.GetPlanInfoByJDEPlanID(" 3252350000", "bx", "003x");
lblPJID.Text = "PJID=: " + returnedData.Diagnostics.ErrorCode;
lblPLID.Text = "PLID=: " +
returnedData.Diagnostics.ErrorDescription;
lblPOID.Text = "POID=: " + returnedData.Diagnostics.Date;
}
}
}
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 test
{
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label lblPJID;
protected System.Web.UI.WebControls.Label lblPLID;
protected System.Web.UI.WebControls.Label lblPOID;
private void Page_Load(object sender, System.EventArgs e)
{
com.jfshea.webservices.SheaGateway wsTest = new
test.com.jfshea.webservices.SheaGateway();
com.jfshea.webservices.DataGetPlanInfoByJDEPlanID returnedData =
wsTest.GetPlanInfoByJDEPlanID(" 3252350000", "bx", "003x");
lblPJID.Text = "PJID=: " + returnedData.Diagnostics.ErrorCode;
lblPLID.Text = "PLID=: " +
returnedData.Diagnostics.ErrorDescription;
lblPOID.Text = "POID=: " + returnedData.Diagnostics.Date;
}
}
}