Questions tagged as 'c#'

1
answer

ASP.NET Core - Search for GET requests [closed]

I'm using ASP.NET Core 2.1 Web API and I need to perform searches for a certain type of field, ie on my front I can choose the field I want to do the search and my back end needs to get that value. [HttpGet] public ActionResult<ResponseResu...
asked by 30.07.2018 / 13:43
0
answers

How to create an object in the exact location of a coordinate?

I have this method that is called when I click on ImageView private void _imgRoute_Touch(object sender, View.TouchEventArgs e) { if (_examStarted) { if (e.Event.Action == MotionEventActions.Down) { float x = e....
asked by 27.07.2018 / 22:21
0
answers

form does not upload file for upload

I have a form that I need to upload to an ftp. When I put it down the form does not load file. <form id="frmEnviar" name="frmEnviar" data-ajax="false" method="post" runat="server" enctype="multipart/form-data"> </form> Alrea...
asked by 30.07.2018 / 19:59
2
answers

PostBack removes selected items Multiple DropDownList

I have a static Multiple DropDownList (ddl1) on my aspx page. It has 4 options, from which 0 to 4 options can be selected. Another DropDownList (ddl2) that is also static on the form has the OnSelectedIndexChanged event and when this event is tr...
asked by 31.07.2018 / 15:25
0
answers

How to receive a data parameter WebAPI

I get an xml in my webAPI and deserializo it. What I did, I got the exact template of the XML that I'm going to receive and I make a call on my service locally, just for the test effect. So long, I can get the fields I need. However, when I p...
asked by 31.07.2018 / 15:10
2
answers

C # - DataGridView does not change DefaultCellStyle.BackColor property sent from a class to the Form

I'm having a question in C # regarding DataGridView. In this scenario I have a Form where I run a Datagrid bringing information from another class. After the data is loaded by the Datagrid.Datasource the Grid is displayed on the screen withou...
asked by 02.08.2018 / 19:45
0
answers

Error 1053 The service did not respond to the start or control request in a timely manner

Hello! I did a windows send service and emails, however I'm getting error 1053 when trying to start it. I looked at various articles and forums and could not solve the problem. Could anyone explain to me what it could be? Follow the code. Ser...
asked by 26.07.2018 / 14:00
0
answers

Field rounding value in sql write with C #

I have a problem with writing a decimal field (18,2) in the sql database, I am passing the value of 11.5, and it is writing to the 12.00 bank. I am working fields in Decimal (18,2). How can I fix the problem. Follow the pictures followmycod...
asked by 25.07.2018 / 19:23
0
answers

How do I verify that the user has completed the video in AdMob for Unity?

Code: using UnityEngine; using System.Collections; using System.Collections.Generic; using GoogleMobileAds.Api; using UnityEngine.UI; public class AdmobScript : MonoBehaviour { int CoinOld; public Text coins;...
asked by 25.07.2018 / 15:35
0
answers

Performing Search in SharePoint by Asp.net form

Well, I'm using SharePoint as a file database, but I'm having trouble searching a document in folders. I'm using .NET CSOM. protected void Pesquisar_Click(object sender, EventArgs e) { //Setando as credenciais share...
asked by 25.07.2018 / 16:16