Questions tagged as 'vb.net'

1
answer

Count repeated items in a listbox

I have a listbox with a series of elements and I would like to know the code to find the times that an element repeats, for example: producto A producto A producto A producto A producto B producto B save in variables that the frequency of...
asked by 10.05.2017 / 14:50
1
answer

How to get the combined rows of a column with interop

I would like to obtain the value of the rows that are combined from a given column, I leave an image of an example of a combined column in Excel The result I want to obtain is for example: A3: A11, that is to say that in that range I...
asked by 27.02.2017 / 23:34
1
answer

Send parameters for SQL command as parameterized variable

I need to send the parameters that I will use in a sql command, I know that it can be done with Dim paramater As New SqlParameter("@fptemp", serializedTemplate) but now the problem comes when I use a parameterizable function to execute th...
asked by 28.02.2017 / 20:20
1
answer

Load data from sql to a list view VB

Good, I would like the data in my Rubro table to be loaded as columns. But so far I can not visualize in my list view. This is the current code: Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load Li...
asked by 20.02.2017 / 16:26
1
answer

Add CheckBox in a ListView

I would like to add a column that contains a CheckBox with the following information: Insurance Assistance Insurance Relief Column containing CheckBox Like the image: Progressing in code: Private Sub Form3_Loa...
asked by 17.02.2017 / 22:34
1
answer

Modify dictionary

Could someone teach me how to modify the properties of an object while I'm going through the dictionary? For example, when I get the key 2 or dia 2 , I need to modify the property dinero . Dim persona1 As New Persona persona...
asked by 20.11.2016 / 01:43
1
answer

modify and delete record from gridview vb.net

I'm doing a CRUD with vb.net in a web application, only I try to place unlink in a Gridview to update and delete but I do not know how to do it, the gridview already filled it with data as follows: my function where I make the query and retur...
asked by 17.09.2016 / 21:29
2
answers

Build a datatable from other datatables

Imagine that we have 3 datatables , each with a different number of rows, For example: DATATABLE A fila 1 - "a1" fila 2 - "a2" DATATABLE B fila 1 - "b1" fila 2 - "b2" fila 3 - "b3" DATATABLE C fila 1 - "c1" fila 2 - "c2" How can...
asked by 06.04.2017 / 08:00
1
answer

VB.NET Referencing TextBox from one Form to another Form

''' <summary> ''' Clase VistaMenu ''' </summary> Public Class FrmGestionUsuarios Private _controllerUsuario As New ControllerUsuario.ControllerUsuario Private _modelUsuario As New ModelUsuario.ModelUsu...
asked by 17.05.2016 / 01:32
1
answer

Show text in a TextBox of XtraUserControl

I have a GridControl in a form and a XtraUserControl , in the event DoubleClick of the grid I load some data to a textbox of XtraUserControl , it brings the data correctly but it does not show them. This is the method I use...
asked by 27.04.2016 / 21:22