Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update SQL Server from ASP.NET page
Message
 
 
To
01/07/2009 05:08:58
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01409449
Message ID:
01409536
Views:
53
>>Hi,
>>
>>I am beginning a process of moving my ASP.NET application from using VFP database to SQL Server. At this point I want to try a few things to see what I am most comfortable doing. In ASP.NET/VFP I was calling a VFP stored procedure passing an XML. I suppose with SQL Server I can/need to call SQL Server directly.
>>
>>I want to start with a page that allows user to enter some values in textboxes and drop down lists and the information is added to a table. I have been away from doing ASP.NET work for quite some time (as I was mainly maintaining my application). So now I need to learn from the beginning.
>>
>>If you know a basic article that covers this topic or are willing to provide conceptual guideline, I would appreciate very much.
>
>Hi
>A month ago I was in position to start a web app, not complicated, though.
>I was a "first timer" ASP.NET and I needed a quick solution even "quick and dirty" (sort of).
>I ended up using TableAdapters in a separate layer (and separate project) and functionality plugged in as modules in mojoPortal CMS (as ASCX control and ASPX pages). I used ObjectDataSource in pages from UI project with references to data layer project.
>I choosed TableAdapters and typed datasets because of similarity with CursorAdapters from VFP.
>Work pretty well, but one need to be careful with default functionality ( support for optimistic concurrency causes a lot of troubles, some parameters in tableadapter commands need to be changed to be without "Original_" prefix and ObjectDataSource without OldValuesParameterFormatString="original_{0}" )
>
>You can find a tutorial here:
>http://weblogs.asp.net/scottgu/archive/2006/01/15/435498.aspx
>Or video tutorials here:
>http://www.asp.net/LEARN/videos/
>
>HTH

Thank you very much for your input and for the link to the tutorial.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform