Questions tagged as '.net'

0
answers

Why do I get an error when trying to assign a value to an excel column using the interop library?

I want to generate reports with the information of the BD, in fact everything is fine except when I want to start adding the information I get inside the excel. Excel setting code: ExcelCreate.Application excelApp = new ExcelCreate.Applicat...
asked by 05.10.2018 / 18:07
0
answers

web service with database in .net mvc

I am trying to implement a web Service in .net mvc with WCF: When I implement the interface methods in the service class and I instantiate the context of the database I get the following error and it tells me to add a reference but I do not know...
asked by 05.10.2018 / 00:57
1
answer

C # Problem when serializing a class

I have the following XML in a variable of type string. string sCaf = "<AUTORIZACION><CAF version=\"1.0\"><DA><RE>97975000-5</RE><RS>RUT DE PRUEBA</RS><TD>33</TD><RNG><D>1</D&...
asked by 28.09.2018 / 19:17
0
answers

Generate PDF tags with VB.NET

My problem: I want to generate some more or less tags like this image , from 2 to 3 columns. From the data of a ListView I try to create the labels but I do not know how to format them, since the only thing I have achieved is to print the da...
asked by 01.10.2018 / 20:54
0
answers

error when consuming a webservice made in .NET

I get this error when wanting to visualize the data of a webservice made in .NET, where CODIGOPRODUCTO is a parameter of the webservice.    Notice: Undefined property: stdClass :: $ CODEPRODUCT This is my code: $getproducts = fil...
asked by 20.09.2018 / 06:24
1
answer

Converting Datetime to string inside a viewModel object when consulting sql server

I have an exception when I try to covert a date that I bring from sql server to string type inside a viewModel object. It says the following: System.NotSupportedException: 'LINQ to Entities does not recognize the method' System.String Format...
asked by 04.10.2018 / 05:07
1
answer

step values to my textArea and pass it to me with HTML tags

When I pass the values it shows me with the HTML tags any text that I write THANKS in advance backend protected void Button1_Click(object sender, EventArgs e) { try { if (!String.IsNullOrEmpty(textArea1.InnerText)) {...
asked by 13.09.2018 / 18:03
0
answers

WCF Service Return erroneous XML

I created a Post WCF service in C # that signs an xml document, all right, but when I invoke my service from the postman client, it returns me with special and incorrect characters. This is my services: IService1: [ServiceContract]...
asked by 08.09.2018 / 01:32
1
answer

How to calculate distance between two points using the google api with C # [closed]

I hope you can guide me, I am building a site where I want to consume the Google Maps API with C #, I want to know if it is possible to calculate the distance between two points by means of some function offered by the API or I have to calculate...
asked by 05.09.2018 / 20:53
0
answers

Buffer - Windows Forms - Visual Studio

I have a small problem I have been programming a buffer in a visual form with c ++ First in a timer I have been using a Graphics object that allows me to draw any thing (up to normal), but when I implement a buffer the background of the screen b...
asked by 06.09.2018 / 04:59