Documente Academic
Documente Profesional
Documente Cultură
1.Variable of class-
a copy of the class that is not initialized.
ex-ClassName cn;
2.Instance of class-
-a copy of the class that is initilized by using the new keyword.
-every instance is unique of itself
-the changes made of one instance will never reflect to another instance.
-instance class own memory and never shared with another
ex-ClassName cn=new ClassName(); //Instance of class
int x=50,y=100;
ClassName cn1=new ClassName();
Console.WriteLine(cn.x+" "+cn.y);
int x=100,y=200;
Console.WriteLine(cn1.x+" "+cn1.y);
Access Specifiere-
private
public
protected
internal
protected internal
Access specifiers:
-it's special kind of modifiers
-using which we can define the scope of a type and it's members.
-if we don't mention any acess specifier then by default private
-that called by default private and we can not use private on a class
-if we don't make public then by default internal.
Constructor
-it is special method present under a class responsible for initializing the
variable of that class.
-the name of a constructor method is exactly the same name of the class in
whichit was present.
-it's non-value returning method.
-each and every class requires this constructor if we want to create the instance
of that class.
-we can defind constructor explicitly and implicitly
Validation-
-validates the user input data to ensure that
useless,unauthonticated,or contradictory data don't get stored
-validation is the process of validating the
webform by submitting proper Up to the program
Two Types Of Validation-
-ClientSideValidation-
validate the webform at browser(using JavaScript)
-ServerSide Validation-
valdating webform at webserver(using c#,php,or server side programming lang)
*Valiadation Controls-
1.RequiredFieldValidator
-it is use to check emptiness of control
-properties:
1.ControlToValidate
2.ErrorMessage
2.RangeValidator
3.CompareValidator
4.RegularExpressionValidator
5.CustomValidator
*MasterPage-
- .master extension
- we can create one or more master pages in our project
- a master can have another masterPage as master
- if we want to create master page in our project-
-then we have to create firstly master page then after child pages
- we can transfer one master page onto another master page
- Controls of MasterPage can be programed in the mastePage and Content page
but, content page control will never be programed in mastePage.
-it consist of classess that can be used to connect,retrive and manipilate data.
- Two Main Components of ADO.net
1.Data Provider
2.Dataset
-1.Dataset
*Exception Handling
*Use Of Ajax On the Web Form
-Ajax Controls
-Using Ajax Controls on the web-Form
Project
-Database
-EntityRelationship Diagram(Data-Model)
-Web_Pages
-Database_Connectivity