hi friend
i done project here i want move my records from table in the windows form
like previous record and next record like that and while moving the record i should not edit one textbox for example code field
and some textboxes i can update
can any one give a solution
Loading
kiran kumarPosted Feb 25, 2010, 3:02 AM
MARK THE ANSWER IF IT HELPS YOU
kiran kumarPosted Feb 26, 2010, 3:42 AM
vijay antonyPosted Feb 26, 2010, 3:31 AM
hi kiran we discussed about first record and previous record movement
but i got your code but it did not help mecan you send me clearly wat exact to do
vijay antonyPosted Feb 26, 2010, 3:29 AM
hi kiran
if the textbox accept the numeric value only means just try this code that code must be in textbox with key press eventPrivate Sub Textbox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Textbox1.KeyPress
Try
If Char.IsLetter(e.KeyChar) Then
e.Handled = True
msgbox("it allows only numeric values")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
kiran kumarPosted Feb 25, 2010, 4:45 AM
that did not help you?
vijay antonyPosted Feb 25, 2010, 3:56 AM
thanks a lot
regards vijay antony
vijay antonyPosted Feb 25, 2010, 2:32 AM
please
kiran kumarPosted Feb 25, 2010, 2:10 AM
here i have done a task for you,i am uploading the project files here with database.
if you want to make the textbox non-editable go to that particular textbox properties set readonly property to true,and updating textbox values to database is quiet easy.you can do that.here i have done a task which moves the records back and forth
mark the answer if it helps you