Questions tagged as 'c#'

2
answers

Move picture (PictureBox) in form

How to move an image into a form windows form. I used the following code: private void button1_Click(object sender, EventArgs e) { int tamanhoFundo = picFundo.Width; int x = myPic.Location.X; int y = myPic.Location.Y; while...
asked by 05.01.2015 / 19:24
2
answers

Ignore point in a Query

I'm trying to run the following Query: select codigo from cliente where codigo ilike '%99.999.999%'; I found that by putting ilike , it would ignore everything, points and accents but I was wrong. In my system, I have a query scree...
asked by 31.07.2015 / 15:08
1
answer

Has Issue in My C # Nils Video Script (On Board Manager)

Nils, or someone who knows how to respond to me, there are several errors here on my console tab, I'm new to this area and are talking about errors with)]} and basic programming stuff! please help me solve this! I need a lot. This is the vid...
asked by 22.07.2015 / 05:49
2
answers

What is the best way to add a static method to an existing C # class?

I'm creating a restfull application that uses the Newtonsoft library to send information through controllers . In my application, I have numerous classes like for example the user: public class UsuarioModel { public int Id { get; set;...
asked by 23.11.2018 / 14:54
2
answers

Errors Script C # Unity3D 5.2.0f3! Errors with RigidBody2D

I'm having a problem with a C # code I'm using to make a game on Unity3D Version 5.2.0f3 This Code I picked up on a video of Playing with Nils (Youtube Channel that teaches you how to develop games. This is an error when setting the Comm...
asked by 12.09.2015 / 19:46
1
answer

Exchanging Html.Action () for an Ajax request

I have a method that returns a ActionResult called through a Html.Action() directly on View using Razor . This method is used to render a ComboBox of devExpress with the data that I send from a SQL...
asked by 17.12.2018 / 11:28
1
answer

Pass value from a select to Html.BeginForms - Asp .Net

I have this element <select> : <select id="status" class="form-control form-control-sm" name="arquivo" > @{ foreach (string valor in ViewBag.ListaArquivos) { <option value="...
asked by 13.12.2018 / 14:05
1
answer

Date value coming from JsonResult function 18/11/2018 00:00:00 javascript receives "/ Date (1542506400000) /" [duplicate]

I'm having trouble receiving a JsonResult function that returns me a certain date and this date I'm not able to move to the Date field of my screen for reasons other than the formatting of the field. The function C # JsonResult...
asked by 30.10.2018 / 03:44
1
answer

Nothing else 'csc' works on Mono

Mono is a set of build tools. Before and after version 5.0, Mono tools never worked, except% with%. To clarify, although the version is not related to the problem, since the version 5.0 Mono integrated .NET tools such as csc , msbuild...
asked by 28.10.2018 / 12:14
1
answer

How to manipulate and submit data through GET and POST? [closed]

I have a web application and need to access an external url that has login and password. Subsequently I must fill out a form, submit the data and receive the return on my application! Is it possible to use HTTP web requests from C # (GET, POS...
asked by 04.10.2018 / 14:54