finding records from database and displaying in datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deepmala26
    New Member
    • Nov 2008
    • 1

    #1

    finding records from database and displaying in datagrid

    Hi,
    I m doing a project in VB.NET.
    I've created form and database connectivity is done.
    I've displayed data in Datagrid through which user can sort and find records.
    for finding the records, one combo box is used in which column name is given.
    when user select the perticular column name then in the text box he should write the data which he wants to search.
    eg: If he select "Name" column in combo box then he writes name in the textbox such as "Priya" and click on Find Button then related data should be displayed in Datagrid.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    On the onselectedchang e event you could run a sql command and then bind to the result to the datagrid. Is this what you had in mind?

    Comment

    Working...