Is there any monitor that shows me the sql script at runtime?
For example, during the debug, I would like to see how the script was mounted by the following code:
var q = (from proc in
Sessao.Query<Processo>()...
By the translation of the error says that I have to put a ")" at the end of the "type" but already
there is a ")" at the end of the "type" already tried to change to "[]" but it did not work
I tried to put 2 ")" as I saw in other codes but also...
I need a textbox to stop receiving values after the comma as soon as I hit 2 houses.
For simplicity, think that the text has a border after the comma, but none before it.
Example:
Enter the number 2.99. Therefore, whenever the user trie...
As I do so that in the date field, not saved a date that has passed, for example the one of yesterday and in the hour field do not enter an invalid time, for example 27:00, only the Brazilian hours. Both fields are MaskedTextBox .
Date...
I'm doing a production order project and I have 7 combobox picking up the values from the same table (which are those of raw materials). I am using this code in load of the form to load the combobox:
cmbMP1.DataSource = bllprodutos.DtMa...
I have two entities, Sistema and Comentario where a system can have several comments:
public class Sistema
{
public ObjectId Id { get; set; }
[BsonElement("SistemaId")]
public int SistemaId { get; s...
I'm starting my html.editorfor with "0.00" like this:
@Html.EditorFor(model => model.Preco, new { htmlAttributes = new { @Value = "0,00"} })
But when the user receives some validation message (ModelState.IsValid = false), the editorfor l...
I know that TempData has its "life" held until it is used in View . However, if I do in two different controllers, the same identified TempData , I'm killing and over writing them.
If the user is using 2 browser tabs, he ma...
I'm trying to make a query using the TFS API where I need to get all the WorkItems that have been edited from a certain date, however I get the following error:
An unhandled exception of type
'Microsoft.TeamFoundation.WorkItemTracking.Cli...
I have the following array:
a d k m
s j e r
t c f p
I put such array in an array as follows:
char[,] matriz = new char[3,4];
matriz[0,0] = 'a';
matriz[0,1] = 'd';
matriz[0,2] = 'k';
matriz[0,3] = 'm';
matriz[1,0] = 's'...