473,499 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Authors-Main

5 New Member
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
OleDbDataAdapter1.Fill(DataSet11)
Dim a, b, c As Integer
a = 1
Label4.Text = a
b = Me.BindingContext(DataSet11, "authors").Position
c = Me.BindingContext(DataSet11, "authors").Count
Label4.Text = a + b
Label5.Text = c

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim a, b, c As Integer
a = 1
Label4.Text = a
b = Me.BindingContext(DataSet11, "authors").Position
c = Me.BindingContext(DataSet11, "authors").Count
Label4.Text = a + b
Label5.Text = c
Me.BindingContext(DataSet11, "authors").Position = Me.BindingContext(DataSet11, "authors").Position + 1

End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim a, b, c As Integer
a = 1
Label4.Text = a
b = Me.BindingContext(DataSet11, "authors").Position
c = Me.BindingContext(DataSet11, "authors").Count
Label4.Text = a + b
Label5.Text = c

Me.BindingContext(DataSet11, "authors").Position = Me.BindingContext(DataSet11, "authors").Position - 1
End Sub

Private Sub First_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles First.Click
Dim a, b, c As Integer
a = 1
Label4.Text = a
b = Me.BindingContext(DataSet11, "authors").Position
c = Me.BindingContext(DataSet11, "authors").Count
Label4.Text = a + b
Label5.Text = c

Me.BindingContext(DataSet11, "authors").Position = 0
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim a, b, c As Integer
a = 1
Label4.Text = a
b = Me.BindingContext(DataSet11, "authors").Position
c = Me.BindingContext(DataSet11, "authors").Count
Label4.Text = a + b
Label5.Text = c

Me.BindingContext(DataSet11, "authors").Position = Me.BindingContext(DataSet11, "authors").Count - 1
End Sub

Private Sub Label4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label4.Click

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox4.Text = 0 Or TextBox4.Text > Me.BindingContext(DataSet11, "authors").Count Then
MsgBox("RECORD NOT FOUND")
Exit Sub
Else
Dim a, b, c As Integer
Me.BindingContext(DataSet11, "authors").Position = TextBox4.Text
a = 1
b = Me.BindingContext(DataSet11, "authors").Position
c = Me.BindingContext(DataSet11, "authors").Count
Label4.Text = TextBox4.Text
Label5.Text = c
Me.BindingContext(DataSet11, "authors").Position = TextBox4.Text
End If
End Sub

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
Me.BindingContext(DataSet11, "authors").EndCurrentEdit()
Me.OleDbDataAdapter1.Update(DataSet11)
MsgBox("Record Successfully Updated")
End Sub

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

End Sub

Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
Me.BindingContext(DataSet11, "authors").AddNew()
MsgBox("Insert Record Now")

End Sub

Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click
Dim a, b, c As Integer
a = 1
Label4.Text = a
b = Me.BindingContext(DataSet11, "authors").Position
c = Me.BindingContext(DataSet11, "authors").Count
Label4.Text = a + b
Label5.Text = c
Me.BindingContext(DataSet11, "authors").RemoveAt(Me.BindingContext(DataSet1 1, "authors").Position)
Me.OleDbDataAdapter1.Update(DataSet11)
MsgBox("Record Successfully Deleted")
End Sub

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
ComboBox1.DataSource = DataSet11.Authors
End Sub
End Class
Jul 26 '06 #1
1 1339
sashi
1,754 Recognized Expert Top Contributor
hi there,

what is the question?
Jul 29 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1487
by: petermac | last post by:
Hello: If this is the wrong medium for this type of request then I appologize... I am an editor for PHP | Architect magazine (www.phparch.com) and we are actively looking for authors for our...
1
3408
by: Stefan Ram | last post by:
Some style guides suggest to repeat a DC.creator meta-element for multiple authors, but doesn't this contradict its specification? "An entity primarily responsible for making the content of the...
0
1274
by: chilli | last post by:
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click 'load OleDbDataAdapter1.Fill(DataSet11) Dim a, b, c As Integer...
0
1203
by: Michelle | last post by:
ReviewNet Corporation is looking for a few authors to write on-line testing questions for a series of new .Net skills tests we are developing. We are looking to update some of our current tests...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7390
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4602
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.