dominos coupon code

shopclues coupon code today

amazon coupon codes india

cleartrip coupons for domestic flights

Promo code offers

C#

Happy Valentines Day

PwgSajU

Read More »

How to print without showing report viewer in RDLC Report ?

//global private static int m_currentPageIndex; private static IList<Stream> m_streams; method: LocalReport report = new LocalReport(); string path = rptName; report.ReportPath = path; report.DataSources.Add(new ReportDataSource(dsName, ds.table[0])); report.SetParameters(parameters); PrintToPrinter(report); //============================================================================ public static void PrintToPrinter(LocalReport report) { Export(report); } public static void Export(LocalReport report, bool print = true) { string deviceInfo = @”<DeviceInfo> <OutputFormat>EMF</OutputFormat> <PageWidth>3in</PageWidth> <PageHeight>8.3in</PageHeight> <MarginTop>0in</MarginTop> <MarginLeft>0.1in</MarginLeft> <MarginRight>0.1in</MarginRight> <MarginBottom>0in</MarginBottom> </DeviceInfo>”; Warning[] warnings; …

Read More »

How to validate Email Address in c# ?

bool IsValidEmail(string email) { try { var mail = new System.Net.Mail.MailAddress(email); return true; } catch { return false; } }

Read More »

How to insert NULL data in SQL Server Using C# ?

Some time we need to insert null value in Database. We can pass DBNull value in sql parameter to save in to database using store procedure. in c#———————— if (txtDOB.ToString(“yy/mm/dd”) == “01/00/01”) { cmd.Parameters.Add(new SqlParameter(“@p_DOB”, DBNull.Value)); } else { cmd.Parameters.Add(new SqlParameter(“@p_DOB”, txtDOB.ToString())); }

Read More »

Origin of the C# language name

Due to technical limitations of display (standard fonts, browsers, etc.) and the fact that the sharp symbol (♯, U+266F, MUSIC SHARP SIGN) is not present on the standard keyboard, the number sign (#, U+0023, NUMBER SIGN) was chosen to represent the sharp symbol in the written name of the programming language.[7] This convention is reflected in the ECMA-334 C# Language …

Read More »

Who created C#?

C# is intended to be a simple, modern, general-purpose, object-oriented programming language. Its development team is led by Anders Hejlsberg. The most recent version is C# 6.0, which was released on July 20, 2015.

Read More »

Learning C#

csharp

Read More »