Dynamicweb 8 Documentation
Delete(String,String,String) Method
Example 

The ID STR.
The method STR.
The method ID.
Deletes fee with the specified ID and method.
Syntax
'Declaration
 
Public Overloads Sub Delete( _ 
   ByVal IDStr As String, _ 
   ByVal methodStr As String, _ 
   ByVal methodID As String _ 
) 
public void Delete( 
   string IDStr,
   string methodStr,
   string methodID 
)

Parameters

IDStr
The ID STR.
methodStr
The method STR.
methodID
The method ID.
Example
class MyPage : System.Web.UI.Page
{
   private void Page_Load(System.Object sender, System.EventArgs e) 
   {
       String CMD = HttpContext.Current.Request.QueryString("CMD");

       if(CMD == "DeleteFeeLine")
       {
           String  FeeID = Base.ChkString(HttpContext.Current.Request.QueryString("FeeID"));
           String  MetID = Base.ChkString(HttpContext.Current.Request.QueryString("MetID"));
           Fee f = new Fee();
           f.Delete(FeeID, MetID);
       }
   }
}
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

Fee Class
Fee Members
Overload List

Send Feedback