Geekpedia
  • Tech
    • Tutorials
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
    • Software
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
  • Media
    • Pictures
  • News
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
    • Pictures
  • News
C# Code
November 5, 2023November 5, 2023Nathan

Resize Image With Aspect Ratio

A C# method that resizes pictures and maintains their aspect ratio, optionally only if a maximum width is exceeded. The method works with both images that have a higher height than width and viceversa.

Discover
C# Code
November 5, 2023December 12, 2023Nathan

Sending emails using C#

A sample code on how to send emails with .NET Framework 2.0 using C#. The code authenticates to a SMTP server and then sends an email to multiple recipients. It can easily be used in ASP.NET 2.0 websites.

Discover
C# Code
November 5, 2023Nathan

Escape Unsafe XML Characters

Before introducing data into XML clients, be it within tags or attributes of tags, it’s important to escape all illegal XML characters that might break the validity of the XML. This can be easily done in C# using the Escape method.

Discover
C# Code
November 5, 2023November 5, 2023Nathan

Get Letters Of The Alphabet

Get the alphabet by looping through the ASCII values 65 to 90, which correspond to uppercase A through Z.

Discover
Code Java
November 5, 2023December 12, 2023Nathan

Validate phone number using RegEx and Java

Java example of how to validate a phone number in various formats using regular expressions. Contextual Ads More Java Resources Advertisement

Discover
C# Code
November 5, 2023November 5, 2023Nathan

Validate DateTime Format

Test a C# date and time as a valid DateTime object format through error handling.

Discover
C# Code
November 5, 2023November 5, 2023Nathan

Validate Value As Numeric

Test passed values to see if they are numeric or not using the TryParse method on the Double data type.

Discover
C# Code
November 5, 2023November 5, 2023Nathan

Find Controls In MasterPages Recursively

A useful piece of code that enhances the search for the control with the specified name under the passed parent control.

Discover
Code Java
November 5, 2023Nathan

Function to test for primality

A simple modulus based algorithm used in Java to find if the passed number is prime or not.

Discover
Code JavaScript
November 5, 2023Nathan

Validating credit card numbers

This JavaScript function checks a text field for a valid credit card number through several validation methods.

Discover

Posts pagination

Previous 1 … 12 13 14 … 21 Next

Trending Posts

LovelySkin Review 2025: Is This the Most Trusted Dermatologist-Backed Skincare Site?

Jan 17, 20259 min read
Read More

Exploring the New Era of Game Development: Trends, Tools, and Technologies

Jan 16, 202515 min read
Read More

How Communication Technology is Revolutionizing Healthcare

Jan 11, 20258 min read
Read More

The Best Places to Shop for Dermatologist-Recommended Skincare in 2025

Jan 9, 202513 min read
Read More

ASP in Healthcare: Enhancing Efficiency in Patient Management Systems

Mar 27, 202416 min read
Read More
No Post Found

Trending News

The Evolution of Social Media: Trends and Predictions for the Next Decade

Dec 23, 20235 min read
Read More

Future of Code: Top 7 Revolutionary Coding Trends for 2024 and Beyond

Dec 23, 202312 min read
Read More

2023’s Most Powerful Desktop PCs for Work and Play

Dec 23, 202319 min read
Read More
Image Not Found
Geekpedia is a knowledge-driven website offering fresh takes on tech, wellness, gear, and more — all through a thoughtful lens.
From coding tips to curated lifestyle content, it’s built for those who live smart, think sharp, and stay curious.
FOLLOW US
  • Social Image
  • Social Image
  • Social Image
  • Code
  • Gear
  • Generative AI
  • Knowledge Base
  • News
  • Contact Us
  • Work With Us
  • About Us
  • Affiliate Disclosure
  • FAQ
  • Advertisement
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions