Spread for ASP.NET 10 Product Documentation
DataKeyNames Property
Example 


Gets or sets an array of strings that contains the names of the key fields for the data source for this sheet.
Syntax
'Declaration
 
Public Property DataKeyNames As String()
'Usage
 
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
Example
FpSpread1.ActiveSheetView.DataKeyNames = new String[] {"LName", "FName"};
FpSpread1.ActiveSheetView.DataKeyNames = New String() {"LName", "FName"}
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Managing Data Binding

 

 


Copyright © GrapeCity, inc. All rights reserved.