Category: FromSitesTree.com

Razor syntax and MVC application demo #Root #By Sayed Ahmed

Razor syntax and MVC application demo [youtube http://www.youtube.com/watch?v=Oi-isA8qdw0&w=560&h=315] From: http://sitestree.com/?p=2185 Categories:Root, By Sayed AhmedTags: Post Data:2015-08-10 22:09:37 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada

PIVOT Examples – SQL #Root #By Sayed Ahmed

http://stackoverflow.com/questions/24470/sql-server-pivot-examples SELECT Action, MAX( CASE data WHEN ‘View’ THEN data ELSE ” END ) ViewCol, MAX( CASE data WHEN ‘Edit’ THEN data ELSE ” END ) EditCol FROM t GROUP BY Action — SELECT act AS ‘Action’, [View] as ‘View’, [Edit] as ‘Edit’ FROM ( SELECT act, cmd FROM data ) AS src PIVOT ( …

Continue reading

Some C# Stuff (or similar) as I used #Root #By Sayed Ahmed

Sayed Ahmed   Some C# Stuff (or similar) as I used   HP var_dump in C# to dump array or objects? http://stackoverflow.com/questions/23824899/php-var-dump-in-c-sharp-to-dump-array-or-objects   How to pass an object array from javascript to server http://stackoverflow.com/questions/12229530/how-to-pass-an-object-array-from-javascript-to-server   How to Convert JSON object to Custom C# object? http://stackoverflow.com/questions/2246694/how-to-convert-json-object-to-custom-c-sharp-object   The following did work for me JavaScriptSerializer serializer = …

Continue reading

misc #Root #By Sayed Ahmed

misc From: http://sitestree.com/?p=2062 Categories:Root, By Sayed AhmedTags: Post Data:2015-07-04 10:06:53 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada

Misc Dot Net Stuff #Root #By Sayed Ahmed

In real life projects in .Net platform, you might need to know and understand the following:   http://stackoverflow.com/questions/10498102/debugging-with-vs-other-than-localhost http://stackoverflow.com/questions/4653236/unable-to-start-debugging-on-the-web-server-could-not-start-asp-net-debugging-v http://stackoverflow.com/questions/16922742/what-is-the-entry-point-for-an-asp-net-mvc-4-application https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh750287.aspx https://msdn.microsoft.com/en-ca/library/dd577079.aspx http://blogs.msdn.com/b/amb/archive/2012/07/31/easiest-way-to-generate-machinekey.aspx http://stackoverflow.com/questions/8747912/how-to-install-dotnetnuke-so-i-can-migrate-existing-users http://stackoverflow.com/questions/11930381/log4net-multiple-appenders-writing-to-event-viewer https://portal.smartertools.com/kb/a2487/where-are-my-iis-log-files-stored.aspx   From: http://sitestree.com/?p=2084 Categories:Root, By Sayed AhmedTags: Post Data:2015-08-07 18:01:36 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net …

Continue reading

Using Kendo Chart; Kendo Chart Events #Root #By Sayed Ahmed

Using Kendo Chart; Kendo Chart Events Sayed Ahmed   One example that helped in real projects http://demos.telerik.com/kendo-ui/tabstrip/events   The example shows how you can execute functionality on different Kendo Chart events. You can see the methods and events mapping as below $(“#tabstrip”).kendoTabStrip({ select: onSelect, activate: onActivate, show: onShow, contentLoad: onContentLoad, error: onError, contentUrls: [ , …

Continue reading

C# Image Dimension . Keep the dimension as it is when Exporting to Excel #Root #By Sayed Ahmed

System.Drawing.Image img = System.Drawing.Image.FromFile(@”c:ggsggs Accessimagesmembers1.jpg”); int width = img.Width; int height = img.Height; — Excel and Exporting When you export to Excel using OpenXML standard You usually mention where to start and where to end. I.e. cell to insert from and the width/height in number of cells. Hence, you need to know how many pixels …

Continue reading

Linkedin: How to Withdraw your Connect Request #Root #By Sayed Ahmed

Click on the Messages Icon (top right) Then go to your Sent message box Find the emails/requests to connect to others Open the Email/Request Click Withdraw.. From: http://sitestree.com/?p=2013 Categories:Root, By Sayed AhmedTags: Post Data:2015-04-22 20:21:34 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine …

Continue reading

Random Information on DNN #Root #By Sayed Ahmed

DotNetNuke.Common.Globals.NavigateURL() does not do a redirect, it simply creates a target URL based on the parameter you’ve provided. IIS 7 enable 32 bit application mode appcmd apppool set /apppool.name:MyNukeSite /enable32BitAppOnWin64:true on IIS 6 cscript %SystemDrive%inetpubAdminScriptsadsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1 aspnet_regiis.exe -i How to avoid adding multiple references to JQuery Libraries. And how to refer only when …

Continue reading

Excel and C# #Root #By Sayed Ahmed

Adding image at a particular cell in Excel Spreadsheet https://social.msdn.microsoft.com/Forums/lync/en-US/5c6e7ebd-66e2-40fa-9194-aed5cdc3f0ae/adding-image-at-a-particular-cell-in-excel-spreadsheet?forum=oxmlsdk   How to: Insert text into a cell in a spreadsheet document (Open XML SDK) https://msdn.microsoft.com/en-us/library/office/cc861607.aspx   You will need reference to OpenXML, Systems.IO.Packaging, System.xml and/or similar.   You may need to copy the related DLLs to your production at deployment (depends on your deploy …

Continue reading