Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / DataKeyNames Property

In This Topic
    DataKeyNames Property
    In This Topic
    Gets or sets an array of strings that contains the names of the key fields for the data source for this sheet.
    Public Property DataKeyNames As String()
    Dim instance As SheetView
    Dim value() As String
    instance.DataKeyNames = value
    value = instance.DataKeyNames
    public string[] DataKeyNames {get; set;}

    Property Value

    String containing the data key names
    FpSpread1.ActiveSheetView.DataKeyNames = new String[] {"LName", "FName"};
    FpSpread1.ActiveSheetView.DataKeyNames = New String() {"LName", "FName"}
    See Also