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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:01:13+00:00 2026-06-04T03:01:13+00:00

In a user contorl I need to have a asp.net grid view with dropdown,text

  • 0

In a user contorl I need to have a asp.net grid view with dropdown,text box and checkboxes , whose values may be mapped from database if it exist or it will be
loaded as a default control. Then once user makes it seclection I need to save
the selected values in databse.enter image description here

see the message below. This is how the grid view needs to look like:
Does any one have an example of some thing similar implemented???

  • 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-04T03:01:14+00:00Added an answer on June 4, 2026 at 3:01 am

    I would have a button outside the grid that says “Save” onclick it loops in a foreach gridview row and gets the value of each dropdown, textbox, checkbox and saves to the database.

    foreach(GridViewRow row in gvMyGrid.Rows)
    {
        DropDownList ddl1 = (DropDownList)row.FindControl("ddl1");
        //code here to save this value
    }
    

    something like that, i use it all the time and works like a charm.

    there’s also a way to postback from any control in your grid and do something with it, check it out, adsanti.wordpress.com

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

Sidebar

Related Questions

I have an ASP.NET user control that contains a text box control and a
Lets say you need to attach some JavaScript functionality to an ASP.NET User Control
Using the ASP.NET grid view. It displays 3 columns with 1 row for each,
We have created a User Control for ASP.Net. At any one time, a user's
I have an ASP.NET user control that contains a textbox which has an AJAX
I have an ASP.NET user control that I want to write some dynamic Javascript
I have an ASP.NET page with two instances of the same Web User Control
I have a scenario where I have a container control (basically a ASP.Net user
I have made a user control in asp.net c#. Becuase of some data I
I have a user control in a repeater that I need to pass data

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.