----(SQL)Structured Query Language----
Part-1
-----------------------------------------
SQL Data Type:
1- Char(n)
2-varchar2(n)
3-Number(t)
4-Number(t,d)
5-Long
6-Date
7-Null
----(SQL)Structured Query Language----
Part-2
-----------------------------------------
Data Sub Languages
1-DDL- (CREATE,ALTER, DROP, TRUNCATE, COMMENT etc.)
2-DML- (SELECT, INSERT, UPDATE, DELETE, CALL, EXPLAIN PLAN, LOCK TABLE etc)
3-DCL- (GRANT, REVOKE, COMMIT, SAVEPOINT, ROLLBACK, SET TRANSACTION etc)
----(SQL)Structured Query Language----
Part-3
-----------------------------------------
Data Definition Language (DDL)
1-Create:
2-Alter:
3-Drop:
4-Desc :
5-Delete:
6-Constraint:
7-Comment:
8-Create index:
9-Drop index:
----(SQL)Structured Query Language----
Part-4
-----------------------------------------
Examples of DDL : Create statement
CREATE TABLE EMP_DETAILS
(
E_ID CHAR(5),
E_NAME VARCHAR2(15),
E_ADDRESS VARCHAR2(20),
E_DESIG CHAR(10),
E_JOINDATE DATE,
E_SALARY NUMBER(5)
)
----(SQL)Structured Query Language----
Part-5
-----------------------------------------
Examples of DDL : Insert statement
Insert INTO EMP_DETAILS VALUES('E1','CODER','VARANASI','CLERK','08-JUL-2023',5500)
Insert INTO EMP_DETAILS VALUES('E2','BABA','KANPUR','HR','15-MAY-2022',6500)
Part-1
-----------------------------------------
SQL Data Type:
1- Char(n)
2-varchar2(n)
3-Number(t)
4-Number(t,d)
5-Long
6-Date
7-Null
----(SQL)Structured Query Language----
Part-2
-----------------------------------------
Data Sub Languages
1-DDL- (CREATE,ALTER, DROP, TRUNCATE, COMMENT etc.)
2-DML- (SELECT, INSERT, UPDATE, DELETE, CALL, EXPLAIN PLAN, LOCK TABLE etc)
3-DCL- (GRANT, REVOKE, COMMIT, SAVEPOINT, ROLLBACK, SET TRANSACTION etc)
----(SQL)Structured Query Language----
Part-3
-----------------------------------------
Data Definition Language (DDL)
1-Create:
2-Alter:
3-Drop:
4-Desc :
5-Delete:
6-Constraint:
7-Comment:
8-Create index:
9-Drop index:
----(SQL)Structured Query Language----
Part-4
-----------------------------------------
Examples of DDL : Create statement
CREATE TABLE EMP_DETAILS
(
E_ID CHAR(5),
E_NAME VARCHAR2(15),
E_ADDRESS VARCHAR2(20),
E_DESIG CHAR(10),
E_JOINDATE DATE,
E_SALARY NUMBER(5)
)
----(SQL)Structured Query Language----
Part-5
-----------------------------------------
Examples of DDL : Insert statement
Insert INTO EMP_DETAILS VALUES('E1','CODER','VARANASI','CLERK','08-JUL-2023',5500)
Insert INTO EMP_DETAILS VALUES('E2','BABA','KANPUR','HR','15-MAY-2022',6500)
๐3
๐ Unlocking Success: 6 Essential Coding Habits for Developers ๐
Hello coder's community! ๐ As a passionate coder and ASP.NET developer, I believe that success in our field isnโt just about writing lines of codeโitโs about cultivating the right habits. Today, I want to share some essential coding habits that can elevate your skills and propel you toward success. Letโs dive in! ๐ก
๐กUnderstanding What Your Code Does:
Donโt just write code; understand its purpose. Visualize the bigger pictureโhow will your work impact end-users? Knowing the โwhyโ behind your code leads to precision and personal growth1.
๐กKeep It Organized:
Whether youโre a solo coder or part of a team, organization matters. Plan your work, set goals, and maintain a structured approach. Chaos breeds bugs, and weโre here to squash them! ๐.
๐กContinuous Learning and Community Engagement:
Learning never stops. Engage with coding communities, attend meetups, and connect with fellow developers. Share knowledge, ask questions, and stay motivated. Weโre all in this together! ๐
๐กPatience, Young Padawan:
Programming can be frustrating, especially when bugs seem to multiply like rabbits. Take a deep breath, sip your favorite beverage, and tackle problems with patience. Rome wasnโt debugged in a day! ๐.
๐กVersion Control Is Your Best Friend:
Git, SVN, Mercurialโpick your poison! Version control saves you from code catastrophes. Commit early, commit often, and never lose sleep over lost changes. ๐.
๐กDocument Like Your Code Depends on It:
Clear documentation is like a treasure map for future you (or your teammates). Explain your code, assumptions, and intentions. Your future self will thank you! ๐บ.
๐ Action Time:
๐Share this post with fellow coders who crave success.
๐Follow me for more coding insights and tips.
๐Subscribe to my channel #CoderBaba for upcoming tutorials and project walkthroughs.
Remember, #HabitsForCoders isnโt just a hashtagโitโs a mindset. Letโs build habits that shape our success! ๐๐ป
Stay curious, stay coding! ๐ค
[CoderBaba] ASP.NET Developer | Coding Enthusiast Connect with me: YouTube
Hello coder's community! ๐ As a passionate coder and ASP.NET developer, I believe that success in our field isnโt just about writing lines of codeโitโs about cultivating the right habits. Today, I want to share some essential coding habits that can elevate your skills and propel you toward success. Letโs dive in! ๐ก
๐กUnderstanding What Your Code Does:
Donโt just write code; understand its purpose. Visualize the bigger pictureโhow will your work impact end-users? Knowing the โwhyโ behind your code leads to precision and personal growth1.
๐กKeep It Organized:
Whether youโre a solo coder or part of a team, organization matters. Plan your work, set goals, and maintain a structured approach. Chaos breeds bugs, and weโre here to squash them! ๐.
๐กContinuous Learning and Community Engagement:
Learning never stops. Engage with coding communities, attend meetups, and connect with fellow developers. Share knowledge, ask questions, and stay motivated. Weโre all in this together! ๐
๐กPatience, Young Padawan:
Programming can be frustrating, especially when bugs seem to multiply like rabbits. Take a deep breath, sip your favorite beverage, and tackle problems with patience. Rome wasnโt debugged in a day! ๐.
๐กVersion Control Is Your Best Friend:
Git, SVN, Mercurialโpick your poison! Version control saves you from code catastrophes. Commit early, commit often, and never lose sleep over lost changes. ๐.
๐กDocument Like Your Code Depends on It:
Clear documentation is like a treasure map for future you (or your teammates). Explain your code, assumptions, and intentions. Your future self will thank you! ๐บ.
๐ Action Time:
๐Share this post with fellow coders who crave success.
๐Follow me for more coding insights and tips.
๐Subscribe to my channel #CoderBaba for upcoming tutorials and project walkthroughs.
Remember, #HabitsForCoders isnโt just a hashtagโitโs a mindset. Letโs build habits that shape our success! ๐๐ป
Stay curious, stay coding! ๐ค
[CoderBaba] ASP.NET Developer | Coding Enthusiast Connect with me: YouTube
๐1
How to write Save button code in aspdotnet C#
protected void btnAdd_Click(object sender, EventArgs e)
{
if (checkDuplicateBook())
{
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", "swal('Error','Error! Book Already Exists ...try some other Book ID','error')", true);
return;
}
AddBooks();
BindGridData();
}
private bool checkDuplicateBook()
{
using (SqlCommand cmd = new SqlCommand("spgetBookBYID", dbcon.GetCon()))
{
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@book_id", txtBookID.Text.Trim());
using (DataTable dt2 = dbcon.Load_Data(cmd))
{
return dt2.Rows.Count >= 1;
}
}
}
private void AddBooks()
{
string genres = string.Join(",", ListBoxGenre.Items.Cast<ListItem>().Where(li => li.Selected).Select(li => li.Text));
string filename = Path.GetFileName(FileUpload1.PostedFile.FileName);
string filepath = "~/book_img/" + filename;
FileUpload1.SaveAs(Server.MapPath(filepath));
using (SqlCommand cmd = new SqlCommand("sp_Insert_Up_Del_BookInventory", dbcon.GetCon()))
{
cmd.CommandType = CommandType.StoredProcedure;
AddParameter(cmd);
cmd.Parameters.AddWithValue("@StatementType", "Insert");
cmd.Parameters.AddWithValue("@genre", genres);
cmd.Parameters.AddWithValue("@book_img_link", filepath);
string alertScript = dbcon.InsertUpdateData(cmd)
? "swal('Success','Books Addedd Successfully','success')"
: "swal('Error','Error! record not Inserted ...try again','error')";
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", alertScript, true);
}
ClearControl();
Autogenrate();
}
private void AddParameter(SqlCommand cmd)
{
cmd.Parameters.Clear();
cmd.Parameters.AddWithValue("@book_id", txtBookID.Text.Trim());
// Add other parameters here...
}
protected void btnAdd_Click(object sender, EventArgs e)
{
if (checkDuplicateBook())
{
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", "swal('Error','Error! Book Already Exists ...try some other Book ID','error')", true);
return;
}
AddBooks();
BindGridData();
}
private bool checkDuplicateBook()
{
using (SqlCommand cmd = new SqlCommand("spgetBookBYID", dbcon.GetCon()))
{
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@book_id", txtBookID.Text.Trim());
using (DataTable dt2 = dbcon.Load_Data(cmd))
{
return dt2.Rows.Count >= 1;
}
}
}
private void AddBooks()
{
string genres = string.Join(",", ListBoxGenre.Items.Cast<ListItem>().Where(li => li.Selected).Select(li => li.Text));
string filename = Path.GetFileName(FileUpload1.PostedFile.FileName);
string filepath = "~/book_img/" + filename;
FileUpload1.SaveAs(Server.MapPath(filepath));
using (SqlCommand cmd = new SqlCommand("sp_Insert_Up_Del_BookInventory", dbcon.GetCon()))
{
cmd.CommandType = CommandType.StoredProcedure;
AddParameter(cmd);
cmd.Parameters.AddWithValue("@StatementType", "Insert");
cmd.Parameters.AddWithValue("@genre", genres);
cmd.Parameters.AddWithValue("@book_img_link", filepath);
string alertScript = dbcon.InsertUpdateData(cmd)
? "swal('Success','Books Addedd Successfully','success')"
: "swal('Error','Error! record not Inserted ...try again','error')";
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert", alertScript, true);
}
ClearControl();
Autogenrate();
}
private void AddParameter(SqlCommand cmd)
{
cmd.Parameters.Clear();
cmd.Parameters.AddWithValue("@book_id", txtBookID.Text.Trim());
// Add other parameters here...
}
๐2โค1
Google GenAI Hackathon APAC edition Registration Now
Last Date Fri, 08 March 2024
https://hack2skill.com/genai_hackathon_apac_edition
Last Date Fri, 08 March 2024
https://hack2skill.com/genai_hackathon_apac_edition
๐2
asp.net C# project with sql server database source code how to create login and Home page๐๐๐๐๐
๐1๐1
Complete 6-month front-end roadmap to crack product-based companies in 2024.
๐ ๐ผ๐ป๐๐ต ๐ญ: ๐๐ผ๐๐ป๐ฑ๐ฎ๐๐ถ๐ผ๐ป๐ ๐ผ๐ณ ๐ช๐ฒ๐ฏ ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐บ๐ฒ๐ป๐
Basic HTML
- Form
- Import
- Elements
- Attributes
- Semantics
- Multimedia
- Block element
๐๐ฎ๐๐ถ๐ฐ ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐๐ผ๐ป๐ฐ๐ฒ๐ฝ๐๐
- Scope
- Closure
- Functions
- Data types
- Event loop
๐๐ฎ๐๐ถ๐ฐ ๐๐ฆ๐ฆ ๐๐ผ๐ป๐ฐ๐ฒ๐ฝ๐๐
- Box Model
- Pseudo Classes
- Class and other selectors
- CSS type - Flex, Grid, normal
๐ ๐ผ๐ป๐๐ต ๐ฎ: ๐๐ฑ๐๐ฎ๐ป๐ฐ๐ฒ๐ฑ ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐๐ผ๐ป๐ฐ๐ฒ๐ฝ๐๐
- How to center
- Media queries
- Bind/call/apply
- Design and CSS
- Pseudo Elements
- Class and inheritance
- Prototype and prototype chain
- All element states - active, hover
๐ ๐ผ๐ป๐๐ต ๐ฏ: ๐๐ป๐๐ฒ๐ฟ๐ฎ๐ฐ๐๐ถ๐๐ถ๐๐ & ๐ฆ๐๐๐น๐ถ๐ป๐ด
- Grid
- DOM
- Mixins
- Flexbox
- CSS constants
- Page Styling Concepts
- Event loop continuation
- Pre-processors - SCSS or LESS
๐ ๐ผ๐ป๐๐ต ๐ฐ: ๐๐ฑ๐๐ฎ๐ป๐ฐ๐ฒ๐ฑ ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐ฎ๐ป๐ฑ ๐๐ฃ๐๐
- JWT
- XHR
- Cookie
- WebAPI
- Call stack
- Generators
- Task queue
- Async/await
- Working with Data
- APIs and Communication
- Local storage/Session storage
- REST/GraphQL/Socket connection
๐ ๐ผ๐ป๐๐ต ๐ฑ: ๐๐ผ๐บ๐ฝ๐น๐ฒ๐ ๐ช๐ฒ๐ฏ ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐บ๐ฒ๐ป๐ ๐ฆ๐ธ๐ถ๐น๐น๐
- CORS
- OOPs concept
- Debugging Application
- Chrome Dev Tool Features
- Understanding V8 in depth
- Front-End Engineering Practices
- Design Patterns (Singleton, Observer, Module, etc.)
๐ ๐ผ๐ป๐๐ต 6: ๐ฅ๐ฒ๐ฎ๐ฐ๐ ๐ฎ๐ป๐ฑ ๐ ๐ผ๐ฑ๐ฒ๐ฟ๐ป ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ
- Routing
- Context API
- Virtual DOM
- React Hooks
- Custom Hooks
- State and Props
- Advanced React
- Introduction JSX
- React Ecosystem
- React Component
- Unit Testing with Jest
- Server-Side Rendering
- Redux/Flux for State Management
Apart from these, I would continuously focus on:
- Typescript
- Mocking Data
- Design Patterns in depth
- Understanding Webpack
- Advanced React patterns
- Babel, env, prettier, linter
- Tooling and Optimization
- Basic to advanced concepts for type-safety in JavaScript projects.
Follow @coder_baba
๐ ๐ผ๐ป๐๐ต ๐ญ: ๐๐ผ๐๐ป๐ฑ๐ฎ๐๐ถ๐ผ๐ป๐ ๐ผ๐ณ ๐ช๐ฒ๐ฏ ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐บ๐ฒ๐ป๐
Basic HTML
- Form
- Import
- Elements
- Attributes
- Semantics
- Multimedia
- Block element
๐๐ฎ๐๐ถ๐ฐ ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐๐ผ๐ป๐ฐ๐ฒ๐ฝ๐๐
- Scope
- Closure
- Functions
- Data types
- Event loop
๐๐ฎ๐๐ถ๐ฐ ๐๐ฆ๐ฆ ๐๐ผ๐ป๐ฐ๐ฒ๐ฝ๐๐
- Box Model
- Pseudo Classes
- Class and other selectors
- CSS type - Flex, Grid, normal
๐ ๐ผ๐ป๐๐ต ๐ฎ: ๐๐ฑ๐๐ฎ๐ป๐ฐ๐ฒ๐ฑ ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐๐ผ๐ป๐ฐ๐ฒ๐ฝ๐๐
- How to center
- Media queries
- Bind/call/apply
- Design and CSS
- Pseudo Elements
- Class and inheritance
- Prototype and prototype chain
- All element states - active, hover
๐ ๐ผ๐ป๐๐ต ๐ฏ: ๐๐ป๐๐ฒ๐ฟ๐ฎ๐ฐ๐๐ถ๐๐ถ๐๐ & ๐ฆ๐๐๐น๐ถ๐ป๐ด
- Grid
- DOM
- Mixins
- Flexbox
- CSS constants
- Page Styling Concepts
- Event loop continuation
- Pre-processors - SCSS or LESS
๐ ๐ผ๐ป๐๐ต ๐ฐ: ๐๐ฑ๐๐ฎ๐ป๐ฐ๐ฒ๐ฑ ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐ฎ๐ป๐ฑ ๐๐ฃ๐๐
- JWT
- XHR
- Cookie
- WebAPI
- Call stack
- Generators
- Task queue
- Async/await
- Working with Data
- APIs and Communication
- Local storage/Session storage
- REST/GraphQL/Socket connection
๐ ๐ผ๐ป๐๐ต ๐ฑ: ๐๐ผ๐บ๐ฝ๐น๐ฒ๐ ๐ช๐ฒ๐ฏ ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐บ๐ฒ๐ป๐ ๐ฆ๐ธ๐ถ๐น๐น๐
- CORS
- OOPs concept
- Debugging Application
- Chrome Dev Tool Features
- Understanding V8 in depth
- Front-End Engineering Practices
- Design Patterns (Singleton, Observer, Module, etc.)
๐ ๐ผ๐ป๐๐ต 6: ๐ฅ๐ฒ๐ฎ๐ฐ๐ ๐ฎ๐ป๐ฑ ๐ ๐ผ๐ฑ๐ฒ๐ฟ๐ป ๐๐ฎ๐๐ฎ๐ฆ๐ฐ๐ฟ๐ถ๐ฝ๐ ๐๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ
- Routing
- Context API
- Virtual DOM
- React Hooks
- Custom Hooks
- State and Props
- Advanced React
- Introduction JSX
- React Ecosystem
- React Component
- Unit Testing with Jest
- Server-Side Rendering
- Redux/Flux for State Management
Apart from these, I would continuously focus on:
- Typescript
- Mocking Data
- Design Patterns in depth
- Understanding Webpack
- Advanced React patterns
- Babel, env, prettier, linter
- Tooling and Optimization
- Basic to advanced concepts for type-safety in JavaScript projects.
Follow @coder_baba
๐5๐1
Data_Structure_Lab_Practice_Exercises_and_Solutions_by_CoderBaba.pdf
1 MB
Dive into the world of Data Structures with our comprehensive lab practice guide, curated by @coder_baba . This PDF includes a range of exercises designed to enhance your understanding and proficiency in data structure algorithms. Each exercise is accompanied by detailed solutions to help you grasp the concepts effectively. Whether you are a beginner or looking to brush up on your skills, this resource offers invaluable hands-on practice to sharpen your programming abilities in data structures.
๐3
๐๐๐PDF Notes๐๐๐
Data Structure Lab Practice: Exercises and Solutions by @coder_Baba
Reaction bhi kar do ab uper
Data Structure Lab Practice: Exercises and Solutions by @coder_Baba
Reaction bhi kar do ab uper
๐1