Questions tagged as 'c#'

1
answer

Dynamic menu Asp.net c # Option does not appear

I have the following menu in a MVC 5 app in the _Layout.cshtml view <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li>@Html.ActionLink("Inicio", "Index", "Home")</li>...
asked by 26.11.2018 / 19:23
0
answers

EF6 query with Optimized Filters

I'm working in a Backoffice. My Problem "Queries with filters take between 40 and 60 seconds or more, I'd like to know if it's a Performance problem that belongs to my Query, or if the database is old, scant of Indexes, it worked perfe...
asked by 28.11.2018 / 00:05
1
answer

Change the color of a button permanently when clicking

I know how to change the color, but when I close the program the change is not saved. I would like the change to be seen when the program opens again. The code he used was this: private void btnA100_Click(object sender, EventArgs e) {...
asked by 24.11.2018 / 01:43
0
answers

Does not contain a definition for InsertOnSubmit

After receiving the data I try to insert them, however InsertOnSubmit sends me a message that says "DBSET does not contain a definition. BastionContext ctx = new BastionContext(); vehiculos_bastion us = new vehiculos_bastion {...
asked by 23.11.2018 / 23:34
1
answer

Load changes only if the button was clicked

Windows form I would like to see that if a button was clicked, it will change color, and when the program closes, it will be shown again but with the color changed. Only if you clicked on it. private bool Clicked; private void btnA100_Click(ob...
asked by 24.11.2018 / 19:23
0
answers

Where should I put the code in Web Forms

I'm new to the topic so, I tell you that I do not have much practice, I made a folder and within it are my Forms , so I do not know if that's where I should put the code, among them my menu bar or in Web Master , I hope and you have...
asked by 23.11.2018 / 16:18
2
answers

Operate with values obtained by Eval () in .aspx

I have a problem that I do not know if it has a solution the way I am facing it. I have a repeater where I binde through <% # Eval ('property')% > properties of an object, which has all of them, DateTime startTime and DateTime EndTime....
asked by 23.11.2018 / 18:44
0
answers

Running jar with IIS does not work

I am developing a .Net web application (C #). From the web I need to call a jar that sends print to a printer connected to the server. If I run it from Visual Studio it works perfectly, but doing the deploy in the IIS does not work for me. The c...
asked by 22.11.2018 / 19:18
0
answers

My application is only visible on the server, not on the IIS 8 intranet

It turns out that you create an application with ASP.NET MVC in the company to publish it on the intranet in the server windows 2012 IIS 8, at the time of publishing it with the ip address of the server everything works fine, but when I assign a...
asked by 23.11.2018 / 14:14
0
answers

How to make a Save As, for the user to select the route?

Good morning I'm using the algorithm I show below, which gets me some values and injects them into a Word letter and causes a new document to be generated, then that document is saved in a route that I defined and the code I stay in the followin...
asked by 22.11.2018 / 15:25