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

  • Home
  • SEARCH
  • 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 796287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:37:02+00:00 2026-05-14T22:37:02+00:00

i have a guid value that i store in my hidden variable. say for

  • 0

i have a guid value that i store in my hidden variable.
say for eg (303427ca-2a5c-df11-a391-005056b73dd7)

now how do i convert the value from this hidden field back to GUID value (because the method i would be calling expects a GUID value).

thank you.

  • 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-14T22:37:02+00:00Added an answer on May 14, 2026 at 10:37 pm

    Just use the overloaded constructor:

    try
    {
      Guid guid = new Guid("{D843D80B-F77D-4655-8A3E-684CC35B26CB}");
    }
    catch (Exception ex) // There might be a more appropriate exception to catch
    {
      // Do something here in case the parsing fails.
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Guid.NewGuid() call that is creating an Empty Guid. What would cause
I have a GUID variable and I want to write inside a text file
Lets say you have various objects of arbitrary type that you would like to
We have a table that will store versions of records. The columns are: Id
In my database, in one of the table I have a GUID column with
I have used this guid: http://www.c-sharpcorner.com/uploadfile/shivprasadk/wcf-faq-part-5-transactions/ Why doesnt it rollback?? I dont understand! I
I have seen the GUID Collisons discussions but just wanted your thoughts on whether
I have a Datatable with Id(guid) and Name(string) columns. I traverse through the data
I have several tables whose only unique data is a uniqueidentifier (a Guid) column.
I feel like GUID/UUID questions have been done to death here, but I can't

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.