Click here to Skip to main content
16,016,746 members

Comments by sangamesh arali (Top 3 by date)

sangamesh arali 4-Oct-12 10:26am View    
Thank you sandip. I am doing heavy operation in page load event actually i am creating controls dynamically and also used viewstate so i try use ajax

Thank you
sangamesh arali 29-Mar-12 9:20am View    
i tried to write query in cursor
DECLARE @Orderdate datetime;
DECLARE A_sum float;
DECLARE order_cursor CURSOR FOR
SELECT OrderDate,amount,currency FROM table1 GROUP BY OrderDate
SET A_sum = 0;
OPEN order_cursor
FETCH NEXT FROM db_cursor INTO @Orderdate
WHILE @@FETCH_STATUS = 0
BEGIN
if(

i stopped at if condition and i dint get any idea so i posted it. Actually i have not seen this type of query (what Stalin posted the answer) in my career so Specially thankful to Stalin.

What Stalin posted that is working fine
sangamesh arali 29-Mar-12 8:27am View    
Thank you stalin, it helped a lot. Actually i tried using cursor but i dint get it.