Questions tagged as 'c#'

2
answers

WindowsForms Help

I'm having a hard time displaying on Form. I have a main Form (fmrPrincipal) and another Form to register a client (fmrCadastraCustomer). Inside fmrPrincipal has a menu with the field "Client" and then the user selects "Register client". The mom...
asked by 19.05.2017 / 22:00
2
answers

How to retrieve address ID?

I'm using asp.mvc. In my route has the ID, the address of the page for example has link . I wanted to get this number 1 at the bottom of the page, is there any way to do that?     
asked by 08.07.2018 / 04:50
1
answer

Error trying to recreate a table with code first (Migration)

I'm following the Eduardo Pires tutorial on DDD + Asp.Net MVC 5 + IoC and etc. Well, in the first attempt to create the bank and the customer table, it was gem. It turns out that Eduardo made some changes and I followed (I'm learning from him) a...
asked by 03.03.2017 / 18:15
1
answer

HttpPostedFileBase null after reloading the page, (image upload)

Is there any way I can not lose data from HttpPostedFileBase ? my action does a check, and in case of failure the page reloads with the image in the form and I have to make the call again, then HttpPostedFileBase will be null, unles...
asked by 13.04.2017 / 18:37
1
answer

Using SSIS to fix extra column error

I'm starting to learn about SSIS, I already know how to import a Flat File into the Bank, however I have a problem, the delimiter used is the Pipe "|", and in one of the columns it is used as value. When importing an extra column is "generate...
asked by 06.07.2017 / 21:26
1
answer

SelectionBrush property only the border and no fill

You can make the property SelectionBrush equal to the image below: Becausesheisnowlikethis: Followthecodebelow:<TextBoxSelectionBrush="Red" FontSize="12pt"/> I just want the border and no matching fill in the first image, can...
asked by 05.08.2018 / 17:00
1
answer

Run an XMLA query using WebApi from C #

My WebApi in C # is like this. using Microsoft.AnalysisServices.AdomdClient; using System; using System.Data; using System.Web.Http; using System.Xml; namespace FastReport.WebApi.Controllers { [RoutePrefix("FastReport")] public class...
asked by 10.07.2018 / 16:12
1
answer

Problem reading Text file with StreamReader

I have an application that has a form that when loaded reads a text file, from the first line to the last one, with StreamReader . The problem is that I can not read this file for 2 consecutive times. The only way to read the file again is...
asked by 19.07.2018 / 05:50
2
answers

How to envelop the sending batch of NFe in the header using C #?

Hello, I'm not experienced with WebServices , but I'm trying to develop a NFCe sender and I've already been able to authorize some notes in the certification environment. I generate XML using C# , so I validate, sign an...
asked by 10.10.2016 / 06:27
1
answer

Error restoring nuget packets, UWP project

I have a Xamarin UWP project, and while doing the build of the project, a series of errors p>    Severity Code Description Project File Line Suppression State   Error System.Collections.Concurrent 4.0.10 is not compatible with   U...
asked by 30.09.2016 / 18:07