15/09/2012, 19:05
|
| | Fecha de Ingreso: julio-2012 Ubicación: panama
Mensajes: 19
Antigüedad: 12 años, 4 meses Puntos: 0 | |
Respuesta: Guardar txt modificado en un datagridview Buenas noches Amigo Dradi7, si se refiere a como esta configurado el datagridview seria esta.
'DataGridView1
'
Me.DataGridView1.AllowUserToAddRows = False
Me.DataGridView1.AllowUserToDeleteRows = False
Me.DataGridView1.AllowUserToResizeColumns = False
Me.DataGridView1.AllowUserToResizeRows = False
DataGridViewCellStyle1.BackColor = System.Drawing.Color.PaleGoldenrod
DataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.SeaShell
Me.DataGridView1.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
Me.DataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.DataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle .Sunken
DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment. MiddleLeft
DataGridViewCellStyle2.BackColor = System.Drawing.Color.Khaki
DataGridViewCellStyle2.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
DataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText
DataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight
DataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText
DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
Me.DataGridView1.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2
Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeig htSizeMode.DisableResizing
Me.DataGridView1.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Co11, Me.Col3, Me.Col5, Me.Col7, Me.Col9, Me.Co11, Me.Co13, Me.Co15, Me.Co17, Me.Col19, Me.Col21, Me.Col23})
Me.DataGridView1.Dock = System.Windows.Forms.DockStyle.Fill
Me.DataGridView1.EnableHeadersVisualStyles = False
Me.DataGridView1.GridColor = System.Drawing.Color.DarkSalmon
Me.DataGridView1.Location = New System.Drawing.Point(0, 24)
Me.DataGridView1.Name = "DataGridView1"
Me.DataGridView1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle .None
DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment. MiddleLeft
DataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control
DataGridViewCellStyle3.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
DataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText
DataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight
DataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.HotPink
DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
Me.DataGridView1.RowHeadersDefaultCellStyle = DataGridViewCellStyle3
Me.DataGridView1.RowHeadersVisible = False
DataGridViewCellStyle4.BackColor = System.Drawing.Color.Beige
Me.DataGridView1.RowsDefaultCellStyle = DataGridViewCellStyle4
Me.DataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.Ful lRowSelect
Me.DataGridView1.Size = New System.Drawing.Size(805, 252)
Me.DataGridView1.TabIndex = 1
Me.DataGridView1.TabStop = False
Saludos, |