Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3429098
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:02:26+00:00 2026-05-18T07:02:26+00:00

I need to validate each of item formats below. Suppose user input Only One

  • 0

I need to validate each of item formats below. Suppose user input Only One value a time, I must find out which format he/her input. I there any easy to approach it?

Thanks for your suggestions and comments.

.NET 2.0 installed. C# Used.

2 byte character
8 byte integer (signed)
1 byte integer (signed)
2 byte integer (signed)
4 byte integer (signed)
8 byte floating point
4 byte floating point
8 byte integer (unsigned)
1 byte integer (unsigned)
2 byte integer (unsigned)
4 byte integer (unsigned)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:02:27+00:00Added an answer on May 18, 2026 at 7:02 am

    Use the TryParse static methods of all of the following types:

    • Byte
    • SByte
    • Int16
    • UInt16
    • Int32
    • UInt32
    • Int64
    • UInt64
    • Single
    • Double

    For characters, you will have to be more specific — do you want the input converted by character (e.g. if they enter 5 the character value will be 53, the ASCII value representing the digit 5), or by value (e.g. they would have to enter 53 to produce the digit 5)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to validate two user input fields against each other in seam. Field1
I need to validate the user input of a JSpinner , and if invalid,
I need to validate X number of fields. Each field is named testFieldX, where
I need to validate a date/time field on a webpage but want it to
I need to validate this simple pick list: <select name=<%= key %>> <option value=ETC
I need to validate a certain property to one of my classes. When I
I need to validate a textbox, so it's value consist of 10 characters (not
I need to validate the below range via regex in javascript. -20.00 to +20.00
I have to validate two asp.net text boxes. First one has input as :
I need to do a javascript form validation. I would like to validate each

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.