Questions tagged as 'c#'

1
answer

Socket Asynchronous C # receiving more than one message at a time

I'm developing a C # Dll that works with Asynchronous TCP Socket for developing some tools I'm working on, the problem appears when the client receives many messages in a short period, in which case the messages are in JSON, so the server sends...
asked by 16.09.2015 / 15:34
1
answer

C # MVC5 - Using OutputCache

I recently started to study OutputCache and its uses, due to its use in a corporate system. I'm using OutputCache to load all the menus a user (logged in) will have access to. However, I want every login to reload this method ag...
asked by 08.07.2015 / 17:08
1
answer

How to change the list type in Asp.Net MVC

How do I change this type of listing Forthistypeoflistbelow My View @model IEnumerable<MeuProjeto.Models.AlunoCurso> @{ Layout = "/Views/Shared/_Layout.cshtml"; } <h2>Aprovar Aluno</h2> <table class="table tab...
asked by 23.06.2015 / 22:07
1
answer

How to edit a Boolean field in a list in Asp.Net MVC

Well, I'm developing an application that manages Courses , and I have the following problem. On my Administrator screen I need the Course Name , Student Name fields and the Approved field that is a booleano field. This screen is w...
asked by 22.06.2015 / 23:03
1
answer

How to export ReportViewer to Excel while maintaining field types?

I have a report in ViewReport in VS2010 and when I export to Excel, the default VS button does not retain the fields format. This way I can not use Excel functions like SUM for example because all the fields are like Text. Has anyone ever had...
asked by 30.07.2015 / 15:50
0
answers

Pass values from a GridView to a database

I would like to know how do I get the values from a gridview in windowsform and pass it to my database in Access.     
asked by 30.07.2015 / 18:25
0
answers

Layout does not appear when program is run [closed]

I'm testing a code and I put button and picture box into windows form , but when I execute it, the button and picture box that I put is not displayed. I checked and the Visible property is as true ....
asked by 12.06.2015 / 20:19
7
answers

How do I remove accents in a string?

I have a string áéíóú What I want to convert to aeiou How do I remove the accents? I need to save in the database as a URL.     
asked by 11.12.2013 / 16:51
0
answers

RadioButton Grouping in Windows Form

Everyone says that just put a container object (Panel, Groupbox and etc) and inside it the RadioButton controls that the container groups. However, there is no way to work with the ItemIndex property, for example, because the Groupbox does not h...
asked by 15.07.2015 / 18:28
0
answers

Controller does not pass route value to ASP.NET MVC View

Based on my previous question: Problem with page return according to profile C # When accessing the system with another user with the "ADMIN" Profile, the controller return does not fall into the view and does not call the page route that shou...
asked by 24.06.2015 / 20:22