Questions tagged as 'c#'

1
answer

What are the reasons for migrating an application to a newer technology [closed]

I would like to know what you think about this? What are the benefits? Thank you.     
asked by 08.06.2017 / 00:06
1
answer

How to create the command line to update fields from the [closed]

I have a job to insert, update and delete. The insert and delete are working correctly. So I have a problem in the update code that would be this: cmd.CommandText = "Update carros set placa='" + campoplaca.Text + "', marca='" + campomarca.T...
asked by 30.09.2016 / 15:50
1
answer

How to leave the interface the way you want? [closed]

Hello, I started to study C # (and programming in general) a short time and when I got to the Graphical Interface part I saw that the code results were square boxes with no expressions. I would like to know how to basically do as you want, put p...
asked by 08.01.2017 / 07:24
1
answer

Push notifications ios [closed]

I would like to add push notifications to my app, I would like someone to explain to me how this whole process would be since data enters a SQL Server database and my app receives this data via api json and does not have access to the database....
asked by 09.07.2017 / 08:12
3
answers

How to put two actions with HTTPPOST

How to put two controllers with HTTPPOST [HttpPost] public ActionResult Index(string Nomel, string Utilizador, string Password, string PasswordC) { } [HttpPost] public ActionResult Index(string Nome, string Email, string Message) { }...
asked by 09.03.2018 / 12:55
1
answer

c # change source of picturebox

I have a table with 4 Image fields. I put a pictureBox and in the Data properties, in DataBindings, linkei it with one of the table fields, the image1 field, while executing the program is bringing right the image of the image1 field of the tabl...
asked by 23.08.2017 / 00:55
2
answers

Create an object reference in its own method

Problem I want to get the last digits of this string , so I used the Substring() method, however I had to use the variable "numero" again within the Substring() method. string numero = "123456789"; string final = numero....
asked by 13.12.2018 / 12:57
1
answer

I want to convert a list of any type to a generic type list? [closed]

I want a list of a certain type to become a list of a single type: examples List<usuarios> se transformar em uma List<T> I do not know if this is possible Or a Maize List turn a Lista<T> The reason for this is that...
asked by 05.10.2018 / 20:28
1
answer

Concatenate string [closed]

I want to concatenate the current day with the "0" character, but I'm not getting it. string diaAtual = DateTime.Now.ToString("d"); string diaFormatado = diaAtual+"0"; I need to do this to insert into a select that I'm using. Because in the...
asked by 03.10.2018 / 16:51
1
answer

Return customer data [closed]

Good morning, people, I would like to create a function, which returns the requested client, and its data, which are in 3 different tables Clientes , ClientesTelephone , ClientesEmail , I can add the client perfectly with my...
asked by 20.09.2018 / 14:05