Search

You searched for the word(s): userid:614625

Matching Posts

  • Re: How to handle more than one action from the form?

    Thanks That's all clear but I think that I need special HttpHandler for requests. Handler which give me action not from URL but from clicked submit button. This will be great for my option and quicker to rewrite my app.
    Posted to ASP.NET MVC (Forum) by DgiPL on 1/14/2008
  • Re: How to handle more than one action from the form?

    Thanks Delete and Save was only for example. What about another example, couple workflow actions which all are buttons eg. "Send to approval", "Reject request with comment" and "Send to supervisor". This is real life example from my client app. So, now I must build something like generic action for catching all actions? But what with wonderful mapping parameters with data from html form inputs? :(
    Posted to ASP.NET MVC (Forum) by DgiPL on 1/13/2008
  • Re: How to handle more than one action from the form?

    Thanks fo reply. Great. I forgot that I can use more than one form tag :) But what if I want to use first option and send all data inputs to 2 different actions?
    Posted to ASP.NET MVC (Forum) by DgiPL on 1/13/2008
  • How to handle more than one action from the form?

    Hi I have html form with couple of textbox fields and 3 buttons 'Delete', 'Save' and 'Cancel'. Source: <form action="bla/bla/example/action" method=post> So, I have one question. How to handle more than one action from the form?
    Posted to ASP.NET MVC (Forum) by DgiPL on 1/13/2008
  • Re: Query issues

    It should work: UPDATE a SET ApprovedID = d.ApprovedBy FROM Approval AS a INNER JOIN Employee AS e ON e.Employeeid = a.EmployeeID INNER JOIN Department AS d ON d.DeptID = e.DeptID
  • Problem with Entity - once again

    Hi I have entity like User in Domain architecture. This user has many other subordinate users. So I should create a property collection in User entity. How this property (LazyLoading of course but what else) should be implemented when this user has about 1000 subordinate users and I want to show them on my form?
    Posted to Architecture (Forum) by DgiPL on 1/23/2006
  • Re: DDD and High Volume Website

    Hi I suggest build object "Advert Accessor" that hold the last advert per server. Lock on that operation will be short. Than "Advert Accessor" (every server in farm) should send (.NET Remoting) every change of advert to your "Advert Changer Service". Service should store async your data to database. Maybe this helps. Best regards Darek
    Posted to Architecture (Forum) by DgiPL on 1/7/2006
  • Re: Locking information

    I prefer this way: CREATE PROCEDURE Insert_Stuff @ID INT OUTPUT, {Others parameters} AS SET NOCOUNT ON {Do insert statement here} SET @ID = SCOPE_IDENTITY() You must declare @ID parameter in vb/c# code as InputOutput. Then you can pass value to your procedure and from procedure to your code.
  • Re: Locking information

    Hi I think that Read Commited isolation is adequate for You. Make a table to store your sequental numbers like this one: CREATE TABLE tblNumbers (ID int PRIMARY KEY, Number int NOT NULL, Prefix varchar(10) NOT NULL, Sufix varchar(10) NOT NULL) When you want to generate a next number for specified customer and this customer has special number key then you do this: UPDATE tblNumbers SET Number = Number + 1 WHERE ID = ID_Special_Number_For_Customer Until transaction will be not end this record is locked
  • Re: Best Performance Query

    Thanks. Everything after ON in JOIN clause is nothing more like simply conditions. You can write something like that: FROM a inner join b.SomeVarChar LIKE a.SomeOtherVarChar Previous query in ther way: SELECT s.Id, s.Name FROM Switch s INNER JOIN SwitchTelephoneRange r INNER JOIN PhoneDirectory pd WHERE s.Id = r.Id AND pd.Telephone BETWEEN FromTelephone AND ToTelephone
Page 1 of 3 (24 items) 1 2 3 Next >