Thursday, 22 April 2021
Memory Allocation Function
PHP 404 page handling
Server shows 404 error code when requested resource not found at server. By default, the browser display 404 error page .which is not as user-friendly because it does not show our website look and layout. if you want to custom 404-page handling page then this post will help you. to do the above let follows the steps given below.
Tuesday, 20 April 2021
Custom Error message | Hide Yellow Screen Of Death (YSOD) page in ASP .Net
Yellow Screen Of Death (YSOD)
Setting in Webconfg file
<system.web>
<compilation debug="true" targetFramework="4.7.2" />
<httpRuntime targetFramework="4.7.2" />
<trust level="Full" />
<customErrors mode="RemoteOnly"
defaultRedirect="~/Shared/Error.cshtml" />
</system.web>
Show error in custom error file
@model System.Web.Mvc.HandleErrorInfo
<div class="container">
<h1>Error.</h1>
<h2>An
error occurred while processing your request.</h2>
<h3 style="color:red"><p style="color:red"> @Model.Exception.Message</p></h3>
<br /><br />
</div>
Sunday, 18 April 2021
Array an introduction | C Language
Array
An array is a collection of similar data type which occupies
continuous location on memory. Array is useful bulk process is required on
similar data type. Name of array is a constant pointer which point first
element of array. Elements of array are access through index number. Index
donates numeric position of data in an array. Index start with zero and last
element less than one from the specified size of array.
Syntaxt :
Data_type arr_name[size_int]