ali raza

C#, .Net ,Asp.net and my thoughts

Monthly Archives: May 2008

sunaa hai log use aa.Nkh bhar ke dekhate hai.n

sunaa hai log use aa.Nkh bhar ke dekhate hai.n
so us ke shahar me.n kuchh din Thahar ke dekhate hai.n

sunaa hai rabt hai us ko Kharaab haalo.n se
so apane aap ko barbaad karake dekhate hai.n

sunaa hai dard kii gaahak hai chashm-e-naazuk us kii
so ham bhii us kii galii se guzar kar dekhate hai.n

sunaa hai us ko bhii hai sher-o-shaayarii se shagaf
so ham bhii mojaze apane hunar ke dekhate hai.n

sunaa hai bole to baato.n se phuul jha.Date hai.n
ye baat hai to chalo baat kar ke dekhate hai.n

sunaa hai raat use chaa.Nd takataa rahataa hai
sitaare baam-e-falak se utar kar dekhate hai.n

sunaa hai hashr hai.n us kii Gazaal sii aa.Nkhe.n
sunaa hai us ko hiran dasht bhar ke dekhate hai.n

sunaa hai din ko use titaliyaa.N sataatii hai.n
sunaa hai raat ko jugnuu Thahar ke dekhate hai.n

sunaa hai raat se ba.Dh kar hai.n kaakule.n us kii
sunaa hai shaam ko saaye guzar ke dekhate hai.n

sunaa hai us kii siyaah chashmagii qayaamat hai
so us ko surmaafarosh aa.Nkh bhar ke dekhate hai.n

sunaa hai us ke labo.n se gulaab jalate hai.n
so ham bahaar par ilzaam dhar ke dekhate hai.n

sunaa hai aa_iinaa tamasaal hai jabii.n us kaa
jo saadaa dil hai.n ban sa.Nvar ke dekhate hai.n

sunaa hai jab se hamaa_il hai.n us kii gardan me.n
mizaaj aur hii laal-o-gauhar ke dekhate hai.n

sunaa hai chashm-e-tasavvur se dasht-e-imkaan me.n
palang zaave us kii kamar ke dekhate hai.n

sunaa hai us ke badan ke taraash aise hai.n
ke phuul apanii qabaaye.N katar ke dekhate hai.n

vo sarv-qad hai magar be-gul-e-muraad nahii.n
ke us shajar pe shaguufe samar ke dekhate hai.n

bas ek nigaah se luTataa hai qaafilaa dil kaa
so rah_ravaan-e-tamannaa bhii Dar ke dekhate hai.n

sunaa hai us ke shabistaan se muttasil hai bahisht
makiin udhar ke bhii jalve idhar ke dekhate hai.n

ruke to gardishe.n us kaa tavaaf karatii hai.n
chale to us ko zamaane Thahar ke dekhate hai.n

kise nasiib ke be-pairahan use dekhe
kabhii kabhii dar-o-diivaar ghar ke dekhate hai.n

kahaaniyaa.N hii.n sahii sab mubaalaGe hii sahii
agar vo Khvaab hai taabiir kar ke dekhate hai.n

ab us ke shahar me.n Thahare.n ki kuuch kar jaaye.N
‘Faraz’ aao sitaare safar ke dekhate hai.n

parameter passing to crystal report object

When you have to send parameter form asp.net code behind to crystal report then kindly used this syntex or statement to achieve the task
for example
 ReportObjectVariable.SetParameterValue(ParmeterName,value)
for example if  rpt is my report and i send value to customer key and objCustomer is my business object then the sample will be as follow 
  rpt.SetParameterValue(REPORT_SP_PARAMETER_CUSTOMER_KEY, objCustomer.MasCustKey)
More real word examples are as follow
  rpt.SetParameterValue(REPORT_SP_PARAMETER_MONTH, CType(Request.QueryString.Item("Month"), Integer))
 rpt.SetParameterValue(REPORT_SP_PARAMETER_YEAR, CType(Request.QueryString.Item("Year"), Integer))
rpt.SetParameterValue(REPORT_SP_PARAMETER_CUSTOMER_KEY, objCustomer.MasCustKey, "StatementHead.rpt")
 rpt.SetParameterValue(REPORT_SP_PARAMETER_CUSTOMER_KEY, objCustomer.MasCustKey, "StatementFoot.rpt")

 

 

Inspirational

European english

The European Commission has just announced an agreement whereby English will be the
official language of the European Union rather than German, which was the other
possibility. As part of the negotiations, the British Government conceded that
English spelling had some room for improvement and has accepted a 5- year phase-in
plan that would become known as ‘Euro-English’. In the first year, ‘s’ will replace
the soft ‘c’. Sertainly, this will make the sivil servants jump with joy. The hard
‘c’ will be dropped in favour of ‘k’. This should klear up konfusion, and keyboards
kan have one less letter. There will be growing publik enthusiasm in the sekond year
when the troublesome ‘ph’ will be replaced with ‘f’. This will make words like
fotograf 20% shorter. In the 3rd year, publik akseptanse of the new spelling kan be
expekted to reach the stage where more komplikated changes are possible. Governments
will enkourage the removal of double letters which have always ben a deterent to
akurate speling. Also, al wil agre that the horibl mes of the silent ‘e’ in the
languag is disgrasful and it should go away. By the 4th yer people wil be reseptiv
to steps such as replasing ‘th’ with ‘z’ and ‘w’ with ‘v’. During ze fifz yer, ze
unesesary ‘o’ kan be dropd from vords kontaining ‘ou’ and after ziz fifz yer, ve vil
hav a reil sensi bl riten styl. Zer vil be no mor trubl or difikultis and evrivun
vil find it ezi tu understand ech oza. Ze drem of a united urop vil finali kum tru.
Und efter ze fifz yer, ve vil al be speking German like zey vunted in ze forst plas.
If zis mad you smil, pleas pas on to oza pepl