Questions tagged as 'c#'

1
answer

EDF-Reinf: Error Signature - An XmlDocument Context is required for enveloped transformations

I'm developing a C # application for EFD-REINF and at the time of sending my R-1000 event I'm getting the following message: "An XmlDocument Context is required for enveloped transformations." Below is my code: public XmlDocument Assinar(st...
asked by 10.12.2018 / 22:01
3
answers

C # - Knowing the location of the database file dynamically

I'm doing a program using C # in WPF, and I need to access the database dynamically, in this case I'm using a .mdf file. In code I have the connectionString like this: string stringConexao = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilenam...
asked by 24.11.2018 / 00:12
1
answer

Telerik RadRibbonBar - strange behavior

When you set up text and images in a RibbonBar , along with their alignments, suddenly the window becomes too small, preventing any form of increase in size (Windows form, Telerik v2014.1.228.40 , Visual Studio 2013, C #). This in a...
asked by 17.03.2014 / 15:38
1
answer

Generating fields by ASP.NET code

I'm doing a web application with ASP.NET and C #. In this application I can register multiple items of the same type, so it has a text field and a side button to create new text boxes. I have already worked with this in the desktop app, but I...
asked by 19.03.2014 / 17:52
0
answers

Relationship of two Tables with a DataSet containing two Tables

Good Afternoon Staff I need help to make the relationship of two tables , so when I click on the DataGridView of DG_TitulosaReceber, the parcels for each title appear in the DG_NumerodeParcelas below. I want to create the Synchronization...
asked by 20.11.2018 / 14:16
0
answers

.NET Standard 1.2 - FileVersionInfo does not exist

Follow the code below: public static string GetVersion() { return FileVersionInfo .GetVersionInfo(Assembly.GetExecutingAssembly().Location) .ProductVersion; } I get error:    CS0103 The name...
asked by 20.11.2018 / 16:13
0
answers

xml signature error SHA256

I'm trying to sign an xml, it signs, but when I go to validate, it returns the following error:    SignatureDescription could not be created for the signature algorithm supplied. I have the most updated .NET on the machine, I use windows...
asked by 26.11.2018 / 18:47
1
answer

Not all paths return value

TheCadastrareventisshowingupwiththeerror.usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingCamadaModelo;usingSystem.Configuration;usingSystem.Data;usingSystem.Data.OleDb;usingCamadaCo...
asked by 17.11.2018 / 23:53
1
answer

Write a Json string in the database C #

I'm getting the data correctly, and getting them to separate correctly too, only problem is that I do not know how to use the values and be able to write to the database, could they help me? The image below shows how I'm getting the data and...
asked by 21.11.2018 / 13:53
0
answers

Dependency Injection - Api Web

Good afternoon, I'm trying to create dependency injection in Web Api, but I'm not getting it, I get the following error:    SimpleInjector.DiagnosticVerificationException     HResult = 0x80131500     Message = The configuration is invalid....
asked by 14.11.2018 / 17:26