Questions tagged as 'c#'

1
answer

Display ITEXTSHARP Report on a Form

How to present the itextsharp report in a form? No need to save it in PDF. Just display it on a form. The same way we can do in reportviewer.     
asked by 23.08.2018 / 18:37
0
answers

How should I use the Visual Studio Authentication feature for an ASP.NET MVC project?

Gentlemen, I need guidance to start an ASP.NET MVC development project in Visual Studio. It is related to the implementation of the Authentication feature when creating a new ASP.NET project. My system will have two types of users, which will ne...
asked by 26.07.2018 / 00:27
0
answers

Is it possible to make a related Entity possible to be displayed with Odata Expand (WebApi)?

Hello, I have a question regarding the following situation: I have an Entity that I defined in my model as TaskFreq public partial class TarefaFreq { [Key] public int ID { get; set; } public string Name { get; set; } } I created...
asked by 26.07.2018 / 20:12
0
answers

Local connection Sql Server Express 2017 - Asp.Net MVC

I'm trying to connect to Sql Server Express 2017 via Visual Studio (local connection), but I always get this error when I try to open:    A connection to the server was established successfully, but a   during the logon process. (provider: Sh...
asked by 11.09.2018 / 00:20
2
answers

Doubt C # ADO.NET Class - Accessing Data from a DataTable

Hello, good evening, I'm new here and a beginner in C # programming. I'm developing a CRUD system for vinyl records (a particular hahaha) using ADO.NET classes, similar to the article below. However, I'm not getting any progress in my rs proj...
asked by 19.07.2018 / 02:55
0
answers

How to add Microsoft.ACE.OLEDB.12.0 to the installer of my .NET application?

Hello, I have an application that I programmed through Visual Studio 2017 that uses Microsoft.ACE.OLEDB.12.0 to query Excel files and return data. Now that I finished the project I had to publish. But when you install the application on a mac...
asked by 19.07.2018 / 19:30
0
answers

Upload photo from Datagridview and switch to picturebox C #

I'm having a hard time getting my photo taken and showing it in PictureBox My scenario is as follows: I have a Registration Form that inserts the data and A Form that performs the search of the record that is displayed in a DataGridView; W...
asked by 10.08.2018 / 18:23
0
answers

Error adding data to the database

I'm having trouble inserting information with parameters: private static void InsereNovoMenuParaOUsuario(int idAcao, DTO.ModulosProgramaAcoes acao) { using (var conn = Conexao.ConectaDb()) { var listUser = new List<DTO.ModulosM...
asked by 14.08.2018 / 03:03
0
answers

How to move a UITextField in Xamarin.ios?

I wanted to move a UITextField up or down in order to solve the keyboard problem ' I tried this way TextChaveAcesso.Frame.Location = new CoreGraphics.CGPoint(TextChaveAcesso.Frame.Y, TextChaveAcesso.Frame.Y);     
asked by 14.08.2018 / 17:00
0
answers

How to detect that text has created new lines

Let's imagine I have a lable and have a text with n characters. Whenever this text does not fit it will put the words on the bottom line. How do I detect that this happened? I tried it that way internal int ContarQuebrasLinhas() {...
asked by 27.08.2018 / 15:56