Is it a bad practice to have a very extensive method within my class of service?
Or would it be better to break them down into smaller methods in the same class and call them?
Hello! My scenario is as follows:
I'm developing a web application in C # ASP.NET, and I'm having some difficulties getting the database's data (via LINQ to SQL) to the page controls.
Below is one of the controls in my .aspx where I...
Whenever I create a new project in VS2013, I have no project option, only the option: WEB >> Visual Studio 2012 . So yes, I have several project options like MVC 3 and 4 and so it goes. How do I update? I tried NuGet, but it's still...
I want to get a List(Of String) of text blocks, however there is a problem:
{ --isso é um bloco;
echo "Aqui tem um } no meio";}
And I would like to get this:
--isso é um bloco;
echo "Aqui tem um } no meio";
but it's coming bac...
When you use the DbContext.Set () method, the following exception is raised:
The entity type is not part of the model for the current
context
If I create a DbSet directly in the DatabaseContext, it works. But my current need is to cr...
My context is not bringing the bank's data.
Error messages.
Value can not be null.
"Value can not be null. \ r \ n Parameter name: connection"
Value can not be null. Parameter name: connection
Connection string string...
I have the following java script function to format my date fields:
function MascaraData(data){
if(mascaraInteiro(data)==false){
event.returnValue = false;
}
return formataCampo(data, '00/00/0000', event);
}
but I can not call th...
I'm trying to retrieve the values of a form. Is this a good way to get them back to get through my DAL?
<div id="myModal_Veiculos" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">...
I'm developing my CBT and I needed to make the data collected in the register serve as a login, because we do not have a server yet to save this data, so they are being made with ArrayList .
Follow the code:
public partial class Frm...
I have this code in my cshtml file
<div class="grid_19 box-resultado">
@{
string
nm, dia, mes, ano, sexo, numpassaporte,
diavalidade, mesvalidade,
anovalidade, paisemissao, dados = "";
.......
I need to dec...