473,326 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Help i can't think, dataset and asp

Hi
I know I have seen this and done this but I just can't remember how.

In my C# code behind I call a web service and get a dataset.
DataSet EIADataSet = SqlHelper.ExecuteDataset(ConnectionString,
"ap_FundsReport", "valu1");

Now How can I show this data via the ASP code thur script tags
<%= EIADataSet.fieldname%>?

What do i need to do on the source side so I can place the scrip call for
field values within my asp table code?
<table style="position: relative">
<tr>
<td style="width: 156px"><%= EIADataSet.fieldname%></td>
</tr>
</table>

Thanks for the help!

Brian
Aug 29 '06 #1
1 1020
you need to wrap the tr (table row) in a asp:repeater. This is databindable
and will repeart the tablerow for each datarow in the dataset. Also you need
to change the
tag for something like <%# DataItem.fieldname %>

HTH

Ciaran O'Donnell
"BrianDH" wrote:
Hi
I know I have seen this and done this but I just can't remember how.

In my C# code behind I call a web service and get a dataset.
DataSet EIADataSet = SqlHelper.ExecuteDataset(ConnectionString,
"ap_FundsReport", "valu1");

Now How can I show this data via the ASP code thur script tags
<%= EIADataSet.fieldname%>?

What do i need to do on the source side so I can place the scrip call for
field values within my asp table code?
<table style="position: relative">
<tr>
<td style="width: 156px"><%= EIADataSet.fieldname%></td>
</tr>
</table>

Thanks for the help!

Brian
Sep 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
by: Peter Row | last post by:
Hi all, Here is my problem: I have a SQL Server 2000 DB with various NVarChar, NText fields in its tables. For some stupid reason the data was inserted into these fields in UTF8 encoding. ...
1
by: Linesh Gajera | last post by:
Hi Guys i having the same problem with Strongly typed dataset, I have created a stronsetly typed dataset by draging table from Server explorer and now i have retreived xml from SQL server 2000...
0
by: Christopher Ambler | last post by:
This is long, but it's driving me nuts. I need some adult supervision :-) (and I'm not above bribing for help) I have a stored procedure that I call that returns XML to me. The SP returns 3...
0
by: Patrick | last post by:
I'm working on a contact management application, and need a hand with one aspect... Here's what I want to create: ------------------------------------ A form split into two parts. There is a...
35
by: MuZZy | last post by:
Hi All, I got a issue here and hope someone can help me: Let's consider this code: // =================== CODE START ================================= using System; using System.Data; ...
6
by: Chad A. Beckner | last post by:
Does anyone know how to make common database connections "common" in all aspx files? In other words, instead of creating a SQLConnection, then a DataAdapter in every ASPX file for my application,...
4
by: steroche | last post by:
I would REALLY appreciate help please please please! Im sure it is probably blindingly obvious to most of you but I am totally in the dark here!I am lost - i thought i had finally figured out this...
5
by: EMW | last post by:
Hi, Can someone please look at this code and tell me why I get an exception error on the last line: For aa = 0 To ds.Tables(0).Columns.Count - 1 dbColumn = New SQLDMO.Column dbColumn.Name =...
10
by: pcthug | last post by:
Hi All, I am creating multi-tier app in vb.net using visual studio .net. I create a invoice.vb class file with properties, events and methods. This also has a line item collection class...
5
by: AAJ | last post by:
Hi all FIRST THE BORING BITS....... I normally use a Database layer, a Business layer and a GUI layer. The GUI uses an Object data source to bind to the Business layer which in turn binds...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.