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
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...
}
👍21
This media is not supported in your browser
VIEW IN TELEGRAM
Google GenAI Hackathon APAC edition Registration Now
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
👍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
👍1
Coder Baba pinned a file
Data Structure Notes👆👆