
Web App: Common area – Menu, Header, Footer
Concept ASP.NET Use ASCX file. A file with the ASCX file extension is an ASP.NET Web User Control file. Basically, ASCX files make it easy […]
Concept ASP.NET Use ASCX file. A file with the ASCX file extension is an ASP.NET Web User Control file. Basically, ASCX files make it easy […]
DB design Create table IMAGE to save image [sql] sample_image varbinary(MAX) [/sql] Create SP to save image [sql] CREATE PROCEDURE [insert_image] @input varbinary(MAX), @length bigint […]
GET (https://www.w3schools.com/xml/ajax_intro.asp) [js] var xhttp = new XMLHttpRequest(); xhttp.open(“GET”, “ajax_info.txt”, true); xhttp.send(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { […]
[js] function get_browser_info(){ var ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; if(/trident/i.test(M[1])){ tem=/\brv[ :]+(\d+)/g.exec(ua) || []; return {name:’IE ‘,version:(tem[1]||”)}; } if(M[1]===’Chrome’){ tem=ua.match(/\bOPR\/(\d+)/) if(tem!=null) {return {name:’Opera’, version:tem[1]};} } M=M[2]? [M[1], […]
Calendar ASP.NET – Telerik [js] [/js] [js] // Get selected date var StartDatePicker = $find(“<%=txtStartDate.ClientID %>”); var StartDate = StartDatePicker.get_dateInput().get_selectedDate(); [/js] [js] // Fix selected […]
Install/ Uninstall service Open “Developer Command Prompt for VS2012” [js] //Install installutil “C:\IFTUploadApp\App\IFTLabUpload.exe” //Uninstall installutil /u “C:\IFTUploadApp\App\IFTLabUpload.exe” [/js] Debug Windows Service from Visual Studio 1. […]
Exception handler levels Code level Use try/catch/finally block Page level Use Page_error [js] public void Page_Error(Object sender, EventArgs e) { // Implementation here } [/js] […]
Convert varchar to decimal error 1 Add another column with required dataType. [sql] ALTER TABLE [table name] ADD [column name] decimal(10,2) NULL [/sql] Import all […]
Copyright © 2025 | WordPress Theme by MH Themes