In the code below, I have tried to retrieve all the checkboxes but I can not bring anything, I would not like to put ID, but retrieve countless selected checkboxes, what can I do? I just put 2 as an example: ( Code Behind )
<div class="f...
Follow the code below:
List<object> list = new List<object>
{
"abc", // string
1, // int
true // bool
};
TempData["ID"] = list;
The following code can not fetch value:
var data = TempData["ID"...
What is the best way to read the IPTC header of an image? I have the following image and I had to read the description of it (for a bank of images), but I already researched many forms that were confusing for me. Has anyone done this and can you...
If I put in my view Layout this line:
@Styles.Render("~/Content/css")
I'm stating that all .css files in Content folder will be rendered? That is, I do not need to explicitly put .css in my view , is that it? If ther...
My application is divided as follows:
Repository - > Access to Progress database
Controller - > Receives feedback from Repository and sends to View
View - > Receives feedback from Controller.
Next, my Repository looks like this:...
Follow the code below:
public ActionResult Teste1(int num1, int num2)
{
var valor = Teste2(1, 2); //Aqui recebe valor nulo
}
public ActionResult Teste2(int num11, int num22)
{
//Alguns valores aqui...
var valor = 123;
return null;...
When I run my application, I am aware of the error warning, stating DAL.dll was not found. I have no idea what it can be, I'm following a tutorial, these are my first steps with C #. I'm using VS 2017.
I'm developing a C # function that calculates the interest applied to a particular account. for this it is necessary to know the correct difference between days and months.
How can you perform a function in C # that returns the number of days...
I have the classes:
profissional
{
int id;
int idUnidade;
string nome;
}
unidade
{
int id;
string nome;
}
profissionalUnidade
{
string profissionalNome;
string unidadeNome;
}
I'm doing a query like this:
list...
My project in ASP.NET MVC in C # has a Domain layer where I have entities, and business rules.
I need to add a new rule where I should return an object with an internal list, but I ended up having a discussion about DDD rules with my colleagues...