Questions tagged as 'c#'

0
answers

Send information to other windows forms [duplicate]

Hello. I am developing an application with 3 flowlayoutpanel the first one ready the products, clicking it ready the available ones in the second panel, and clicking on the available ones, I open a popup asking for the quantity of products to...
asked by 05.02.2018 / 14:33
0
answers

Knowing if a process is critical

If my program closes a critical process, there will be a blue screen. So how do I know if a process is critical? If this process is critical then my program will not close it.     
asked by 02.02.2018 / 19:37
2
answers

What does the ^ = operator mean in C #?

I have a function in C #, where I decrypt a string and need to convert to a function in SQL Server for technicians to be able to work with the decrypted value. There is a foreach , which I do not understand how it works: var calculoChave...
asked by 27.01.2015 / 13:32
2
answers

Entity Framework is saving duplicate values when saving entities with relationship N to N

I have an entity called Book that has among other attributes a list of categories. In my model a book can have multiple categories and vice versa, so we have a N relationship for N. The EF therefore creates the books table, the category table an...
asked by 12.02.2014 / 22:21
0
answers

Web API (C #) copies external directory files

I have an Api web in C # .net framework. In this application I have a method responsible for copying some files to a local directory, where I have my frontEnd. The problem I'm having is that my web service (after being hosted) can not copy files...
asked by 07.02.2018 / 13:57
1
answer

Doubt DataGridView in C #

I'd like to know what these code types are and what they're used for: txtCodigo.Text = dtgProfessores.Rows[e.RowIndex].Cells["CODIGO"].Value.ToString(); txtNome.Text = dtgProfessores.Rows[e.RowIndex].Cells["NOME"].Value.ToString(); txtEndereco...
asked by 01.02.2018 / 01:45
1
answer

Insert using parameters in the C # application for the Oracle database error: ORA-01036: invalid variable name / number [closed]

I noticed that you have a lot of questions about this error but none solved my case the connection works normally, there is the method Insert (): public bool Insert(ArrayList arrAlunos) { vsql = "insert into ALUNOS_("...
asked by 31.01.2018 / 17:46
1
answer

input is not pulling certain value from the bank

I need some help. On my system, I have an input that brings up a date from the database. Asyoucanseeinthepictureabove,thereporteddateis06/09/201700:00,buttheactualdateofthisfieldis05/09/201722:03.Theformatthatisinmydatabaseisthus2017-09-0...
asked by 01.02.2018 / 18:18
0
answers

How to make a comparison between 2 fields with date [duplicate]

Hello, I have 2 fields, 1 with today's date and one with a date in 9 days. I need to make a comparison between the 2 fields to know if the field with the second date is in 10 days or less, and display a message in the MessageBox. I tried to do...
asked by 02.02.2018 / 17:41
0
answers

Android - Error in Uploading image to server C #

When uploading an image in Android to the server (C #) it generates an error converting the image to byte Array, this happens with some images which is very strange because this error is not always generated, or either depending on the image tha...
asked by 31.01.2018 / 12:14