472,126 Members | 1,563 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,126 software developers and data experts.

Combining Two Data Sources for one Data List

I am binding the results of a database query to a DataList using the
following code:

SqlDataAdapter myCommand = new SqlDataAdapter("SELECT * FROM
_Hardware_Configurations", myConnection);
DataSet myDs = new DataSet();
myCommand.Fill(myDs, "_Hardware_Configurations");
dtlConfigurations.DataSource =

What I would like to do is for every record returned I want to use that
information to query another datasource (WMI) and then intermix it into the

For example, the SQL query is a list of server names. For each server name
returned, I wanted to go off and query that server using WMI and retrieve
the OS and display it inline with each record. I have the WMI stuff done; I
just am not sure how to append the WMI data to the Data List or otherwise
access that WMI data within the ItemTemplate of my code-front

Does that make sense?
Nov 18 '05 #1
0 1129

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Vikram | last post: by
2 posts views Thread by Kenneth Fosse | last post: by
1 post views Thread by Jon Brunson | last post: by
reply views Thread by Will Honea | last post: by
13 posts views Thread by Leszek Taratuta | last post: by
3 posts views Thread by zdrakec | last post: by
7 posts views Thread by MarkusJNZ | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.