Gets or sets the name of the data model.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Name As String |
C# | |
---|
public string Name {get; set;} |
Property Value
String containing the name
Exceptions
Example
This example returns the name of the model.
C# | Copy Code |
---|
FarPoint.Web.Spread.Model.DefaultSheetDataModel dsdm;
private void PageLoad(object sender, System.EventArgs e)
{
dsdm = (FarPoint.Web.Spread.Model.DefaultSheetDataModel)FpSpread1.ActiveSheetView.DataModel;
Response.Write(dsdm.Name);
}
|
Visual Basic | Copy Code |
---|
Friend WithEvents dsdm As FarPoint.Web.Spread.Model.DefaultSheetDataModel
Private Sub PageLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
dsdm = FpSpread1.ActiveSheetView.DataModel
Response.Write(dsdm.Name)
End Sub |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also