Questions tagged as 'c#'

2
answers

In Developing Code First how do I relate the AspNetUsers table to other table

I'm developing a real-estate system and need to match the AspNetUsers table with the tables that the system will have and cardinality one to many , so I want the system send me reports of who performed registration features and other function...
asked by 18.12.2017 / 01:46
1
answer

Autocomplete with ajax in Entity Framework

I have the following HTML code: <input id="pesquisaEstilo" name="pesquisa" type="text" placeholder="Destrito, Concelho" /> <input type="submit" value="Pesquisar" id="botaoPesquisar"/> I want to autocomplete the search bar using...
asked by 17.12.2017 / 20:19
1
answer

MIgrations error loading System.Configuration.ConfigurationManager - MIgrations

I have a WPF project that contains a app.config containing the consection string and tb I have a Date layer of type ClassLibrary .dot net Standard on which to create the Migrations folder. When I give an "Add-Migration Start" the syste...
asked by 11.01.2018 / 00:37
1
answer

Starting with Xamarin

I was interested in xamarin and decided to test it a short time, the problem is that all the tutorials I saw have the option "portable", and in visual studio 2017 does not have, even for android as for cross plataform (I do not have mac ). Wh...
asked by 10.01.2018 / 13:12
1
answer

How would you do to convert this Json to Objects in C # [duplicate]

How to convert this JSON to a C # object? { "Maquinas":{ "Maquina1":[ { "comando":"Get", "enderecoip":"192.168.254.221", "port":"3000", "usuario":"teste", "Senha":...
asked by 04.01.2018 / 17:22
0
answers

ASP.Net MVC - Draw in PDF file?

I'm creating a system in Asp.Net MVC and I need to create a scheme for the user to write his signature to a .pdf file that corresponds to a contract and I'm looking for a way to do it but I have not yet found it. I saw that with iTextS...
asked by 04.01.2018 / 03:56
1
answer

The object reference was not defined as an instance of an object

You are giving this error:    error: "The object reference was not defined as an instance of an object." In this line of code: public static string BDConnectionString = ConfigurationManager.ConnectionStrings["connString"].ConnectionStr...
asked by 19.01.2018 / 17:22
0
answers

Image in printDocument_PrintPage

How to insert image into a print form, like in the case of the icon there when I'm editing the form The only way I ended up finding it was through Image IMG = Image.FromFile(Application.StartupPath + @"\Imagem.Extenção"); S...
asked by 01.01.2018 / 18:05
1
answer

How to Create a Table N: N Where One of the Keys Does Not Belong to a Table of the Same Database

Context: The application has a module for logging of calls and we use another application to deal with the record of incidents, both are in different databases. Each care may be related to one or more incidents and an incident may be rel...
asked by 30.12.2017 / 16:38
1
answer

Show data coming from a JSON in a listview

namespace Monitorizacao.UI.Pages { public class Post { public int Id { get; set; } public string Title { get; set; } public string Body { get; set; } } public partial class TestAPIPage : ContentPage {...
asked by 20.12.2017 / 18:55