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 673473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:35:59+00:00 2026-05-14T00:35:59+00:00

I am developing a student registration form in asp.net. there are two tables viz

  • 0

I am developing a student registration form in asp.net. there are two tables viz std_registration and gallery(having pic_id and pic_url). During registration, before the click of submit button i want to retrieve pic_id from gallery table and then pass it to the insert query of registration table.
image upload is an optional part. if no image is uploaded i want a default image to get uploaded.

pls help me on this. thanx.

  • 1 1 Answer
  • 2 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-14T00:35:59+00:00Added an answer on May 14, 2026 at 12:35 am

    Your algorithm:

    1. Add new user, get Id of user.
      • The user is NOT optional and must be created. If not possible, the
        whole thing stops
    2. Look for the
      upload image, if not found return.
    3. Save the image, associating it to
      the user id.

    Your tables should look like:

    User

    Id whatever PK
    Name nvarchar(up to you)
    YaddaYadda

    ProfileImage

    Id whatever PK
    UserId whatever FK
    Image Blob

    The foreign key should NOT be in the User table. You aren’t sharing images between users.

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

Sidebar

Related Questions

I am developing StudentApp in .NET 3.5 SP1 MVC Application. I have two tables
I am a student and in last semester i develop asp.net application - Payment
Developing a C# .NET 2.0 WinForm Application. Need the application to close and restart
I'm developing a simple site for local student contest. I want to implement some
I'm an engineering student and I'm developing a simple software based on HTML, PHP
I've been developing my first web based app for about two months now (I'm
I am a student interested in developing a search engine that indexes pages from
So, first things first, I'm a student. I'm developing an application where other students
I am developing a Visual Basic .NET application to be used by the staff
I am developing a course registration website. A user can enroll in a class,

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.