parameter query using multiple record vb.net, dr.girija, dr.girija narasimhan, vb.net, visual studio 2012, query builder, binding record, combo box
1 of 7
Download to read offline
More Related Content
Part23 parameter query using multiple record vb.net
1. Visual BASIC .NET 2012
PART 23-Parameter query using multiple record
Dr. GIRIJA NARASIMHAN 1
This slides are available http://slideshare.net /nbgirija
2. Dr. GIRIJA NARASIMHAN 2
This tutorial only for beginners , those
who dont have any knowledge about
any programming language skill and
application design.
3. Dr.GIRIJA NARASIMHAN 3
Public Class Form2
Private Sub COURSE1_Q1BindingNavigatorSaveItem_Click(sender As Object, e As EventArgs)
Handles COURSE1_Q1BindingNavigatorSaveItem.Click
Me.Validate()
Me.COURSE1_Q1BindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.CourseDataSet)
End Sub
Private Sub FillToolStripButton_Click(sender As Object, e As EventArgs) Handles
FillToolStripButton.Click
Try
Me.COURSE1_Q1TableAdapter.Fill(Me.CourseDataSet.COURSE1_Q1,
Param1ToolStripTextBox.Text)
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub
4. Dr.GIRIJA NARASIMHAN 4
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles
ComboBox1.SelectedIndexChanged
Me.COURSE1_Q1TableAdapter.Fill(Me.CourseDataSet.COURSE1_Q1, ComboBox1.Text)
End Sub
Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ComboBox1.Items.Add(3)
ComboBox1.Items.Add(4)
ComboBox1.Items.Add(5)
End Sub
End Class