Questions tagged as 'c#'

1
answer

Does not show a query data in the view

I'm working with C # ASP.NET MVC5, I'm new to this technology, I'm doing a web page where I need to display data from three tables in the view, I show them the structure of the database. log table |-----------------|-------------------|--...
asked by 26.12.2017 / 16:54
2
answers

error "stream not support reading"

I get this error back: stream not support reading code: internal static byte[] Compress(byte[] data) { MemoryStream memout = new MemoryStream(); using (MemoryStream memin = new MemoryStream(data))...
asked by 27.10.2017 / 23:47
1
answer

Ordering error datagridview in c #

They could help me to solve this error, it works in a normal datagridview , but in this it does not work, in this datagridview I select any data and it puts it in texbox . It works in this way so that you can understand me...
asked by 25.10.2017 / 22:13
1
answer

Failed to load resource: the server responded with a status of 500 Internal server error

function addRow(data) { var tabla = $("#tbl_temas").DataTable(); for (var i = 0; i < data.length; i++) { tabla.fnAddData([ data[i].idTema, data[i].idAdministrador, data[i].tituloTema,...
asked by 06.11.2017 / 08:12
1
answer

error in select mysql c #

I have the following method that consults a range of dates and returns an email associated with a client but when you run it from the application, it does not return anything but if you execute it from the mysql command line if it works D...
asked by 29.11.2017 / 18:46
1
answer

Can not insert the value NULL into column 'Name'

Hello, I am working with ASP.NET trying to make a new object of categories from other classes and as I am passing all relevant parameters of both classes. But apparently I'm missing something I do not know if it's because of what I'm going t...
asked by 29.11.2017 / 17:45
1
answer

insert the checkbox values that are selected in accordance? [duplicate]

My CH is connected to a field in the database, as the values that are selected are inserted into an array?     
asked by 29.11.2017 / 18:00
1
answer

Query in LINQ, How to concatenate fields

Good afternoon, I have the following left join var innerJoin = from emp in db.Tbl_Empleado join mb in db.Tbl_MarcacionesBiometrico on emp.EmpId equals mb.EmpId into MarcBio...
asked by 29.11.2017 / 23:00
1
answer

Keep a row selected in a DataGridView when updating

I would like to know what method I should use in my code so that when the DataGridView is updated, the last row selected is maintained. This is the code where I updated the dgv Here I consult and refresh the dgv public void BuscarVisita...
asked by 13.11.2017 / 17:28
1
answer

How to extract a String number from a DataGridView C #

What I want is to take the numerical value of a string for example IMP_5, take only 5 that would be in the last row of a DataGridView. The last row of records of all you have. Someone can help me.     
asked by 13.11.2017 / 02:58