I have been asked to use data grid in my proj,bt i dnt knw hw to use this,please help...
On click of search btn,the data should be displayed in the grid and textbox,I know how to display in the text box,but dnt knw anything abt this grid........
PLEASE HELP:S
dev_kc
0
Light Poster
Recommended Answers
Jump to Postjust try :
Dim squery as String
Dim conn as ADODB.Connection
Dim Cm as ADODB.Command
Dim rs as ADODB. Recordsetsquery = "": squery = "Select * from tblGrade where StudentNumber=" & txtStudentNum.Text & ""
Set Cm = New ADODB.Command
With Cm
Set .ActiveConnection = conn
.CommandText = …
All 3 Replies
Reply to this topic
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.