en
Feedback
Coder Baba

Coder Baba

Open in Telegram

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

Show more
2 230
Subscribers
-224 hours
-137 days
-3730 days
Posts Archive
Attendancesystem.zip0.03 KB

Integrated Development Environment (IDE) for DotNetЁЯСЖЁЯСЖЁЯОп

Fastest way to enumerate a ListЁЯСЖЁЯСЖЁЯСЖ

Executing code before Main in .NETЁЯСЖЁЯСЖ

HR Round interview Question Answer PDF

photo content
+3

photo content

What is SQL Keys? ЁЯСЖЁЯСЖЁЯСЖ

photo content
+7

+1
Attendancesystem.zip0.03 KB

1-Attendance System asp.net C# source code: Link:https://imojo.in/19ChsSk 2 online examination system asp.net C# source code link: https://imojo.in/16dfW71

1-Attendance System asp.net C# source code: Link:https://imojo.in/19ChsSk 2 online examination system asp.net C# source code link: https://imojo.in/16dfW71

IQVIA(www.iqvia.com) is hiring freshers who are passionate about programming for their development team in Bangalore . Qualification Bachelors or Masters in Computers BE (Any degree) 2021 Pass out 70% & above Skill Sets C# SQL Server ASP.Net (Desired) Evaluation Aptitute Test тАУ Online Technical Test (including Coding) тАУ Online Technical Round тАУ Face to Face (Teams) Manager Round Positions Required: 5 Target Joining date : 2nd Dec 2021 You can visit https://iqvia.wd1.myworkdayjobs.com/IQVIA/job/Bangalore-India/Associate-Software-Engineer_R1254241-1 and submit your resumes

LINQ: Language Integrated Query LINQ in DotNet (Short Notes)

3тШСя╕П-Extended Stored Procedures тАУ Extended stored procedures usually begins with xp_ or sp_ and also live in the Master database. They are not written in T-SQL. They are in fact compiled DLLs which open up a world of functionality to the SQL Server environment.

Store procedure in SQL Server by Coderbaba ЁЯОпStore procedure in MS SQL Server: "Store procedure in asp.net c# SQL Server". A stored procedure (SP) is a pre-compiled set of T-SQL statements, the basic purpose of which is to group T-SQL statements together to perform a task or set of multiple tasks. It is stored in the data dictionary and can be executed either from the SQL Server Management Studio or from within an application as required. Stored procedures can execute batches of T-SQL statements, and return multiple result sets as well. It can accept input parameters and can return one or more output parameters to the calling procedure or batch. A stored procedure can call other stored procedures and can also return status information to the calling procedure to indicate whether they succeeded or failed. ЁЯОпBenefits of a Stored Procedure: -------------------------------- тШСя╕ПModular Programming тАУ -------------------- After a Stored Procedure is created, it can be invoked multiple times from multiple places from any application. If any modification is needed in the SP, it needs to be done only in one place. It increases code reusability. тШСя╕ПImproved Performance тАУ ---------------------- Stored Procedures executes the code faster and reduces network traffic. тШСя╕ПFaster execution тАУ ------------------ Stored procedures are pre-compiled i.e; parsed and optimized as soon as they are created and are stored in memory. Thus it executes a lot faster than sending many lines of SQL code from your application to the SQL Server. Doing that requires SQL Server to compile and optimize your SQL code every time it runs. тШСя╕ПReduced network traffic тАУ ------------------------- Sending many lines of SQL code from an application over the network to SQL Server, impacts network performance. This is especially true if the SQL code is lengthy and is accessed frequently in the application. Running the code on the SQL Server (as a Stored Procedure) eliminates the need to send this code over the network. The only network traffic will be the parameters supplied ti invoke the SP and the results of any query. Stored Procedures limit data with WHERE clauses, ensuring that your application sends just the necessary data over the network wire. тШСя╕ПSecurity тАУ ---------- Users can execute a stored procedure without needing to execute any of the SQL statements directly. Therefore, a stored procedure can provide advanced database functionality for users who wouldn't normally have access to these tasks, but this functionality is made available in a tightly controlled way. You can grant rights to the stored procedure without granting rights to the underlying objects. Stored Procedures can be used to make SQL injection attacks more difficult to execute successfully. Stored Procedures enable you to perform error-handling at the server. ЁЯОпSyntax of a Stored Procedure: CREATE PROCEDURE procedure_name sql_Parameter AS Begin sql_statement End ------------------ ЁЯОпExample: Create procedure [dbo].[PasswordRecovery] (@username nvarchar(30), @email nvarchar(30), @password nvarchar(50) output, @msg nvarchar(30) output) as begin if exists(select *from Emp_login where user_id=@username and email_id=@email) begin select @password=password from Emp_login where user_id=@username and email_id=@email set @msg='yes' end else begin set @msg='Credential dose not match. Retry!' end end -----------------------тАФтАФтАФтАФтАФтАФ- ЁЯОпTypes of Stored Procedures: ----------------------------тАФтАФтАФтАФтАФ There are three types of Stored Procedures: 1тШСя╕П-User Defined Stored Procedures тАУ User Defined stored procedures are created by normal users like us. 2тШСя╕П-SQL Server System Stored Procedures тАУ System stored procedures usually begin with sp_ and most of them live in the Master database. They handle much of what is considered to be the nuts-and-bolts of SQL Server administration and are written in T-SQL just like user-defined SPs. Many vital functions of SQL Server rely on these SPs to remain intact!

