hi im having problem with my simple library i dont know what is the code to search a record in the data grid im ung adodc .. any one kindly help with my project only the search code.. is my problem so how to search in the data grid?
here's the preview
http://img38.picoodle.com/i5a4/born12/12c3_243_ucixs.jpg
chemes12
0
Newbie Poster
Recommended Answers
Jump to PostThe datagrid gets its result set from the database so maybe you may want to try searching the database table and if the result is found, you point to the record on the datagrid.
Jump to PostWhat DBMS are you working with?
Jump to PostImports System.Data.OleDb Public Class Form1 Inherits System.Windows.Forms.Form Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As_ System.EventArgs) Handles Button1.Click Try cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;_ Data Source=C:\emp.mdb;") 'provider to be used when working with access database …
Jump to PostFollow all events accordingly. The codes under the Button1_Click event should be pasted in your search button
All 16 Replies
Netcode
33
Veteran Poster
chemes12
0
Newbie Poster
Netcode
33
Veteran Poster
chemes12
0
Newbie Poster
Netcode
33
Veteran Poster
chemes12
0
Newbie Poster
chemes12
0
Newbie Poster
Netcode
33
Veteran Poster
chemes12
0
Newbie Poster
Netcode
33
Veteran Poster
chemes12
0
Newbie Poster
chemes12
0
Newbie Poster
chemes12
0
Newbie Poster
adam_k
239
Master Poster
chemes12
0
Newbie Poster
adam_k
239
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.