Dynamicweb 8 Documentation
Create Method (OrderLineField)
Example 

Name of the system.
Creates the specified OrderLineField object.
Syntax
'Declaration
 
Public Shared Function Create( _ 
   ByVal systemName As String _ 
) As OrderLineField
public static OrderLineField Create( 
   string systemName 
)

Parameters

systemName
Name of the system.
Example
class OrderLineField_EditPage : System.Web.UI.Page
{
   protected void Page_Load(object sender, System.EventArgs e)
   {
   	
   	   if (!Page.IsPostBack)
       {
   		   if (Base.Request("SystemName") != null)
   		   {
   			   OrderLineField field = OrderLineField.Create(Base.Request("SystemName"));
   			   SystemNameText.Text = field.SystemName;
   			   NameText.Text = field.Name;
   			   LengthText.Text = field.Length.ToString();
   			   SystemNameText.Enabled = false;
   		    }
   		    else
   		    {
   			   IsNewOrderLineField.Value = "true";
   		    }
   	   }

   }
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OrderLineField Class
OrderLineField Members

Send Feedback