Saturday 26 February 2022
Inter College Management Synopsis Download Free
Force to Refresh Javascript and CSS files on page load
To force Javascript and CSS files on every time while page load is good practice when working on live operation because when you made any change in CSS and Javascript files then updated content reflects when cntl + f5 pressed otherwise system get file from cash to save to reload time. Given code below help you to force reload file on every page load in C# ASP.Net MVC.
@{
Random ob = new Random();
int ran = ob.Next();
}
<script src="~/AppJs/product.js?v=@
<link href="~/AppCss/gcss.css?v=@ran" rel="stylesheet" type="text/css">
Friday 25 February 2022
Book Shop Management Synopsis Download Free
Book Management Synopsis Download Free PDF and Word Version
Click to Download School Management Synopsis PDF Version
Download Book Shoop Management Synopsis Word Editable Version
Wednesday 23 February 2022
School Management Synopsis Download Free
School Management Synopsis Download Free PDF and Word Version
Click to Download School Management Synopsis PDF Version
Thursday 10 February 2022
Begin CodeIgniter 4.1.8
Whoops! We seem to have hit a snag. Please try again later
Solution :
- Open [xampp_folder_path]/php/php.ini to edit.
- Search for ;extension=intl and remove the ;.
- Save the php.ini file and restart Apache.
Thursday 13 January 2022
Multiple file upload by form post ASP.NET C# MVC
Multiple file upload by form post ASP.NET C# MVC
This post will let you upload multiple image files through a single form post using the C# ASP.Net MVC platform.
Key Point
- Upload multiple image files with a new name
- Save a associate record and file name will be newly created record identity field value
- No need to save the image name in the database because the file name will start with a record ID and end with a text.
- Best for putting student, employee documents without any hassle.
HTML Code :
<form method="post" enctype="multipart/form-data">
@Html.AntiForgeryToken()
<p class="m-0">
Photo
<input type="file" name="Photo" id="Photo" accept="image/x-png,image/jpeg" />
<br />
Adhaar
<input type="file" name="Adhaar" id="Adhaar" accept="image/x-png,image/jpeg" />
<br />
Pan
<input type="file" name="Pan" id="Pan" accept="image/x-png,image/jpeg" />
<br />
<input type="checkbox" id="chkconfirm" /> I
provide my consent. I will follow the Tangentweb term condition and policy.
<br /> <br />
<input type="submit" value="Save" class="button
button-primary button-wide-mobile" onclick="return filecheck()" />
</p>
</form>
Saturday 11 December 2021
Find cat in Sheep
Wednesday 8 December 2021
File compress client side by Java script before upload to server | C# ASP.Net
File compress facility is available in javascript and it's good practice to compress files client-side, before uploading to the server because it saves the resource of the Server time and internet bandwidth and increases the user file upload experience.
Saturday 20 November 2021
Generic List C#
A generic list is a dynamic array-like structure used to store user information for any type of data . The list is one of the most powerful and useful data structures provided by C#. You can not imagine modern programming without a generic list because built-in programming capability makes a developer work easy. You will get some practical real-life programing practice from the list in this post.
public class Student
{
public string roll { get; set; }
public string name { get; set; }
public string city { get; set; }
}
Sunday 14 November 2021
Layout/Master page in laravel
Layout/Master page in laravel
Making Layout or Master page in laravel is very simple . Go through the given steps below.
Step 1: Make a view named Layout.blade.php
Make a view for layout named layout.blade,php in resources\views folder.
Friday 12 November 2021
User difined function Laravel
We make user difined function to reuse code. To use user difined function you need to follow the steps
given below.
- Make your file in app folder and write your code in that file . In my case file name is helper.php and funtion name is Title . i.e.
function Title()
{
echo "Girfa IT Services";
}
- Goto composer.json file and add the following lines in autoload section.In my case pagelib.php is my file. Write your file name.
- Now you can call the function inside of helper.php file , anywhere in your project.
Save form data into database
This post will help step by step to understand , how to save your HTML form data into Mysql Database.
Database Table structure
Form
<form method="post" action="index">
@csrf
Name : <input type="text" name="name" placeholder="Your Name" required class="form-control"><br>
Phone : <input type="text" name="phone" required placeholder="Phone Number" class="form-control"><br>
Message :
<textarea rows="5" name="message" required placeholder="Message" class="form-control"></textarea><br>
<input type="submit" value="Save" name="submit">
</form>
Step 2
Step 3 : Create Controller
Step 4 : Configure Route
Thursday 4 November 2021
Fill Menu items in partial view from database without using java script in C# ASP.NET MVC
Fill Menu items in partial view from the database without using javascript in C# ASP.NET MVC.
When there is a need to load menu items from the database, then you may have many options like load it from javascript. But the best load time is when you use Razor collaborate with C#. This post will help you to do the same. Follow the step-by-step instructions. I Guarantee that response time is the lowest than any other approach.
Model
public class MenuModel
{
public string ID { get; set; }
public string MenuName { get; set; }
}
Saturday 30 October 2021
Upload Laraver project to Godaddy Linux shared hosting using CPanel
Follow the steps given below to upload your laravel project to Linux shared server with Cpanel in Godaddy.
Step 1:
Move all files from public folder to your project root folder.
Friday 29 October 2021
Laravel command for beginners
Create and run project using composer
composer create-project laravel/laravel your-project-name
cd your-project-name
Goto project folder i.e your-project-name
php artisan serve
Tuesday 26 October 2021
Page wise record in SQL Server 10 records per page
Get Page wise record in SQL Server 10 records each page
;with pagewise as
(
SELECT ROW_NUMBER() OVER(ORDER BY id) AS rowno, ID, roww, name, city
FROM Student ) select * from pagewise where rowno>9 and rowno<21 order by rowno
Save HTML Data from textBox in ASP.Net C# MVC
while Submit HTML Content thorugh Form post method is now allowed because ASP.Net Stop IT to prevent RSS Attack So you will have to tell ASP.Net form to process HTML Data .. steps are given below .
Sunday 24 October 2021
Session ASP.Net C#
Set Session
Session["ID"]
= "lorem";
Session["Amt"] = 123;
Saturday 23 October 2021
Answer : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2021 | NIELIT O Level
Answer : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2021 | NIELIT O Level
1: Multiple Choice
Friday 22 October 2021
Read INI file ASP.Net MVC C#
Install ini reference
> nuget install ini-parseror
PM> Install-Package ini-parser