Monday, July 25, 2011
Using google map in asp.net
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
Passing value in formula field in crystal report
objRpt.DataDefinition.FormulaFields.Item("Location").Text = "'" & Application.StartupPath & "\IDCard1.jpg" & "'"
objRpt.Section3.ReportObjects("Picture2").Width = 850
objRpt.Section3.ReportObjects("Picture2").Height = 560
objRpt.Section3.ReportObjects("Picture2").Width = 850
objRpt.Section3.ReportObjects("Picture2").Height = 560
Saturday, July 16, 2011
Date field formatting in asp.net
select convert(varchar(10),RecDate,1) as [dd/MM/yy] from abc
where RecDate is name of field
where RecDate is name of field
Friday, July 15, 2011
Display alert before redirect in asp.net
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "message", "alert('Thank for posting your comment. You will now be redirected to our home page.');location.href = 'EntryMaster.aspx'", True)
Thursday, July 14, 2011
Hide button after print javascript code
onclick="javascript:this.style.visibility='hidden';window.print();" class="ButtonGray" />
Subscribe to:
Posts (Atom)