473,320 Members | 2,004 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,320 software developers and data experts.

Data Binding Advice Needed - Please Help

PCC
I am writing an ASP.NET web application and I control all the tiers. I need
to return all results from the Web Service mid-tier as XML so other people
can use our business objects in the future if they so desire.

My dilemma is this:

You know how you can use complex data binding in Visual Studio to bind data
from a stored procedure into objects like data grids while using a strongly
typed data set? This is all done by dragging controls onto the form, then
generating the dataset. This gives you all the column mapping and makes
working with the data very easy in the UI layer at design time.

I want to achieve the same level of simplicity for my UI developers, when
they get XML from the mid tier that they load into a DataSet. What is the
trick here? How to I give them the power to data bind and map to the column
names for the same simple DESIGN TIME development they would get if they
bound and specified the sproc directly? Do I need to create a strongly
typed dataset for them first and let them code against that at design time?

I hope I am making some sense here. I know this is simple stuff, but I am
dazed and confused right now. Any links, articles, samples or advice would
be greatly appreciated. Thank you.
Nov 17 '05 #1
2 881
Hi,

If i get you right, all you need to do is to set the datasource to your
dataset (that hold the generated XML data). if datagrid create auto
columns at run time is mark, ASP.NET will do the work for you.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2
PCC
The problem with this is since the sprocs are create, read, update and
delete... there are times when the data set will have more fields then I
want displayed in the UI. Any other suggestions? Thank you for your time
and assistance.

"Natty Gur" <na***@dao2com.com> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...
Hi,

If i get you right, all you need to do is to set the datasource to your
dataset (that hold the generated XML data). if datagrid create auto
columns at run time is mark, ASP.NET will do the work for you.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #3

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

Similar topics

16
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
0
by: PCC | last post by:
I am writing an ASP.NET web application and I control all the tiers. I need to return all results from the Web Service mid-tier as XML so other people can use our business objects in the future if...
18
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
16
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
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...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
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
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.