Questions tagged as 'c#'

1
answer

how to insert a new column and rows to an excel hosted on the server?

Good afternoon community question C # language? I'm making some modifications to an excel hosted on my server I need to go through it, check if the rows are empty add a new row with header and fill the new row with the sum of two fields, and rev...
asked by 03.09.2018 / 18:55
1
answer

search in datagridview with a textbox

guys I have the following problem: I should look in a datagridview column if the value of a textbox is in one of the rows of that column, if the value coinicde, I should show a message that the time is occupied, otherwise , unlocks some controls...
asked by 03.09.2018 / 15:49
0
answers

Create dll library in C # and use it in a C project

I tell you that I'm doing a project in LabWindows / CVI 2012 which is an ANSI C development environment, where a couple of days ago I've been trying to execute command lines in windows to boot the bootloader in an ATMEGA328P, and they suggested...
asked by 24.07.2018 / 16:01
0
answers

Fit text in PDF format with iTextSharp: ASP.NET and C #

I have the following pdf that I generate with iTextSharp    What I want is to pass the totals under the GridView something like: var para = new Paragraph("Total de piezas" + TxtPiezas.Text); para.Alignment = 2; // se que...
asked by 17.07.2018 / 20:40
1
answer

InvalidOperationException when publishing the Web Service made in WCF,

Show me this error [InvalidOperationException: Another version has already been associated with the listening URI ' link '. If two endpoints want to share the same ListenUri, they must also share the same instance of the link object. The tw...
asked by 17.08.2018 / 20:02
2
answers

Digital Clock in C # with Threads

I have this code in c # that runs a digital clock: public partial class Form1 : Form { Thread hilo; public Form1() { InitializeComponent(); } delegate void TiempoDelegado(); public void Cam...
asked by 04.07.2018 / 19:52
1
answer

I need to delete the line breaks of a word in c #

I'm doing a web application that makes me a merge of several word documents but I need to join them without the Line break or ENTER , I'm developing it in c # I already have the merge of documents but I just need delete the line breaks , I man...
asked by 10.07.2018 / 00:36
1
answer

linq query on 2 group by lists

I have the following query in linq, which takes 2 lists as a data source. The first contains a list of IdProducto and its description public class Productos { public List<Producto> lstProductos { get; set; } } public class Pro...
asked by 24.06.2018 / 22:47
0
answers

How can I read the Expires of a cookie?

I have a cookie which is called C__COOK containing a value 1 what I need to do is to be able to read this cookie completely, I mean with this to its property Expires to be able to use its value in a conditional. I...
asked by 05.07.2018 / 19:11
0
answers

System.IO.Ports read port com3 type of data received Wiegand 26, c # read

Hello, you could support me with this topic I am reading through a terminal a proximity card, which tells me its documentation that its output is a wiegand 26bits format when using the method ReadExisting () it returns a string to which I do...
asked by 06.07.2018 / 02:55