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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:59:44+00:00 2026-06-14T12:59:44+00:00

I have the following fields in my table Name NameId City —– —— ——-

  • 0

I have the following fields in my table

Name        NameId  City 
-----       ------  -------
John Smith  jsmith  Brooklyn

Besides giving the ability for the user to enter the Name NameId, City, what I need to do is to give the ability for the user to upload a file where the name of the file that will be stored on disk will be the same name as NameId field. So for example the name of the file will be jsmith.jpg.

So what I need to do is to create a form where the user enters the Name, NameId, City. I also need to have a file uploader that will upload the image file. Once they submit, I would insert this record in the db table and save the file into the images folder where the name of the image file will be the same as the nameid.

In terms of what type of control to use for the user to enter the Name, NameId, City, and upload a picture, I was thinking about just creating a form and then having controls a text box control for Name, NameId, City and a image upload control for the image upload. Is there a better way of doing this with another control such as say a DataView control, etc. ??

Also when the user wants to edit the record – Name, NameId, City and the associated image – what would be the best way of going about doing this. I was thinking of having an edit button next to each record and then a modal window that comes which allows the user to edit the info (such as Name, etc and the image) . I am familiar with the GridView inline editing but not sure how the user would edit the image as there isn’t a file that we store that info at but merely look at the NameId in order to give it the same name.

  • 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-06-14T12:59:45+00:00Added an answer on June 14, 2026 at 12:59 pm

    I guess your requirement can be fulfilled by the following example :

    http://demos.devexpress.com/ASPxGridViewDemos/GridEditing/TwoWayBinding.aspx

    This is also a good example :

    http://blogs.msdn.com/b/robburke/archive/2006/10/05/asp.net-2.0-quick-tip_3a00_-add-a-hyperlink-to-an-image-in-a-gridview-column.aspx

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

Sidebar

Related Questions

I have a table called Employee with the following fields: EmpID Salary Name I
I have a table with the following fields: Reports (table name) Rep_Date (date) Rep_Time
I have following databases: test table1 fields: id, password, name, lastname test2 table2 fields:
I have 2 tables. tb_Employees tb_Orders tb_Employees has the following fields empID name tb_Orders
If I have the following fields in a table called DailyLeaveLedger LeaveDate LeaveType AmountPaid
I have a table (session_comments) with the following fields structure: student_id (foreign key to
i have a table with the following fields: row_id first_field second_field row_id is of
I have a SQL table with following fields ID, Rly, Shed, Loco_no, shed, Date_failure,
I have a table in db2 which has the following fields int xyz; string
I have a table that has multiple rows with the following fields: PersonName SongName

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.