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

Comments by amit Baswa (Top 10 by date)

amit Baswa 24-Dec-13 10:31am View    
HatsOff buddy... Thanks a lot.
Save my day... :)
amit Baswa 14-Dec-13 4:50am View    
Hi, Above query worked for me, but need some correction in above query as follow
SELECT
SUM(Hits) AS TotalVisitor,
SUM(CASE WHEN DATEDIFF( m, VisitorDate, GETDATE() ) = 0 THEN Hits ELSE 0 END) AS VisitorThisMonth,
SUM(CASE WHEN DATEDIFF( d, VisitorDate, GETDATE() ) = 0 THEN Hits ELSE 0 END) AS VisitorToday
FROM VisitorHits
amit Baswa 9-May-13 4:42am View    
can u please give solution here.??
amit Baswa 9-May-13 4:40am View    
I am using Sql Server 2005
amit Baswa 21-Nov-12 12:31pm View    
ok...I got your point. and I tried the following Code
function inputcall() {
return confirm("Call Client input");
}
--------------------------------
<input id="btnclick" name="btnclick" type="button" runat="server" onclick=" if (inputcall()) { __doPostBack('btnclick', ''); }" önserverclick="btnclick_ServerClick1" value="Input Button"/>



Here first I get Confirm Message, Now I was expecting that if I pressed OK then I will be postBacked and if I press Cancel then It must not call to BostBack,
But this is creating problem for me. On 'Ok' I m getting postback. But if I press Cancel then also I am getting Postback to serverSide event.
Please Suggest me.
Thanks.