get dataset from a component

G

Guest

I have a web project that I've created a componet within it. I use it to get
all data from the and populate some datagrids which works fine. Now I need to
call a function in the component to populate some text boxes instead of a
datagrid or datalist. How can I populate text boxes from my aspx page that
calls a function in the component that returns a dataset?
 
D

Daniel M. Hendricks

Something like...

DataSet ds = new DataSet();
.... // INSERT CODE HERE TO POPULATE DATASET
.... // USING YOUR SPECUAL COMPONENT
myTextBox.Text = ds.Tables[0].Rows.Item[0];


I have a web project that I've created a componet within it. I use it to get
all data from the and populate some datagrids which works fine. Now I need to
call a function in the component to populate some text boxes instead of a
datagrid or datalist. How can I populate text boxes from my aspx page that
calls a function in the component that returns a dataset?
Daniel M. Hendricks
http://www.danhendricks.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top