Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SELECT
matno,
MAT_NAME,
rawpkgno,
MAX(SWITCH(deldate=? ,ORDCASES )) AS [CURRDATE],
MAX(SWITCH(deldate=? ,ORDCASES )) AS [previous_day],
MAX(SWITCH(deldate=? ,ORDCASES )) AS [Last_date]
FROM
invorder
WHERE
invorder.strno =54009
OR [invorder.deldate] IS NULL
GROUP BY
matno,
MAT_NAME,
rawpkgno,


My ouput in gridview is as follows


matno MAT_NAME rawpkgno CURRDATE previous_day Last_date
Edit 1 REGULAR BUNS 0 125 11
Edit 3 BIG MAC BUNS 0 29
Edit 4 MAC FRIES 0 551 28

Now when I select edit I should be able to edit "CURRDATE".How can I do it can some one help me on this?
Posted
Comments
G-code101 5-Feb-14 7:05am    
Atleast post the code of the function or method so I may understand it correctly...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900