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.