Coder Baba
2.42K subscribers
1.01K photos
23 videos
722 files
723 links
Everything about programming for beginners.
1 and only official telegram channel of CODERBABA India.

Content:
.NET Developer,
Programming (ASP. NET, VB. NET, C#, SQL Server),
& Projects
follow me https://linktr.ee/coderbaba
*Programming
*Coding
*Note
Download Telegram
Thank you all of you
For 100 💯 Members
😍😍
Online Inventory Management Project in PHP with source code and Database.

Where to use it??

This is a Web based application on the store inventory system used for small Organization.


https://imojo.in/20aood3
Online Restaurant Management System PHP Project with Source Code & Database
Download:
https://imojo.in/2246cwv
GridView custom pager template

——————————————
<%@ Page Language="C#" AutoEventWireup="true" %>

<!DOCTYPE html>

<script runat="server">
protected void GridView1_RowCommand(Object sender, GridViewCommandEventArgs e)
{
switch (e.CommandName)
{
case "First":
{GridView1.PageIndex = 0; break;}
case "Next":
{ GridView1.PageIndex++; break; }
case "Previous":
{ GridView1.PageIndex--; break; }
case "Last":
{ GridView1.PageIndex = GridView1.PageCount - 1; break; }
}
Label1.Text = "Current Page: " + (GridView1.PageIndex + 1) + " Total Page:" + GridView1.PageCount;
}
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>How to create GridView custom pager template in asp.net</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h2 style="color:Navy; font-style:italic;">GridView Example: Using Custom PagerT
Gridview code;
<asp:GridView
ID="GridView1"
runat="server"
DataSourceID="SqlDataSource1"
AutoGenerateColumns="true"
AllowPaging="true"
PageSize="10"
BorderColor="LightPink"
Font-Names="Comic Sans MS"
OnRowCommand="GridView1_RowCommand"
Width="650"
>
<HeaderStyle BackColor="Crimson" ForeColor="Snow" Height="45" />
<RowStyle BackColor="OrangeRed" ForeColor="Snow" Font-Italic="true" />
<PagerStyle Height="45" HorizontalAlign="Right" BackColor="RosyBrown" />
<PagerTemplate>
<asp:Button
ID="Button1"
runat="server"
Text="First"
CommandName="First"
Height="35"
Font-Bold="true"
ForeColor="SaddleBrown"
/>
<asp:Button
ID="Button2"
runat="server"
Text="Next"
CommandName="Next"
Height="35"
Font-Bold="true"
ForeColor="SaddleBrown"
/>
<asp:Button
ID="Button3"
runat="server"
Text="Previous"
CommandName="Previous"
Height="35"
Font-Bold="true"
ForeColor="SaddleBrown"
/>
<asp:Button
ID="Button4"
runat="server"
Text="Last"
CommandName="Last"
Height="35"
Font-Bold="true"
ForeColor="SaddleBrown"
/>
</PagerTemplate>
</asp:GridView>
inventory management system

windows application project in c# .net
https://youtu.be/TPdcouldCIk
O Level Practical Exam Question-Answer
Q-1:
Create a page with two frames using HTML.The Left frame of page contains the list of Names and Images of the Indian National Leaders. on the left frame when you click on the images, the details will be shown on the right frame.

https://youtu.be/X1X1XzWpyA8
In HTML has two type of Elements
--------------------------------
1-Block Elements
2-Inline Elements

1-Block Elements:
block elements add a line break before and after them

* <div> tag is a block element
* Other block elements are <table>,<hr>, Headings, List (<ul>,<ol>), <p> and etc.


2-Inline Elements:

inline elements don't break the text before and after them

* <span> is an inline elements.
* Most HTML elements are inline, for Ex: <a>


What is DIV:
the <div> tag defines a division or a section in an HTML document. creates logical division within a page.
——————————————————————
<DIV> tag support all global attributes....

Class
ID
Style
lang
dir
title
tabindex
contenteditable
hidden
spellcheck

Class:
refers to a class in a style sheet

ID:
Specifies a unique id for an element

Style:
Specifies an inline CSS style for an element

lang:
Specifies the language of the element's content

dir:
Specifies the text direction for the content in an element



title:
Specifies extra information about an element.



tabindex:
Specifies the tabbing order of an element


contenteditable
Specifies whether the content of an element is editable or not

hidden:
Specifies that an element is not yet, or is no longer, relevant.


spellcheck:
Specifies whether the element is to have its spelling and grammar checked or not

Ex:

<html>
<body>

<p contenteditable="true" spellcheck="true">
This is a praggagraph. It is editable.</p>

First name: <input type="text" name="fname" spellcheck="true">

</body>
</html>
Question: What is float property and what float do?

Answer:
float pushes an element to the sides of a page with text wrapped around it. you can create entire page or a smaller area by using float. if size of a floated element changes, text around it will re-flow to accommodate the changes. You can have float left, right, none or inherit.

if you set, 'float: left;' for an image, it will move to the left until the margin, padding or border of another block-level element is reached. The normal flow will wrap around on the right side.
————————————————————————-

Ex:


<div class="container">
<div class="box"><span>1</span></div>
<div class="box"><span>2</span></div>
<div class="box"><span>3</span></div>
<div class="box"><span>4</span></div>
<div class="box"><span>5</span></div>
</div>

CSS:
<style>
.floatContainer{
width: 200px;
height: 100px;
border: 2px solid purple;
}
.box{
float: left;
width: 50px;
height: 30px;
border: 2px solid gray;
margin: 5px;
}
</style>
*--ASP.Net Worker Process and ISAPI--*

Q-What is Worker Process?

"The "Process" which is responsible for processing Asp.net application request and sending back response to the client , is known as "Worker Process". All ASP.NET functionalities runs within the scope of this process."

So finally I can write it...

"Process which is responsible for all asp.net requests and response cycle is known as worker process."



Q-What about Worker process in Web Farm?

A Web farm contains multiple ASP.NET worker processes.
Each server in the group of servers handles a separate ASP.NET worker process.


Q-What about Worker process in Web Garden?
A Web garden contains multiple ASP.NET worker processes.
Each CPU in the SMP server handles a separate ASP.NET worker process.

Let's See the Worker Process
Running IIS 5.0: Aspnet_wp.ex
Running IIS 6.0: W3wp.exe


Q-What is ISAPI ?
ISAPI is the first and highest performance entry point into IIS for custom Web Request handling

ISAPI (Internet Server Application Program Interface) is a set of Windows program (APIs (DLL)) calls that let you write a Web server application that will run faster than a common gateway interface (CGI) application.
Basic CSS Question:
Q-1:CSS Font Size:

You can set the size of the text used in an element by using the fontsize property.

syntax:

font-size: value;

There are alot of choices for values:

1- xx-large
2- x-large
3- larger
4- large
5- medium
6- small
7- smaller
8- x-small
9- xx-small
10-length
11-% (percent)

----------------------------------

Q-2 Text Decoration:
You can decorate text with the following:
syntax:
text-decoration: value;


Possible values are:-
1- none
2- underline
3- overline
4- line through
5- blink

-----------------------------

Q-3 Text Transform
You can control the size of letters in an HTML element with the
following CSS properties:

syntax: text-transform: value;


Possible values are-
1- none
2- capitalize
3- lowercase
4- uppercase

-----------------------------------

Q-4 Word Spacing
You can adjust the space between words in the following manner. You
can use negative values.
Possible values are:-

1- normal
2- length

Example: word-spacing: value;

word-spacing: 10px;

---------------------------------

Q-5 Font Style:
You can set the style of text in a element with the font-style property

font-style: value;

Possible values are:-
1- normal
2- itailc
3- oblique

example:
font-style:italic;

-------------------------

Q-6 Cursor CSS property:
You can control the style of cursor to be used in an element with the
cursor property

syntax: cursor: value;

Values:

1- auto
2- crosshair
3- default
4- help
5- move
6- pointer
7- text
8- url
9- wait
10- e-resize
11- ne-resize
12- nw-resize
13- n-resize
14- se-resize
15- sw-resize
16- s-resize
17- w-resize