Questions tagged as 'c#'

0
answers

How to avoid an error "invalid need: expected Call, have Poll" in Bot Framework c #

I am running a bot bot with Bot Framework technology in c #, sometimes it generates an exception of typo System.Exception that has the following message: invalid need: expected Call, have Poll According to the Stack Trace, the error is ge...
asked by 20.01.2018 / 16:01
1
answer

Extract a list of the names of a rar file by means of c #

Good morning, I am trying to extract the list of files that contains a .rar file, I have searched for several solutions and I can not find how to do it from c #, the only option that was found was by means of a console using the following cod...
asked by 31.01.2018 / 15:22
0
answers

Filter data in DatagridView, selecting the filter from CheckBox, C #

I am trying to filter data in the DataGridview with the data already loaded, without needing to consult the database. When I filter using the TextBox I do it correctly, but I need to filter the options with CheckBox ....
asked by 31.01.2018 / 14:40
0
answers

How to rotate an image converted into a byte array in C #?

I'm using Xamarin.Forms to take a photo which I take it vertically and I have a photo more or less like this: This photo is a byte array and I save it in a SQL Server database, but when I show it it is rotated like this: This o...
asked by 23.01.2018 / 16:55
0
answers

Problem trying not to capture what is written in a Textbox

Good morning, Currently I have an application in which you can enter a text in a textbox. There is also a timer every 750 ms that verifies that this text measures more than 12 characters and executes a procedure. When you finish executing the pr...
asked by 16.01.2018 / 15:41
0
answers

I need to load a menu from the database in the view of my .net mvc project

I have a table menu in Sql Server and I'm trying to do a recursive function that loads the menu with all of its children, now my table menu has the following: Where ParentID has the id of the parent that corr...
asked by 16.01.2018 / 14:31
0
answers

Merge pdf with digital signature

Good, I have several pdf with digital signature and when doing the merge does not keep it, I use the following code, which modification I can make to keep it. Thank you very much public static void MergeFiles(string destinationFile, string...
asked by 24.01.2018 / 12:53
1
answer

Sqldatareader invalid cast exception getDouble

I'm trying to get Double type values from an sql datareader, so all right, it happens that when I do a dr.getDouble (2) it gives me invalid cast exception.    System.InvalidCastException: 'Unable to convert an object of type' System.Byte [] '...
asked by 15.01.2018 / 09:54
2
answers

Format currency to DataGridView content

Good morning to all, I am trying by means of the following codes to format the currency of the contents of several cells within my DataGridView, which I do not get, if you can help me I will be very grateful. dgvListArtIng.Columns["PrecioU...
asked by 24.01.2018 / 17:05
0
answers

Problem with DevExpress.Web.v11.1 and DevExpress.XtraReports.UI.XtraReport Version = 11.1.8.0

I recently migrated an ASP.net solution from VS2010 to VS2015 but at the time of running the project I get these errors: Severity Code Description Project File Line Suppression State Error 'Could not load file or assembly' DevExpress.Web.v11....
asked by 24.01.2018 / 18:31