Questions tagged as '.net'

1
answer

System architecture doubts [closed]

Good afternoon, I have to change the system here of the company, and it will get more complex. We are a construction company, each work we work on is pre-budgeted, when the buyer is going to add an order, the system has to check if there is a pu...
asked by 25.02.2016 / 21:26
1
answer

How to get these lines and blocks?

I'm creating a parser of a language I'm developing, I'm having trouble separating lines and blocks from code, here's the code I use to return the lines: Friend Class Splitter Public Itens As New List(Of String) Private CurrentIndex As...
asked by 13.02.2016 / 01:58
1
answer

Problems with Linq XML using .net namespace

I'm using a namespace when I create my xml, but xmlns is also appearing in the below-root tag, this is damaging to me, how can I make xmlns stay in the root tag (TLote_GNRE)? Here is the code: Dim xDoc As New XDocument(New XDeclaration("1.0",...
asked by 28.12.2015 / 13:00
1
answer

Thousands separator

How could I put thousands separator in a textBoxFor() ? Example: Value entered in View 1.321 (The point is only to facilitate visually) and the controller would receive the value 1321 to insert into the base. My field is...
asked by 21.12.2015 / 18:21
2
answers

DropDown field increment

Well, I have the following problem. I have to use a function in JavaScript or JQuery to add new fields to populate and save in the database. In these fields I have to use a DropDown, but I do not know how I'll get the data from the database....
asked by 16.12.2015 / 18:26
2
answers

DropDownList calls the page load

I have a dropdownlist that takes data from the sql server database. I load this dropdownlist into the page_load within a if(!IsPostBack){} and from what I noticed from !IsPostBack , it only goes in there if it is the first t...
asked by 22.10.2015 / 23:15
1
answer

Get all connections related to an IP

Is it possible to get all the ips that are connected to an IP in Visual Basic? For example, I get the IP of all players who are connected to a server in a game. I tried the variable System.NET.IPHostEntry.Aliases but it did not return any...
asked by 26.09.2015 / 08:28
2
answers

Error when forcing XML file download C #

I have a list of invoices where I can download XML, but there is a company server below the XML file that comes with the HTML of the page. The XML download code works normally on all servers where the application is installed except on that clie...
asked by 25.09.2015 / 22:29
1
answer

Data conversion error

I can not open my user control form. private void usuáriosToolStripMenuItem_Click(object sender, EventArgs e) { Usuarios USU = new Usuarios(); sNome_usu = Status_Label_Usuario.Text; USU.iAcesso_Usuario = Convert.ToI...
asked by 07.11.2015 / 12:30
2
answers

DropDownList in views asp.net mvc error in validation

In view razor of asp.net mvc I have a dropdownlist with the following code: @Html.DropDownListFor(model => model.Banco, (SelectList) ViewBag.Banco, new {@class = "form-control"}) Even if you select the value, when it...
asked by 11.01.2016 / 13:10