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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:21:50+00:00 2026-05-11T03:21:50+00:00

How can I have a datagridview that will autogenerate a textbox instead of a

  • 0

How can I have a datagridview that will autogenerate a textbox instead of a label?

  • 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. 2026-05-11T03:21:50+00:00Added an answer on May 11, 2026 at 3:21 am

    In short, you can’t. You could inherit from a gridview and implement it yourself. It could look something like this:

    Public Class MyGrid Inherits GridView   Private Sub MyGrid_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles Me.RowDataBound   If Me.AutoGenerateColumns = True Then     If e.Row.RowType = DataControlRowType.DataRow Then         For Each c As TableCell In e.Row.Cells             Dim tb As New TextBox()             tb.Text = c.Text             c.Controls.Clear()             c.Controls.Add(tb)         Next     End If     End If End Sub 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that can filter a datagridview based on date using a
I have a DataGridView in my app and I can't scroll it using the
I have a datagridview displayed on the screen. The user can change the end
I have an entity set bound to a DataGridView where users can add/modify rows.
I have a column Name Quote Price in a DataGridView winforms control. I can
How can I display only selected headers in DataGridView control? For example I have
I have a button that can have a focus css class associated with it
I have data source and table that I can bind to my controls and
So I have a datagridview. Normally I can create a bindinglist of my object
Ok so i have a lil function that will get a value from a

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.