Good,
I have an OpenFileDialog in my program, but I did not want it to appear when I "open" what is in the image ...
If I close the window, it gets "openfiledialog" in the Textbox, and I want it to be blank, since nothing was selected.
Im...
Is it possible to update the Collection of an entity with relationship one-to-many through its navigation property ?
public class Foo
{
public virtual IList<Bar> Bars {get; set;}
public int FooID { get; set; }
}...
Personal I have a controller where I set two session keys and they capture these key anywhere in the application. (other controller , or a view ).
The controller looks like this:
[HttpGet]
public ActionResult TimetableSelect(int curre...
I have the following code:
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n, cases = 1, a[3];
cin >> n;
while(cases != n + 1)
{
cin >> a[0] >> a[1] >> a[2];
sort(a, a + 2);
cout <...
If I have a sentence: "melhor 01/01/2016 - 05/01/2016"
How can I retrieve the dates of this sentence using regex?
thus: var data1="01/01/2016" , data2="05/01/2016"
But before doing this code I created a text file called numero.txt and included in the file:
23;45;89;-230
452;0;97;1
87;2;4;6
346;97;-5;3
Following is an error code, but I can not find the error.
#include<stdio.h>
void main(){...
I have two tables in my DB (mysql), where:
1st Table: CADASTROS
With the following fields: ID, NOME, IDADE, CIDADE
2nd Table: FUNCIONARIO
With the following fields: ID, ID_CADASTRO, PROFISSAO, SALARIO
Running...
I have a sign-up screen where a user's default photo is stored. I would like to put both options. From when the user touches the photo open an option for him to take a photo of the crew and replace the current one and still an option if he wants...
I have the following code:
list1 = ['a', 'x', 'c', 'b', 'm']
list2 = ['f', 'x', 'a', 'c']
list3 = ['c', 'e', 'x', 'b', 'p', 'k', 'l']
How do I find the common elements, so that I get a list like this:
comuns = ['x', 'c']
I'd like to know how to make the values of an object become numbers. I read about Methods valueOf() , and toString() , but I have not figured out how to use them to that end, my attempts have not worked much. Thank you in advance.
...