Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/06/2013, 15:19
Avatar de aid_val
aid_val
 
Fecha de Ingreso: mayo-2013
Ubicación: Guanajuato
Mensajes: 302
Antigüedad: 11 años
Puntos: 5
Pregunta Gridview y TextBox en Visual

HOla de nuevo.

Tengo dos gridview el primero me sirve como selección de varios conceptos que tengo cargados ahí y el segundo lo cargo de la siguiente manera
Código:
   Dim table As DataTable = New DataTable
        Dim col1 As DataColumn = table.Columns.Add("descripcion_presupuesto", Type.GetType("System.String"))
        Dim col2 As DataColumn = table.Columns.Add("cantidad_estimacion", Type.GetType("System.String"))
        Dim col As DataColumn = table.Columns.Add("id_concepto", Type.GetType("System.String"))
        Dim col3 As DataColumn = table.Columns.Add("id_estimacion", Type.GetType("System.String"))
        Dim col4 As DataColumn = table.Columns.Add("id_resumen_generador	", Type.GetType("System.String"))


        Dim i As Integer = 0

        col.AllowDBNull = False
        col.Unique = False
        col1.AllowDBNull = False
        col1.Unique = False
        col2.AllowDBNull = False
        col2.Unique = False
        col3.AllowDBNull = False
        col3.Unique = False
        col4.AllowDBNull = False
        col4.Unique = False

        For i = 0 To gv_seleccion.Rows.Count - 1
            If CType(gv_seleccion.Rows(i).Cells(11).Controls.Item(1), CheckBox).Checked Then
                Try
                    Dim fila As DataRow
                    fila = table.NewRow()
                    

                    fila(0) = gv_seleccion.Rows(i).Cells(2).Text
                    fila(1) = gv_seleccion.Rows(i).Cells(6).Text
                    fila(2) = gv_seleccion.Rows(i).Cells(0).Text
                    fila(3) = gv_seleccion.Rows(i).Cells(3).Text
                    fila(4) = gv_seleccion.Rows(i).Cells(4).Text

                    table.Rows.Add(fila)

                Catch IOExcep As System.IO.IOException
                End Try
            End If
        Next

        gv_recibo.DataSource = table
        gv_recibo.DataBind()
Y lo que quiero hacer es que mi celdas de la columna "cantidad_estimacion" sean TextBox. Cómo lo puedo hacer AYUDAAA

Última edición por aid_val; 11/06/2013 a las 07:46 Razón: Ayuda