Questions tagged as 'c#'

0
answers

How do I add a button to a panel?

I need to add a button in my flowLayoutPanel when I click the add button (btnAdd). My Panel is called mainPanel NOTE: I was able to add, but I need to add the size of the other buttons. CODE namespace SlidingPanel { public...
asked by 19.05.2017 / 08:39
1
answer

Capture StackOverFlowException

I have a StackOverFlowException problem in an ASP.NET MVC application and I can not seem to figure out what might be causing this. I installed Elmah as suggested in another topic on the same problem, but it can not capture because the appli...
asked by 17.05.2017 / 02:01
0
answers

Consuming WEB API ASP.NET MVC 4 [ERROR]

I have a problem ... I put my web api in locaweb ... But if I use the link in the project, it does not work and returns me "StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content : System.Net.Http.StreamContent ". I though...
asked by 30.05.2017 / 23:35
0
answers

Change path of DB Compact Sql in Setting.Designer.cs C #

I made an application in which the sql compact file (.sdf) will be allocated on a network PC and I wanted to have the option to change the database path whenever I want. For all DatagridView to see this new path, I believe I would have to change...
asked by 31.05.2017 / 03:02
1
answer

How to fill INPI data in a .NET project

My question is somewhat conceptual. My company registered the software at INPI and received the protocol data, etc. How do I populate this data on my system? I noticed that in the AssemblyInfo.cs file I have fields that allow me...
asked by 02.06.2017 / 00:17
1
answer

Update Chart with data from a column in GridView

I have in my project a GridView where I manually enter data in the last column (index 7) and a PieChart that should be updated according to this last column, however, however much I can get the data from column I can not pass them to the Chart...
asked by 26.05.2017 / 02:36
0
answers

Remove row from table and set IDs

Greetings. I am a beginner in the database and wanted to know the correct way to remove an item from the table and update the identification number of the others. This is the typical rookie problem, which removes the item and unconfigures the...
asked by 21.05.2017 / 04:39
0
answers

Return View using View Data ASP .NET MVC

I'm a beginner on ASP Net and I'm in the "studies" phase, I wanted to know why my code is giving attribute errors. I'm using a POST method to send the attributes to a VIEW. The problem picture is attached. View from my home: @model PostGetM...
asked by 12.05.2017 / 17:08
0
answers

WindowsForm - How to add two DataGridViewButtonCell on the same cell?

Is it possible to add two buttons of type DataGridViewButtonCell in the same cell in a DataGridView? I researched a lot and so far I could not find any solution. Edit 1: For example, I wanted to add a button [Morning] and another [Late] on...
asked by 19.06.2017 / 15:12
0
answers

WebRequest Connection

I have a website ready, but I want my program to check the user login on the site. Basically it can register in both and access both with the same user (The site and the system uses the same database). But I'm not able to do this check by the sy...
asked by 10.05.2017 / 16:33