or
void
gvLiveCnns_CellBeginEdit(
object
sender, GridViewCellCancelEventArgs e)
{
// Do some work, cancel event if work not performed as expected
this
.gvLiveCnns.EndEdit();
this
.gvLiveCnns.ActiveEditor.EndEdit();
this
.gvLiveCnns.CloseEditor();
}
Private
Sub
findCustomer(
Optional
ByVal
s
As
String
=
Nothing
)
Dim
cs = From c
In
cA.
Select
(
False
) Where _
IIf(IsNothing(s), 1 = 1, c.cLastName
Like
s &
"*"
) _
Select
New
With
_
{ _
.Name = c.cLastName &
", "
& c.cFirstName, _
.Phone = c.cPhoneHome &
" / "
& c.cPhoneWork, _
.DOB = c.cDateOfBirth _
}
_totalCount = cs.Count
_currentCount = 0
loadCustomers()
End
Sub