Questions tagged as 'c#'

0
answers

C # - Decrypt a file with a Key XOR

I'm having a problem that is burning my head! What I need is to decrypt a .bmd file in c # I already have a program in C ++ that does this procedure, but I can not make it work in c ++. It shows me all signs of questions. This is the code...
asked by 01.01.2019 / 22:53
1
answer

Filter by dates in datagridview c # with datetimerpicker and Mysql

Well I try to make it in a datagridview by selecting a date from-to show me the records between those dates I'm using between to do this and the truth because I could not have this in a form with a datagrid, 2 datepickers and a search button...
asked by 29.11.2018 / 22:47
1
answer

Help I can not convert a string with JSON format to JSONArray on android

Hi, I'm new to android studio I'm trying to convert us string with json format into a JSONArray object in android studio but I have the following error:    W / System.err: org.json.JSONException: Value [{"cve_prod": "ASPM1   "," description...
asked by 04.12.2018 / 19:07
0
answers

I can not create a new table in C #

I can not integrate a new table in my database because when I add it to my application of C# I get the following error:    Severity Code Description Project File Line Status suppressed   Error Error 75: Key part: 'EsReverso' for the ty...
asked by 27.11.2018 / 22:05
0
answers

SELECT A GRIDVIEW CELL IN ASP

How could I select only one gridview cell in asp. if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onMouseOver", "this.style.cursor = 'pointer' "); e.Row.Attributes.Add("onclick", Page.ClientScript.GetPostBack...
asked by 01.12.2018 / 02:05
2
answers

Error creating file "Can not create a file when that file already exists"

I'm trying to create a file from a call from a web service. When I run it I get the error Cannot create a file when that file already exist According to the debug, the code falls on the line File.Move(originalFileName, newFileNam...
asked by 24.03.2016 / 21:50
0
answers

Error sending XML / string to web services C #

I have the SoapUI where I am doing a web services test in which I add 3 data to the request and it gives me an answer, until here everything is fine. It happens that I want to consume that webservice using C #, the code I have so far is...
asked by 13.12.2018 / 21:02
1
answer

Validate formulas

I have an array of operators [*, -, +, %] and another array for variables [FE, GE, PRD, RON] . In an input text, the user with both arrays can create formulas that is, FE + GE * RON for example. How can I validate that the formul...
asked by 24.11.2018 / 15:10
1
answer

Find an Image name with File Exists in C #

In my database I have a field that is the guide number, and that same one is also an image name ( .jpg or .tif ). The topic, that I have cases where the guide number has several images and in the folder of images you can appear like...
asked by 23.11.2018 / 23:53
1
answer

I need to send an array to a separate array for each time I click on an item in a listbox

I tried this code and it does not work for me private void lstIngreso_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { index = lstIngreso.SelectedIndex; valor[index] = Convert.ToDecimal(lstIngreso.Sele...
asked by 26.11.2018 / 22:49