tnx for all the replies...
JORGeM THANK YOU FOR MOVING MY DISCUSSION :)
Ive done barrowing and adding new book
My only problem is when the user return the book
i have two datagrid one is for the borrowed and one is for the books.. AND I have the remaks in and out when the user return the book it should in the datagrid books and the remaks should change to IN...
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...