I need to make a query in the database, I made this code for connection, but I do not know how to proceed to put this information in a list<String>
SqlConnection conexao = new SqlConnection(_stringConexao);
SqlCommand comando = ne...
I have ArrayList with multiple numbers inside it. I need to identify how many times each number appears and then eliminate redundancies. I was able to eliminate redundancies, but I'm having great problems in identifying how many of them e...
On my system, I need to return the number of questions the student missed on a given topic. To achieve this, I tried creating a class that has two attributes: Tema and QteErros and instantiated it in my controller.
public ActionR...
I have the following (silly example):
lista=[[3,6,4,2,7],[8,4,6,4,3]]
I want to put lista[0] in ascending order, modifying lista[1] according to lista[0] . To illustrate what I want below:
lista_ordenada=[[2,3,4,6,7],[...
I'm trying to access the ContactList of the Contact class in the ContactList class to view. The problem is that although the list is populated in Contact, it is empty in the Contact List.
public class Contato
{
string N...
I'm creating an application with Xamarin Forms and I came across a problem. In one of my Views I need to have an element filled with a list coming from a web service. In the case, in my ViewModel I was able to connect to the web service and fill...
I'm having a hard time getting a dynamically linked list inside another using data structure. I can create a dynamic list, but I can not create another one within it.
To illustrate what I mean:
I have a list of Bands ; each band is a li...
Talk to people, good morning, I have a problem. I'm running a lista but I want concatenar my list that I'm calling in template as {{ list }} and {{ forloop.counter0 }} so that in my is only displayed 1 l...
I have the following code:
using (Context contexto = new Context())
{
List<Cliente> listCliente = contexto.Cliente.Where(x => x.Status == 0).ToList();
}
How do I delete this result from the database? Remembering that I have num...
Next, I have a ArrayList of type Student (which is an abstract class), and I have two child classes ( EstudanteGraduacao and EstudantePosGraduacao ), when I add them to ArrayList is quiet, but how do I go through it wi...