Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
How do I display my Search results in a dataGrid control ?
Waqas Ali
Jul 23 2012 5:00 AM
888
Reply
Hello,
I am trying to display the search results I obtain from searching a database in a datagrid control present on my form.
I have a dataRow array named returnedRows in which all the rows found are stored.
I know how to populate a datagrid in normal conditions but I can display the rows in returnedRows in my datagrid.
This is my code in normal conditions.
dataGrid1.DataSource = dvdDS; //DataSet
dataGrid1.DataMember = "manager";//Table name I have specified
How do I change this code so it will display the results from my searches ?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
N-Tier Typed DataSet
insert multiple data in single table at a time by clicking button