:- C# OOPs Notes By CODERBABA -: ЁЯОпWhat is OOPS?: ------------- Object-oriented programming (OOP) is a programming structure where programs are managed by objects, classes and itтАЩs action and logic. C# provides full support for object-oriented programming including encapsulation, inheritance, and polymorphism. ЁЯОпClass: ------- Class and object in c# with real time example If we talking about the class in any language, a class is just a user define data type used to represent the relation between the data and functions or methods. A class can have many things like variable, function, properties. In another way, we can say that class is a block of code where we can define the state and behaviour of objects, function, and variables. Note: By default class is internal. Member of the class will be private See below Syntax Format: -------------------------- Class class name { Statements; ------- -------- } Here I am taking an example of c# class. using System; //namespace class Employee { //variables public string name; int age; string address; public string departmant() //method define by me { return "I.T."; } static void Main(string[] args) //Main method { Employee emp = new Employee(); //Object creation of Employee class emp.name = "coderbaba"; emp.age = 10; emp.address = "Delhi"; emp.departmant(); Console.WriteLine(emp.name+" "+emp.age+" "+emp.address+" "+emp.departmant()); } } In the above example, we can see that our method and variable are exits in class. ЁЯОпObject: ------ An object is basically an instance of the class. It allocated the memory to access the member of the class. An object is a real-time entity. If we want to access the class member we need to create an object of that particular class. In the below example, we take тАШEmployeeтАЩ as a class then тАШempтАЩ are the object. Syntex for Object: ClassName objectname = new ClassName(); E.g. Employee emp = new Employee(); //Object creation of Employee class In the above syntax, the тАШnewтАЩ operator is used to create an object of a class. When we create an object, then the system creates the memory for data members and methods that are present in the class. :-Important Point to remember -: An object is the base type of all classes in the dot net framework. This object can hold any kind of value, however, boxing will be done implicity and unboxing need type casting mechanism. ЁЯОпAbstraction and encapsulation: ----------------------------- ЁЯОпAbstraction: Basically, Abstraction is a process of hiding the unnecessary things and it provides operation part to end-user. So if we want to understand the abstraction we have to go for a real-life example. Suppose that there is a cell phone. Actually, we all don't know how it internally works but we can use it by touching its screen, it means we know only about operational part i.e abstraction. ЁЯОпEncapsulation: Encapsulation is the process of protecting the information of an object from the end-user. Hide the data for security such as making the variables private, and expose the property to access the private data which would be public. It means if there is abstraction there will be encapsulation, but it is not necessary that if there is encapsulation then there also will be an abstraction.

