[]
Finds the first row index such that the cell text starts with string s in the column specified by the DisplayMember property.
public int FindString(string s)
Public Function FindString(s As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | s | The target string. |
| Type | Description |
|---|---|
| int |
Finds the first row index after startIndex such that the cell text starts with string s in the column specified by the DisplayMember property.
public int FindString(string s, int startIndex)
Public Function FindString(s As String, startIndex As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| string | s | The target string. |
| int | startIndex | The row started. |
| Type | Description |
|---|---|
| int |
Finds the first row index after startIndex such that the cell text starts with string s in the given column.
public int FindString(string s, int startIndex, int col)
Public Function FindString(s As String, startIndex As Integer, col As Integer) As Integer
| Type | Name | Description |
|---|---|---|
| string | s | The target string. |
| int | startIndex | The row started. |
| int | col | The index of column. |
| Type | Description |
|---|---|
| int |
Finds the first row index after startIndex such that the cell text starts with string s in the given column.
public int FindString(string s, int startIndex, string field)
Public Function FindString(s As String, startIndex As Integer, field As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | s | The target string. |
| int | startIndex | The row started. |
| string | field | The field name of the column. |
| Type | Description |
|---|---|
| int |