Wednesday, April 16, 2014

SQL datetime to AM/PM

just set you datefield in
Payroll_tblAttendance.InTime

Finally:

 (SELECT RIGHT(LTRIM(RIGHT(CONVERT(varchar, Payroll_tblAttendance.InTime, 100),8)),8)) InTime,  

C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...