Click here to Skip to main content
15,897,518 members
Home / Discussions / Web Development
   

Web Development

 
QuestionSearch Engines for Dynamically Created Data Pin
Brendan Vogt16-Nov-07 2:25
Brendan Vogt16-Nov-07 2:25 
AnswerRe: Search Engines for Dynamically Created Data Pin
Michael Sync17-Nov-07 5:32
Michael Sync17-Nov-07 5:32 
QuestionRe: Search Engines for Dynamically Created Data Pin
Brendan Vogt17-Nov-07 6:15
Brendan Vogt17-Nov-07 6:15 
AnswerRe: Search Engines for Dynamically Created Data [modified] Pin
Michael Sync17-Nov-07 18:32
Michael Sync17-Nov-07 18:32 
QuestionRe: Search Engines for Dynamically Created Data Pin
Brendan Vogt17-Nov-07 6:19
Brendan Vogt17-Nov-07 6:19 
AnswerRe: Search Engines for Dynamically Created Data Pin
Michael Sync17-Nov-07 18:36
Michael Sync17-Nov-07 18:36 
QuestionAny ideas on making a order transaction Pin
tgreeny16-Nov-07 2:18
tgreeny16-Nov-07 2:18 
AnswerRe: Any ideas on making a order transaction Pin
Michael Sync17-Nov-07 5:24
Michael Sync17-Nov-07 5:24 
tgreeny wrote:
What would be the best way of making a transaction from a aspx webpage to the SQL database


As you are asking about the best way, I would like to suggest you to use the different layers for making a transaction.. Let's say you are working on the "Product Order" page. So, you should create the Order class in Entity layer. If the user hits the order button after filling the required data on your page, you should fill those data to the "Order" object. then, Call the web service proxy call to invoke the business logic web service.. then, Call the DAL and pass the data from "Order" object to the stored procedure..
So, the structure of project will be like that ~

YourProject.Entities (Class Library)
- Order (Class)
- Orders (Class)
- [WebProxies]
-- OrderProxy (Webservice proxy generated by using wsdl)

YourProject.Web (Web Project)
- ProductOrder.aspx ( Webpage)


YourProject.BO (Web Service)
- OrderBO

YourProject.DAL (Class Library)
- OrderDAL

SQL Server
- OrderStoredProcedure

This is the way that we used in our live project... it works pretty well.. but I think that it might be a lit bit complicated for beginner..



Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

AnswerRe: Any ideas on making a order transaction Pin
shakirhussain18-Nov-07 20:49
shakirhussain18-Nov-07 20:49 
Questionupdate the news in my webpage Pin
srinivas43115-Nov-07 15:43
srinivas43115-Nov-07 15:43 
AnswerRe: update the news in my webpage Pin
Vasudevan Deepak Kumar16-Nov-07 1:35
Vasudevan Deepak Kumar16-Nov-07 1:35 
GeneralRe: update the news in my webpage Pin
Christian Graus17-Nov-07 10:11
protectorChristian Graus17-Nov-07 10:11 
GeneralRe: update the news in my webpage Pin
Vasudevan Deepak Kumar19-Nov-07 3:44
Vasudevan Deepak Kumar19-Nov-07 3:44 
AnswerRe: update the news in my webpage Pin
Christian Graus17-Nov-07 10:10
protectorChristian Graus17-Nov-07 10:10 
QuestionSession variable need to access from aspx page Pin
JJB200715-Nov-07 9:35
JJB200715-Nov-07 9:35 
AnswerRe: Session variable need to access from aspx page Pin
SABhatti15-Nov-07 9:38
SABhatti15-Nov-07 9:38 
GeneralRe: Session variable need to access from aspx page Pin
JJB200715-Nov-07 9:48
JJB200715-Nov-07 9:48 
GeneralRe: Session variable need to access from aspx page Pin
SABhatti15-Nov-07 10:09
SABhatti15-Nov-07 10:09 
GeneralRe: Session variable need to access from aspx page Pin
JJB200716-Nov-07 3:19
JJB200716-Nov-07 3:19 
GeneralRe: Session variable need to access from aspx page Pin
SABhatti16-Nov-07 18:04
SABhatti16-Nov-07 18:04 
AnswerRe: Session variable need to access from aspx page Pin
Guffa15-Nov-07 10:22
Guffa15-Nov-07 10:22 
QuestionMenu navigation trail feature Pin
neualex15-Nov-07 6:50
neualex15-Nov-07 6:50 
AnswerRe: Menu navigation trail feature Pin
SABhatti15-Nov-07 10:33
SABhatti15-Nov-07 10:33 
GeneralRe: Menu navigation trail feature Pin
neualex15-Nov-07 12:03
neualex15-Nov-07 12:03 
AnswerRe: Menu navigation trail feature Pin
Vasudevan Deepak Kumar16-Nov-07 1:28
Vasudevan Deepak Kumar16-Nov-07 1:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.