expandata.net Class Library
DNFormElementBE Class
See Also  Example  Members
Collapse All Language:    C#     VB.NET
This class represents a single form element in the collection of elements accessible through the Form property of the DNUpFilesBE object.

Namespace: expandata.net
Assembly: expandata.net.dll

Syntax

C#
public class DNFormElementBE

VB.NET
dim DNFormElementBE AS new DNFormElementBE()

Remarks

DNFormElementBE class provides methods and properties to access a name/value pair representing Form element.

An instance of the DNFormElementBE class is created by the DNUpFilesBE object during a call to it's method ProcessRequest

Example

C# Copy Code


// Create a new DNUpFilesBE object
DNUpFilesBE dNUpFilesBE = new DNUpFilesBE();

// ProcessRequest
dNUpFilesBE.ProcessRequest(Request);

// Get form elements collection
DNFormElementCollectionBE dNFormElementCollectionBE = dNUpFilesBE.Form;

// Get the ist form element from collection
DNFormElementBE dNFormElementBE = dNFormElementCollectionBE[0];

// write to response
Response.Write(dNFormElementBE.Name + "," + dNFormElementBE.Value);


VB.NET Copy Code


'// Create a new DNUpFilesBE object
dim dNUpFilesBE as DNUpFilesBE = new DNUpFilesBE()

'// ProcessRequest
dNUpFilesBE.ProcessRequest(Request)

'// Get form elements collection
dim dNFormElementCollectionBE as DNFormElementCollectionBE = dNUpFilesBE.Form

'// Get the ist form element from collection
dim dNFormElementBE as DNFormElementBE = dNFormElementCollectionBE(0)

'// write to response
Response.Write(dNFormElementBE.Name + "," + dNFormElementBE.Value)

See Also
 
Send comments about this topic to expandata.net Inc.


Copyright © 2007 expandata Inc. All rights reserved.