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

Exploring ActionScript in Online Learning: Enhancements and Possibilities

Mar 21, 202417 min read
Read More

Responsive Web Design Techniques with ASP

Mar 20, 202415 min read
Read More

Gaining Proficiency in Sophisticated Text Manipulation with ActionScript

Mar 17, 202415 min read
Read More

Maximizing Social Media Impact with ActionScript: A Comprehensive Guide

Mar 13, 202419 min read
Read More

Debugging and Testing ASP Applications

Mar 11, 202419 min read
Read More
No Post Found

Trending News

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

Google News: Comprehensive Coverage of Global Computer Innovations

Dec 22, 202317 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