*рдорджрдж* _ЁЯМ▒_________ рдПрдХ рдмрд╛рд░ рджреБрдирд┐рдпрд╛ рдХреЗ рд╕рдмрд╕реЗ рдзрдирд╡рд╛рди рд╡реНрдпрдХреНрддрд┐рдпреЛрдВ рдореЗрдВ рд╕реЗ рдПрдХ рдмрд┐рд▓ рдЧреЗрдЯреНрд╕ рд╕реЗ рдХрд┐рд╕реА рдиреЗ рдкреВрдЫрд╛:- "рдХреНрдпрд╛ рдЗрд╕ рдзрд░рддреА рдкрд░ рдЖрдкрд╕реЗ рднреА рдзрдирд╡рд╛рди рдХреЛрдИ рд╣реИ? " рдмрд┐рд▓ рдЧреЗрдЯреНрд╕ рдиреЗ рдЬрд╡рд╛рдм рджрд┐рдпрд╛:- "рд╣рд╛рдВ, рдореЗрд░реА рдиреЫрд░ рдореЗрдВ рдПрдХ рд╡реНрдпрдХреНрддрд┐ рдЗрд╕ рджреБрдирд┐рдпрд╛ рдореЗрдВ рдореБрдЭрд╕реЗ рднреА рдзрдирд╡рд╛рди рд╣реИред" "рдХреМрди....? " рдмрд┐рд▓ рдЧреЗрдЯреНрд╕ рдиреЗ рдмрддрд╛рдпрд╛.... "рдПрдХ рд╕рдордп рдореЗрдВ рдЬрдм рдореЗрд░реА рдкреНрд░рд╕рд┐рджреНрдзрд┐ рдФрд░ рдЕрдореАрд░реА рдХреЗ рджрд┐рди рдирд╣реАрдВ рдерд╛ ред рдореИрдВ рдиреНрдпреВрдпреЙрд░реНрдХ рдПрдпрд░рдкреЛрд░реНрдЯ рдкрд░ рдерд╛ред рд╡рд╣рд╛рдВ рд╕реБрдмрд╣ рд╕реБрдмрд╣ рдЕрдЦрдмрд╛рд░ рджреЗрдЦ рдХрд░, рдореИрдВрдиреЗ рдПрдХ рдЕрдЦрдмрд╛рд░ рдЦрд░реАрджрдирд╛ рдЪрд╛рд╣рд╛ред рдкрд░ рдореЗрд░реЗ рдкрд╛рд╕ рдЫреБрдЯреНрдЯреЗ рдкреИрд╕реЗ рдирд╣реАрдВ рдереЗред рдЗрд╕рд▓рд┐рдП рдореИрдВрдиреЗ рдЕрдЦрдмрд╛рд░ рд▓реЗрдиреЗ рдХрд╛ рд╡рд┐рдЪрд╛рд░ рддреНрдпрд╛рдЧ рдХрд░ рдЙрд╕реЗ рд╡рд╛рдкрд╕ рд░рдЦ рджрд┐рдпрд╛ред рдЕрдЦрдмрд╛рд░ рдмреЗрдЪрдиреЗ рд╡рд╛рд▓реЗ рд▓реЬрдХреЗ рдиреЗ рдореБрдЭреЗ рджреЗрдЦрд╛, рддреЛ рдореИрдВрдиреЗ рдЙрд╕рд╕реЗ рдЫреБрдЯреНрдЯреЗ рдкреИрд╕реЗ рдирд╛ рд╣реЛрдиреЗ рдХреА рдмрд╛рдд рдХрд╣реА... рд▓реЗрдХрд┐рди рд▓реЬрдХреЗ рдиреЗ рдореБрдЭреЗрдВ рдЕрдЦрдмрд╛рд░ рджреЗрддреЗ рд╣реБрдП рдХрд╣рд╛:- "рдпрд╣ рдореИрдВ рдЖрдкрдХреЛ рдореБрдлреНрдд рдореЗрдВ рджреЗрддрд╛ рд╣реВрдВ..." рдмрд╛рдд рдЖрдИ рдФрд░ рдЧрдИ ... рдХреЛрдИ рддреАрди рдорд╛рд╣ рдмрд╛рдж рд╕рдВрдпреЛрдЧрд╡рд╢ рдЙрд╕реА рдПрдпрд░рдкреЛрд░реНрдЯ рдкрд░ рдореИрдВ рдлрд┐рд░ рдЙрддрд░рд╛ рдФрд░ рдЕрдЦрдмрд╛рд░ рдХреЗ рд▓рд┐рдП рдлрд┐рд░ рдореЗрд░реЗ рдкрд╛рд╕ рд╕рд┐рдХреНрдХреЗ рдирд╣реАрдВ рдереЗред рдЙрд╕ рд▓реЬрдХреЗ рдиреЗ рдореБрдЭреЗ рдлрд┐рд░ рд╕реЗ рдЕрдЦрдмрд╛рд░ рджрд┐рдпрд╛, рддреЛ рдореИрдВрдиреЗ рдордирд╛ рдХрд░ рджрд┐рдпрд╛ред рдореИрдВ рдпреЗ рдирд╣реАрдВ рд▓реЗ рд╕рдХрддрд╛.. рдЙрд╕ рд▓реЬрдХреЗ рдиреЗ рдХрд╣рд╛:- "рдЖрдк рдЗрд╕реЗ рд▓реЗ рд╕рдХрддреЗ рд╣реИрдВ, рдореИрдВ рдЗрд╕реЗ рдЕрдкрдиреЗ рдкреНрд░реЙрдлрд┐рдЯ рдХреЗ рд╣рд┐рд╕реНрд╕реЗ рд╕реЗ рджреЗ рд░рд╣рд╛ рд╣реВрдВ, рдореИрдВрдиреЗ рдЕрдЦрдмрд╛рд░ рд▓реЗ рд▓рд┐рдпрд╛ ред" рддрдХрд░реАрдмрди 19 рд╕рд╛рд▓ рдЧреБрдЬрд░рдиреЗ рдХреЗ рдЙрдкрд░рд╛рдВрдд рдЕрдкрдиреА рдЦреНрдпрд╛рддрд┐ рдХреЗ рдмрд╛рдж рдПрдХ рджрд┐рди рдореБрдЭреЗ рдЙрд╕ рд▓реЬрдХреЗ рдХреА рдпрд╛рдж рдЖрдИ рдФрд░ рдореИрдВрдиреЗ рдЙрд╕реЗ рдвреВрдВрдврдирд╛ рд╢реБрд░реВ рдХрд┐рдпрд╛ред рдХреЛрдИ рдбреЗреЭ рдорд╣реАрдиреЗ рдЦреЛрдЬрдиреЗ рдХреЗ рдмрд╛рдж рдЖрдЦрд┐рд░рдХрд╛рд░ рд╡рд╣ рдорд┐рд▓ рдЧрдпрд╛.... рдореИрдВрдиреЗ рдкреВрдЫрд╛:- "рдХреНрдпрд╛ рддреБрдо рдореБрдЭреЗ рдкрд╣рдЪрд╛рдирддреЗ рд╣реЛ ? " рд▓реЬрдХрд╛:- "рд╣рд╛рдВ,рдЖрдк рдорд┐. рдмрд┐рд▓ рдЧреЗрдЯреНрд╕ рд╣реИрдВред " рдЧреЗрдЯреНрд╕:- "рддреБрдореНрд╣реЗрдВ рдпрд╛рдж рд╣реИ, рдХрднреА рддреБрдордиреЗ рдореБрдЭреЗ рдлреНрд░реА рдореЗрдВ рдЕрдЦрдмрд╛рд░ рджрд┐рдП рдереЗ ?" рд▓реЬрдХрд╛:- "рдЬреА рд╣рд╛рдВ, рдмрд┐рд▓реНрдХреБрд▓.. рдРрд╕рд╛ рджреЛ рдмрд╛рд░ рд╣реБрдЖ рдерд╛.." рдЧреЗрдЯреНрд╕:- "рдореИрдВ рддреБрдореНрд╣рд╛рд░реЗ рдЙрд╕ рдХрд┐рдпреЗ рд╣реБрдП рдХреА рдХреАрдордд рдЕрджрд╛ рдХрд░рдирд╛ рдЪрд╛рд╣рддрд╛ рд╣реВрдВ....рддреБрдо рдЕрдкрдиреА рдЬрд┐рдВрджрдЧреА рдореЗрдВ рдЬреЛ рдХреБрдЫ рдЪрд╛рд╣рддреЗ рд╣реЛ, рдмрддрд╛рдУ, рдореИрдВ рддреБрдореНрд╣рд╛рд░реА рд╣рд░ рдЬрд░реВрд░рдд рдкреВрд░реА рдХрд░реВрдВрдЧрд╛.." рд▓реЬрдХрд╛:- "рд╕рд░, рд▓реЗрдХрд┐рди рдХреНрдпрд╛ рдЖрдк рдХреЛ рдирд╣реАрдВ рд▓рдЧрддрд╛ рдХрд┐ рдРрд╕рд╛ рдХрд░рдХреЗ рдЖрдк рдореЗрд░реА рдорджрдж рдХреА рдХреАрдордд рдЕрджрд╛ рдирд╣реАрдВ рдХрд░ рдкрд╛рдПрдВрдЧреЗ.." рдЧреЗрдЯреНрд╕:- "рдХреНрдпреВрдВ ..?" рд▓реЬрдХрд╛:- "рдореИрдВрдиреЗ рдЬрдм рдЖрдкрдХреА рдорджрдж рдХреА рдереА, рдЙрд╕ рд╡реШреНрдд рдореИрдВ рдПрдХ рдЧрд░реАрдм рд▓реЬрдХрд╛ рдерд╛, рдЬреЛ рд╕рд┐рд░реНреЮ рдЕрдЦрдмрд╛рд░ рдмреЗрдЪрдХрд░ рдЕрдкрдирд╛ рдЧреБрдЬрд╛рд░рд╛ рдХрд░рддрд╛ рдерд╛ред рдЖрдк рдореЗрд░реА рдорджрдж рддрдм рдХрд░ рд░рд╣реЗ рд╣реИрдВ, рдЬрдм рдЖрдк рдЗрд╕ рджреБрдирд┐рдпрд╛ рдХреЗ рд╕рдмрд╕реЗ рдЕрдореАрд░ рдФрд░ рд╕рд╛рдорд░реНрдереНрдпрд╡рд╛рди рд╡реНрдпрдХреНрддрд┐ рд╣реИрдВ.. рдлрд┐рд░, рдЖрдк рдореЗрд░реА рдорджрдж рдХреА рдмрд░рд╛рдмрд░реА рдХреИрд╕реЗ рдХрд░реЗрдВрдЧреЗ...?" рдмрд┐рд▓ рдЧреЗрдЯреНрд╕ рдХреА рдирдЬрд░ рдореЗрдВ, рд╡рд╣ рд╡реНрдпрдХреНрддрд┐ рджреБрдирд┐рдпрд╛ рдХреЗ рд╕рдмрд╕реЗ рдЕрдореАрд░ рд╡реНрдпрдХреНрддрд┐ рд╕реЗ рднреА рдЕрдореАрд░ рдерд╛ рдХреНрдпреЛрдВрдХрд┐--- *"рдХрд┐рд╕реА рдХреА рдорджрдж рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдЙрд╕рдиреЗ реЩреБрдж рдХреЗ рдЕрдореАрд░ рд╣реЛрдиреЗ рдХрд╛ рдЗрдВрддрдЬрд╛рд░ рдирд╣реАрдВ рдХрд┐рдпрд╛ рдерд╛ "....* рдЕрдореАрд░реА рдкреИрд╕реЗ рд╕реЗ рдирд╣реАрдВ рджрд┐рд▓ рд╕реЗ рд╣реЛрддреА рд╣реИред рдФрд▒ рдпрдХреАрдирди рдХрд┐рд╕реА рдХреА рдорджрдж рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдПрдХ рдЕрдореАрд░ рджрд┐рд▓ рдХрд╛ рд╣реЛрдирд╛ рднреА рдмрд╣реБрдд рдЬрд░реВрд░реА рд╣реИ..... _ЁЯМ▒_________ #coderbaba

photo content