Questions tagged as 'vb.net'

1
answer

Structure of a rubik's cube

I'm trying to make a rubik cube in vb and for some reason, in Rubik class, every time I add a new face all the previous ones are made the same color. Public Class Form1 Dim rkCube As New Rubik Private Sub Form1_Load(sender As Object, e...
asked by 26.12.2017 / 01:32
1
answer

How to fill a listbox from a checklistbox in MS Visual Basic?

Good companions, it turns out that I'm doing a program in MS Visual Basic where I have a checklistbox that is filled from a combobox , which according to what I choose in the combobox the list is generated in the checklistbox by cl...
asked by 26.01.2018 / 21:01
0
answers

Webservice collects a multidimensional json

I'm making the following ajax call to my webservice. var datos = {"user_id":"2","body_param":"body","title_param":"title","arr":{"1":1,"2":2,"3":3,"4":4}}; console.log(datos); $.ajax({ type: "GET", crossDomain: true, dataType: "jso...
asked by 23.11.2017 / 16:04
0
answers

I need to make a connection module for a sql server database

Good evening I am a beginner and I need help to create a database connection module in sql server from asp.net in vb, since I do not want to repeat the code in each form page of my master page to make the connection to the base. I would really a...
asked by 12.11.2017 / 06:50
1
answer

Show new records added

I have a problem, there is a datagridview that imports the records of an excel file, by sending all those records to be saved to the database, it verifies if the record exists, if it does not exist it adds it, if it exists it jumps to the other...
asked by 11.11.2017 / 16:10
1
answer

how to modify primary key in a table?

This is the problem: I have a product table (with data) and it is related to the detail-selling table (idproduct). Is it possible to update the primarykey of the product table even if that data is already in use in the detail-selling table?...
asked by 09.11.2017 / 01:37
0
answers

Deserialize XML

I have an XML: <clients> <client> </client> <client> </client> <current_page></current_page> <total_pages></total_pages> <total_entries></total_entries> <per_page&...
asked by 08.11.2017 / 15:16
0
answers

VB get cursor that returns a function in postgresql

I am using postgresql and vb, and I want to obtner in vb the result of a function that returns a cursor, but I have only been able to make it return the name of the cursor, and I do not want that, but the cursor data. This is the code: Sub...
asked by 07.11.2017 / 23:52
2
answers

Difference between object and variable within class of class type

I have the following class: Public Class Book Public isbn as Integer Sub New(isbn as Integer) Me.isbn = isbn End Sub End Class All right, if I want to create an instance variable I have to pass parameters to the constru...
asked by 31.10.2017 / 19:12
1
answer

Search by numeric value sql net mvc2

I must filter the data by the address table data, it works fine with string but with int no. public ActionResult Buscar(string palabra) { IEnumerable<domicilio> domicilios; using (var bd = new serviexpres...
asked by 27.10.2017 / 18:58