Posts by user2735450 • 86 points
4 posts
-
1
votes3
answers2406
viewsA: Access content from another project in the same Solution
You will have to climb both projects at the same time, IE, both have to be "Online". Your image reference should be the full url example: h t t p: //localhost:8455/Content/imagen01.jpg to access:…
-
5
votes4
answers5763
viewsA: Capture Real User IP
I get it like this: public static string GetPublicIP() { string url = "http://checkip.dyndns.org"; System.Net.WebRequest req = System.Net.WebRequest.Create(url); System.Net.WebResponse resp =…
-
1
votes1
answer516
viewsA: Fill in Combobox
//criando palavras sugeridas var source = new AutoCompleteStringCollection(); source.AddRange(new string[] { "Masculino", "Feminino", "Outro" }); // criando…
-
0
votes2
answers2085
viewsA: LINQ Group By with multiple fields
Let’s change everything. var lstCategorias = (from p in Produto.categorias select p).ToList(); foreach (var categoria in lstCategorias) { var lstProdutos = (from p in Produto.produtos where…