Mutable and Immutable
Mutable object : An object whose internal state can be changed is mutable.
Immutable object: Immutable doesn't allow any change in the object once it has been created.
Let's check mutability of List and tuple
L1=["c","o","d","e","n","g"]
L1[3]="i"
print(L1)
Output: ["c","o","d","i","n","g"]
π List is mutable
T1=("c","o","d","e","n","g")
T1(3)="i"
print(T1)
βοΈ TypeError: 'tuple' object does not support item assignment
π Tuple is immutable
Did you get what is really mean by the word "mutable" and "immutable"?
π Hope you guys liked it
Subscribe toππ» "CODER BABA" YouTube channel β¨ for coding, programming, software related content π―π―
Mutable object : An object whose internal state can be changed is mutable.
Immutable object: Immutable doesn't allow any change in the object once it has been created.
Let's check mutability of List and tuple
L1=["c","o","d","e","n","g"]
L1[3]="i"
print(L1)
Output: ["c","o","d","i","n","g"]
π List is mutable
T1=("c","o","d","e","n","g")
T1(3)="i"
print(T1)
βοΈ TypeError: 'tuple' object does not support item assignment
π Tuple is immutable
Did you get what is really mean by the word "mutable" and "immutable"?
π Hope you guys liked it
Subscribe toππ» "CODER BABA" YouTube channel β¨ for coding, programming, software related content π―π―
Create tables for Customer and Employee
ββββββββββββββββββ-
---Customer Table---
Create table Customers
(
CustomerId int identity(1,1) primary key,
ContactName nvarchar(50),
City nvarchar(50),
Country nvarchar(50),
Phone nvarchar(20),
)
Insert into Customers values('Karan','Kanpur','India','9988775520')
Insert into Customers values('Rohit','Patna','India','9988771121')
Insert into Customers values('Jiwan','Hyderabad','India','9738771222')
Insert into Customers values('Sunita','Lalganj','India','9988771323')
---Employees Table---
Create table Employees
(
EmployeeId int identity(1,1) primary key,
FirstName nvarchar(50),
LastName nvarchar(50),
BirthDate datetime,
HireDate datetime
)
Insert into Employees values('Kumar','Pandey',Getdate(),Getdate())
Insert into Employees values('Geeta','Kumar',Getdate(),Getdate())
Insert into Employees values('Sandeep','Tiwari',Getdate(),Getdate())
Insert into Employees values('Ajay','Yadav',Getdate(),Getdate())
Select CustomerId, ContactName, City, Country, Phone From Customers
Select EmployeeId,FirstName, LastName, BirthDate, HireDate From Employees
ββββββββββββββββββ-
---Customer Table---
Create table Customers
(
CustomerId int identity(1,1) primary key,
ContactName nvarchar(50),
City nvarchar(50),
Country nvarchar(50),
Phone nvarchar(20),
)
Insert into Customers values('Karan','Kanpur','India','9988775520')
Insert into Customers values('Rohit','Patna','India','9988771121')
Insert into Customers values('Jiwan','Hyderabad','India','9738771222')
Insert into Customers values('Sunita','Lalganj','India','9988771323')
---Employees Table---
Create table Employees
(
EmployeeId int identity(1,1) primary key,
FirstName nvarchar(50),
LastName nvarchar(50),
BirthDate datetime,
HireDate datetime
)
Insert into Employees values('Kumar','Pandey',Getdate(),Getdate())
Insert into Employees values('Geeta','Kumar',Getdate(),Getdate())
Insert into Employees values('Sandeep','Tiwari',Getdate(),Getdate())
Insert into Employees values('Ajay','Yadav',Getdate(),Getdate())
Select CustomerId, ContactName, City, Country, Phone From Customers
Select EmployeeId,FirstName, LastName, BirthDate, HireDate From Employees
Do you know ? How to Loading multiple tables into SQLDataReader object in aspdotnet C#
ππππππππππ
https://youtu.be/g2BXccLXweA
ππππππππππ
https://youtu.be/g2BXccLXweA
YouTube
50 ASP.NET Course | Loading multiple tables into DataReader | CoderBaba
How to Loading multiple tables into DataReader class in asp.net Csharp. aspdotnet C# tutorial in Hindi #coderbaba #DataReader #aspdotnet #programming #coderbaba
" it is possible to load more than 1 table into a DataReader, by passing multiple select statementsβ¦
" it is possible to load more than 1 table into a DataReader, by passing multiple select statementsβ¦
https://youtu.be/OM7jv8-WiAE
Setup1: Download SQL Server Database
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
Setup 2: Microsoft SQL Server Management Studio
https://youtu.be/OM7jv8-WiAE
step-by-step process of downloading and installing the SQL Server.
https://bit.ly/44Suc5Y
Setup1: Download SQL Server Database
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
Setup 2: Microsoft SQL Server Management Studio
https://youtu.be/OM7jv8-WiAE
step-by-step process of downloading and installing the SQL Server.
https://bit.ly/44Suc5Y
YouTube
step-by-step process of downloading and installing the SQL Server
#Coderbaba step-by-step process of downloading and installing the SQL Server.#sqlserver
Setup1: Download SQL Server Database
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
Setup 2: Microsoft SQL Server Management Studio
https://bit.ly/3HTD7Klβ¦
Setup1: Download SQL Server Database
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
Setup 2: Microsoft SQL Server Management Studio
https://bit.ly/3HTD7Klβ¦
new video
ADO.Net supports 2 different architectures for Data Source
Connection Oriented Architecture
Disconnected architecture
https://youtu.be/ki4budpRDlg
ADO.Net supports 2 different architectures for Data Source
Connection Oriented Architecture
Disconnected architecture
https://youtu.be/ki4budpRDlg
YouTube
51 ASP.NET Course | Connection Oriented Architecture Vs Disconnected architecture | DataSet
ADO.Net supports 2 different architectures for Data Source .
Connection Oriented Architecture and Disconnected architecture. And also under stand #SqlDataAdaptor and #datasets
#CoderBaba
Working with DataSetβs
What is SqlDataAdapter
Constructors of DataAdapterβ¦
Connection Oriented Architecture and Disconnected architecture. And also under stand #SqlDataAdaptor and #datasets
#CoderBaba
Working with DataSetβs
What is SqlDataAdapter
Constructors of DataAdapterβ¦
Hi Everyoneπ post of Java programming language Featureπ
If you have any queries meet me in the comment boxπ¬
===========
@CoderBaba
@coderbaba
If you have any queries meet me in the comment boxπ¬
===========
@CoderBaba
@coderbaba
Hi Everyoneπ post of Java programming language Featureπ
If you have any queries meet me in the comment boxπ¬
===========
@CoderBaba
@coderbaba
@coderbaba
==========
If you have any queries meet me in the comment boxπ¬
===========
@CoderBaba
@coderbaba
@coderbaba
==========
Upcoming Java Programming Videos
Java Hello World Program | Java Tutorial in Hindi Part-24
https://youtu.be/Mig8Tq5Nrjg
Comments in Java | Java Tutorial in Hindi Part-25
https://youtu.be/P8nztKcV_wg
Java Character Set |Java Tutorial in Hindi Part-26
https://youtu.be/t8mWSgM9vaI
Java Keywords | Java Tutorial in Hindi Part-27
https://youtu.be/iUKZxe4wXx0
Identifiers in java programming| Java Tutorial in Hindi part-28
https://youtu.be/fpeZtmNvwYs
Constants in Java Programming | Java Tutorial in Hindi part-29
https://youtu.be/UUCrSnx-Nqo
Java Hello World Program | Java Tutorial in Hindi Part-24
https://youtu.be/Mig8Tq5Nrjg
Comments in Java | Java Tutorial in Hindi Part-25
https://youtu.be/P8nztKcV_wg
Java Character Set |Java Tutorial in Hindi Part-26
https://youtu.be/t8mWSgM9vaI
Java Keywords | Java Tutorial in Hindi Part-27
https://youtu.be/iUKZxe4wXx0
Identifiers in java programming| Java Tutorial in Hindi part-28
https://youtu.be/fpeZtmNvwYs
Constants in Java Programming | Java Tutorial in Hindi part-29
https://youtu.be/UUCrSnx-Nqo
CustomerDetails_Next_Prev_First_Last.rar
30 MB
I create Website in asp.net c# in which i put button like first,next, last,previous.
now i want to display record fetch from SQL database , and show in page.
when i click first button then on load time data display first. when i click last then data display last record, when i click previous then data dispaly previous, and when i click next then display data next in web page
https://youtu.be/zHlM1P-2b-U
now i want to display record fetch from SQL database , and show in page.
when i click first button then on load time data display first. when i click last then data display last record, when i click previous then data dispaly previous, and when i click next then display data next in web page
https://youtu.be/zHlM1P-2b-U
πTop 50 Linux Commands You Must Know as a Regular User... π
1. ls - view contents of directory (list)
2. pwd - path of the current directory
3. cd - change directoryn
4. mkdir - make new directory
5. mv - move files / rename files
6. cp - copy files
7. rm - remove files
8. touch - create blank new file
9. rmdir - delete directory
10. cat - list content of file to terminal
11. clear - clear terminal window
12. echo - move data into a file
13. less - Read text file one screen at a time
14. man - show manual of Linux commands
15. sudo - enables you to perform tasks that require administrative or root permissions
16. top - task manager in terminal
17. tar - used to archive multiple files into a tarball
18. grep - used to searching words in specific files
19. head - view first lines of any text file
20. tail - view last lines of any text file
21. diff - compares the contents of two files line by line
22. kill - used for killing unresponsive program
23. jobs - display all current jobs along with their statuses
24. sort - is a command line utility for sorting lines of text files
25. df - info about system disk
26. du - check how much space a file or directory takes
27. zip - to compress your files into a zip archive
28. unzip - to extract the zipped files from a zip archive
29. ssh - a secure encrypted connection between two hosts over and insecure network
30. cal - shows calendar
31. apt - command line tool for interaction with packaging system
32. alias - custom shortcuts used to represent a command
33. w - current user info
34. whereis - used to locate the binary, source, manual page files
35. whatis - used to get one-line man page description
36. useradd - used to create a new user
37. passwd - used to changing password of current user
38. whoami - print current user
39. uptime - print current time when machine starts
40. free - print free disk space info
41. history - print used commands history
42. uname - print detailed information about your Linux system
43. ping - to check connectivity status to a server
44. chmod - to change permissions of files and directories
45. chown - to change ownership of files and directories
46. find - using find searches for files and directories
47. locate - used to locate a file, just like the search command in Windows
48. ifconfig - print ip address stuff
49. ip a - similar to ifconfig but shortest print
50. finger - gives you a short dump of info about a user
β Subscribe- Youtube channel ππ» CoderBaba
Follow @Coder_baba Telegram channel
1. ls - view contents of directory (list)
2. pwd - path of the current directory
3. cd - change directoryn
4. mkdir - make new directory
5. mv - move files / rename files
6. cp - copy files
7. rm - remove files
8. touch - create blank new file
9. rmdir - delete directory
10. cat - list content of file to terminal
11. clear - clear terminal window
12. echo - move data into a file
13. less - Read text file one screen at a time
14. man - show manual of Linux commands
15. sudo - enables you to perform tasks that require administrative or root permissions
16. top - task manager in terminal
17. tar - used to archive multiple files into a tarball
18. grep - used to searching words in specific files
19. head - view first lines of any text file
20. tail - view last lines of any text file
21. diff - compares the contents of two files line by line
22. kill - used for killing unresponsive program
23. jobs - display all current jobs along with their statuses
24. sort - is a command line utility for sorting lines of text files
25. df - info about system disk
26. du - check how much space a file or directory takes
27. zip - to compress your files into a zip archive
28. unzip - to extract the zipped files from a zip archive
29. ssh - a secure encrypted connection between two hosts over and insecure network
30. cal - shows calendar
31. apt - command line tool for interaction with packaging system
32. alias - custom shortcuts used to represent a command
33. w - current user info
34. whereis - used to locate the binary, source, manual page files
35. whatis - used to get one-line man page description
36. useradd - used to create a new user
37. passwd - used to changing password of current user
38. whoami - print current user
39. uptime - print current time when machine starts
40. free - print free disk space info
41. history - print used commands history
42. uname - print detailed information about your Linux system
43. ping - to check connectivity status to a server
44. chmod - to change permissions of files and directories
45. chown - to change ownership of files and directories
46. find - using find searches for files and directories
47. locate - used to locate a file, just like the search command in Windows
48. ifconfig - print ip address stuff
49. ip a - similar to ifconfig but shortest print
50. finger - gives you a short dump of info about a user
β Subscribe- Youtube channel ππ» CoderBaba
Follow @Coder_baba Telegram channel