or
Hello
I Used a RadTextBox and maskedEditBox in an component,and also wrote key Down event for both of them.
protected override void OnKeyDown(KeyEventArgs e)
base.OnKeyDown(e);

Dim oConn As New SqlServerCe.SqlCeConnection
oConn.ConnectionString = ConnectString
oConn.Open()
Dim oCmnd As New SqlServerCe.SqlCeCommand("select * from tblMyData", oConn)MyRadGridView.DataSource = oCmnd.ExecuteResultSet(SqlServerCe.ResultSetOptions.Updatable + SqlServerCe.ResultSetOptions.Scrollable)
