Hi, I have a Json in a controller that filters my view, the issue is that sometimes receives some of the parameters in Null and does not return records as I could do to ignore me if the parameter enters as null?
This is the code:
public Jso...
how to tell the user that a record has not been deleted because it has other entities that inherit its primary key by means of try / catch?
try
{
db.usuarios.Remove(usuario);
}
catch(?????)
{
???????
}
Good I would like to know how to add the value that comes from the model to a textbox that is in the row of a table, in Devexpress this is the code that I have I need a line of code if I am not wrong it is something like content.Column...
On this occasion I have a question which is, how can I get the time or the time from Razor or a way to get them separately, I attach my entity Cls and the View, thank you and excuse the inconvenience.
using System;
using System.Collection...
I am looking for a view to be able to show several data in a chart, but that has a page, since in my current chart the data overpopulates the chart, I hope you can help me, gracais
I have already finished a mini project, it works perfect on my PC "Localhost" but when I want to upload it to 000webhost it goes up all right, but when I want to see a view it does not show it, but no error appears. I think it's the .htaccess or...
I can not show the data that the query brings me. I work with mySQL and a model of views and controllers.
I get this error: Warning: mysqli_num_rows () expects parameter 1 to be mysqli_result, string given in . And the variable is not empt...
I have a WebGrid, which I can load without problems through the past model in sight (MVC C # .net). Until there is no problem.
But the need arises to be able to load another WebGrid control, but for that I need as parameter the Id of the se...
It turns out that I have a chart in which I must list about 200 data and when you get to about 40 data, the chart is disarmed, is there a way to give next page and jump to other data and display them on the same chart? or any way to list the app...
Good, I have a question. I can not send the data entered by the user in my pivot table to my MVC controller and C # in my view I have the following:
Function that creates the Dynamic table:
function fn_agregar() {
cadena = "<tr>...