Questions tagged as 'c#'

1
answer

Reference with a yellow triangle, what does it mean?

When you have an exclamation mark, I understand that the reference is in trouble and needs to be removed / reinstalled. But with this little triangle, I do not know. I saw that the package is installed. If so, what should I do? See the screensho...
asked by 15.09.2017 / 11:57
2
answers

Change Order by Clicking the Tab Key

I'm using bootstrap on a project in C #, and when I click the tab key to move the fields the direction is right to left, and I wanted it to be the other way around, where do I mute it? Ex: When he arrives at the save and cancel buttons he will f...
asked by 09.12.2015 / 13:58
2
answers

Add @onchange in EditorFor using Razor

Hello, I'm trying to add @onchange to my EditorFor , so I'll have to add that field dynamically CURRENT LINE @Html.EditorFor(model => model.CEP, new { @class = "classe" }, new { @onchange = "myfunction(id)" } }) In my case, I...
asked by 10.12.2015 / 14:42
2
answers

Local database (serveless) not modifiable with update

Scenery: I'm developing a small application WinForm in C# to distribute to sellers to assemble their budgets faster and would like to store simple information such as budget issued and registered customers. Well, until today...
asked by 16.10.2015 / 15:18
2
answers

Which database is ideal for my scenario?

I am developing a commercial automation system (C # and Windows Forms) that can be installed on one or more machines on the same local network. I've also done the mobile part of the system, where you can place requests through any device th...
asked by 31.05.2016 / 06:11
2
answers

Vector gets method return

I'm putting together a program in C # and I've created a method called Supply that receives a vector called number and returns it. The idea is that the supply function creates random values, populates the vector and returns it filled for the mai...
asked by 30.05.2016 / 20:19
2
answers

How to read numbers from a txt file in C #? [closed]

This is an example file: 2 0.03159527 0.1990048 0.9794891 0.02173799 0.9969404 0.07508247 The first number indicates how many lines are, for each line there are always three numbers I tried to do something like this: Vector3[] Load...
asked by 21.07.2017 / 22:40
1
answer

Check character in Text Box to mark in a radioButton

I would like to know how to check if the filled-in letter in a textBox is A or B to as the result gives Checked to a RadioButton .     
asked by 15.03.2017 / 15:22
1
answer

Alert / pop up message in ASP.Net MVC

How to create alert or pop up to have the same effect as MessageBox in a web application? My code [HttpPost] public ActionResult NovaSolicitacao(Solicitacao pedidoSolicitacao) { pedidoSolicitacao.Usuario_Id = GetUser(); if (...
asked by 25.09.2014 / 16:48
2
answers

Is there a LINQ method that returns a default value of my choice?

Is there a LINQ method that returns a default value of my preference that fulfills the role of this method more efficiently? public static int? procurarIdPorCpf(string cpf) { using (Contexto context = new Contexto()) { if (cont...
asked by 17.07.2014 / 17:48