Visual C# 2005 Databinding to UI tutorial

P

Peter Gloor

Hello,

I have some difficulties to understand the new concepts for data handling
and data access in Visual C# 2005 Windows applications.

The questions are when and how to use which component and how they releate
to each other.

I have no problem to understand the various examples and to write my own
application that displays data read from an SQL database. I even manage to
create a button to call a form to be filled-in which contains a button to
add the data to the SQL database.

However, if it comes to a little more complicated real-life application I
don't manage to get updates and deletes properly done.

Where can I find a tutorial, a book or examples that explains the new
compontents in detail and how to use them in various scenarios.

Thank you.

Peter
 
K

Kevin Yu [MSFT]

Hi Peter,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to get some tutorial on new
features on ado.net 2.0. If there is any misunderstanding, please feel free
to let me know.

Generally the features in ado.net 1.1 are supported in ado.net 2.0, because
of backward compatibility. Also, there are many new features in ado.net
2.0. For example:

Server Enumeration
Asynchronous Processing
Multiple Active Result Sets (MARS)

http://msdn2.microsoft.com/library/ex6y04yf(en-us,vs.80).aspx

Also for windows form databinding, you can check the following link. It's a
detailed tutorial.

http://msdn2.microsoft.com/library/87sfaezs(en-us,vs.80).aspx

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
P

Peter Gloor

Hi Kevin,

Thank you. It's exactly what I was looking for.

Meanwhile I found that the "Absolute Beginner's Video Series to Visual
Studio 2005 Express Editions" tutorials at
http://lab.msdn.microsoft.com/express/beginner/ have been updated as well
and got two chapters related to ADO.net (it ended at chapter 6 last time I
visted the site).

However, using Visual C# 2005 Express Edition I still have some problems
with data editing (Data Tables) but at least I understand now the concepts
and I learned how things are related to each other. My problem is that data
wont write back for some reason and if I change my code I get a lot of
errors I don't know how to deal with.

For the moment it's ok for me. I will take what's there and what works even
my solution is not so elegant as it probably could be.

Peter
 
K

Kevin Yu [MSFT]

You're welcome, Peter. For Visual Studio .NET 2005 beta questions, you can
post in the following forum for assistance.

http://forums.microsoft.com/msdn/

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 

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

Top