Hi i have created a search system at the moment i have connected to a MS database and have created select querys (select, from, where) the user enters a forname or searchname and the results show up in the appropriate textboxes and if there is more than one result the user can use the navigate button to move through the results im just wondering how i would show the results in a datagrid and allow the user to select one of the results and show it in the text boxes rather than what is currently in place....also i have images stored in the databse but dont kno how to display this with the results in my project
any help would be much appriciated
IT21
0
Newbie Poster
Recommended Answers
Jump to PostYou have to point the datagridview's datasource property to the table you are storing the results
DataGridView1.DataSource = myDataset.Tables("myTable")
As to the pictures, this can be done but is not recommended. It is much better to store the files path to a database and use that path to …
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.