Questions tagged as 'c#'

0
answers

Connecting C # to SQL Server

I am trying to connect a program to the database hosted in SQL Server, but I am having problems .. When the program runs, the login screen is the first one to appear, and it needs to open the second screen with options to add payments and etc...
asked by 09.07.2018 / 01:45
0
answers

Bematech MP 4200 TH - MP2032 dll know if print is finished

Good afternoon, I'm developing an integration with payment via TEF of getnet in C #, my problem is in the impression of the payment confirmation coupon, and for approval I need to make sure the printing has finished or not. I am using the MP2...
asked by 08.07.2018 / 19:17
0
answers

Solved - Problem with a Web Api calling another Web Api

I'm developing newbie for web environment and I'm having a very bizarre problem, so the text should stay long to try to explain it. I have the following scenario: An angular front end that calls a Web Api (1), this Api Web, in turn, in some c...
asked by 31.05.2018 / 17:41
0
answers

Industry problem setImageResource

Hello, I have a project that I draw drawable images for a ListView, the problem is that when I run the project does not appear the images seated, can anyone help me to find the error? LAYOUT main_activity <ListView android:id="@+id/l...
asked by 31.05.2018 / 20:22
1
answer

Identify selected item ListView

I have ListView which loads values from my database. I would like to know how to identify the selected item so that I can retrieve the value of the CODIGO_PRODUTO field and make a UPDATE/DELETE in the database.    Remembe...
asked by 30.05.2018 / 03:36
0
answers

Why does not DontDestroyOnLoad change when I change the scene?

I have gameObject with the script with all the information about the level, xp and etc for the game. It loads into the Loader scene, when I switch to the next scene, I do not want to lose this gameObject . When I use DontDest...
asked by 16.06.2018 / 20:05
1
answer

ASP.NET MVC error circular reference when serializing object

Good afternoon dear fellows! I'm a beginner in ASP.NET MVC and C #, I'm developing a project and I've encountered a problem. Basically, it's a store registration system. I have two tables, one called Shops and another called Owners (Where, of...
asked by 15.06.2018 / 21:35
0
answers

Pass gridlista information form1 to another gridlist on form2

Good morning, I'm breaking my head to add a line from a grid from my form1 to the grid of my form2. Below is my code to simplify my question. ItemVendaView item = new ItemVendaView() { Produto...
asked by 04.06.2018 / 14:03
0
answers

Register with repeated fields, how to do it?

I have a system registry that I am developing that will have repeated fields, I would like help in this implementation. This screen is called Sequence that has the following fields Date Sequence Number Lot Name = A side | Type |...
asked by 03.06.2018 / 17:16
1
answer

Run command as Admin C #

I'll get right to the point! I have a C # application and need to run a command in Cmd with Admin privilege. I need to enable SQL Server if it is stopped. public List<Atendimento> Pesquisar() { try { using...
asked by 04.06.2018 / 02:39