Profile cover photo
Profile photo
Ashraful Islam
49 followers -
Software Engineer
Software Engineer

49 followers
About
Posts

Post has attachment

Post has attachment
How to restrict someone from copying content from my website ?
 Use this script in your web site: <script type="text/javascript">     function disableselect(e) {         return false;     }     function reEnable() {         return true;     }     document.onselectstart = new Function("return false");     if (window.sid...
Add a comment...

Post has attachment
How to add Month or Day with a Date ?
//.....Add 1 month From Selected Date AddMonthToDate: function (selectedDate, month) {               var date = new Date(selectedDate);         var currentDate = date.getDate();         date.setDate(month);         date.setMonth(date.getMonth() + month);   ...
Add a comment...

Post has attachment
How to write a Log File in C# ?
 private static void WriteLog(string message)         {             try             {                 var date = DateTime.Now;                 var day = date.Day.ToString();                 var month = date.Month.ToString();                 var year = date....
Add a comment...

Post has attachment
How to validate your Email Address in C# ?
bool IsValidEmail(string email) {     try {         var mail = new System.Net.Mail.MailAddress(email);         return true;     }     catch {         return false;     } }
Add a comment...

Post has attachment
How to get Host Name of your PC in C#?
string ip = Request.UserHostName; var hostName= GetLocalHostName(ip ) public string GetLocalHostName(string ip)         {             IPAddress ipadd = System.Net.IPAddress.Parse(ip);             IPHostEntry hostName = Dns.GetHostEntry(ipadd);             v...
Add a comment...

Post has attachment

Post has attachment
How to get date different between two date in jquery?
get date different between two date in jquery: ==================================================================         var oneDay = 24 * 60 * 60 * 1000;         var entryDate = kendo.parseDate(obj.RowDate, "d");         var today = kendo.parseDate(new Da...
Add a comment...

Post has attachment
How to change logical file name of a Database in SQL ?
 --change log file name ALTER DATABASE [TESTDB] MODIFY FILE (NAME = TESTDB_log, NEWNAME = TESTDBNEW_log); --change data file name ALTER DATABASE [TESTDB] MODIFY FILE (NAME = TESTDB_DATA, NEWNAME = TESTDBNEW_DATA);
Add a comment...

Post has attachment
How to Generate a Kendo Combo Box ?
Html Code: -------------------------------------------------  <input type="text" placeholder=""  name="cmbEmployee" id="cmbEmployee" /> Jquery Code: ----------------------------------------------------------------    GenerateEmployeeCombo: function () {    ...
Add a comment...
Wait while more posts are being loaded