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

Next Topic

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

 

Next Topic

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


1.1 : A
1.2 : C
1.3 : A
1.4 : A
1.5 : B
1.6 : A
1.7 : C
1.8 : No option given (Because  compile error in code )
1.9 : B
1.10 : C

Friday, 22 October 2021

Read INI file ASP.Net MVC C#

 Install ini reference 

> nuget install ini-parser
                or
PM> Install-Package ini-parser

Saturday, 16 October 2021

Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2021 | NIELIT O Level

 Solved : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE , January 2021 | NIELIT O Level

Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the "OMR" answer sheet supplied with the question paper, following instructions therein.


1.1 Which of the following is not a valid variable name declaration ?
(A) int
(B) abc_int
(C) abc
(D) abc_abc 

Friday, 15 October 2021

Save file to server without java script C# ASP.Net

 In this post, you will learn, How to upload an image file to a server without using javascript or jquery. The file will be upload using C#. Unique File name  is generated with datetime string , you implement your logic for the file name. Given code is applicable in both C# MVC and ASP.Net both.

Name Space

using System.IO;


HTML

Wednesday, 6 October 2021

Show Date after Date gap in Date picker HTML

 This post help you to show date in date picker HTML form control from a given date gap. For example show date two date further from current date using HTML and JavaScript.