Questions tagged as 'c#'

1
answer

Minefield, random bombs

Good afternoon I'm having a problem using the random method to try to show only 10 bombs in my mine field, except that it appears without limits. Does anyone know where I'm going wrong? using System; using System.Collections.Generic; us...
asked by 05.11.2015 / 19:03
1
answer

Difficulty in passing a parameter to an rdlc that I have (Oracle)

I can not pass a parameter to my report. I have a field called Regulated, referring to the Ind Regulated field. see the code below and how do I make this filter? public static void Emitir() { //Relatório com Data...
asked by 04.11.2015 / 13:56
1
answer

System documentation on conversion [closed]

I'm in the process of converting a system in Delphi to C # using the SCRUM methodology, so far there is no documentation of this system. So I would like to know what they indicate, I do not need very technical documentation like diagrams and...
asked by 15.04.2016 / 13:26
1
answer

How to create events dynamically? W#

I am doing a project of a statistical calculator, in it I made a method that creates tabs in a tab control and within them a datagridview to display the different tables generated by the program. I need an event that auto-populates datagrid c...
asked by 16.04.2016 / 17:11
1
answer

Transform a content into an image

I'm creating a Windows Forms project to help my company generate automated email signatures for our contributors. I have in the case a single windows forms that contains a Tab Control, with Data and Preview. In the preview tab there is a Pict...
asked by 18.04.2016 / 16:33
1
answer

How to save pdf generated by reportviewer to disk at runtime?

I'm doing a series of reports which I need to generate the PDF and save to the server for the user to download. I can not use atatchment mode and inline mode. Because the user has the option to create multiple reports and download...
asked by 09.11.2015 / 17:16
1
answer

NullReferenceException: Object reference not set to an instance of an object MotionController.FixedUpdate

I'm following this unity tutorial: link This was going well to the test site to see if I'm touching the ground or not. After doing the verification and trying to run the project appeared this error:    NullReferenceException: Object refe...
asked by 14.12.2015 / 17:22
1
answer

Code that leverages decimal value in C # for Java / Android

I have a code that rounds a value of type decimal to homes I want, and I would like to implement it in Android in Java but I'm having some difficulties, here's the code below in C #. public static class Valor { public static decimal...
asked by 16.12.2015 / 18:37
1
answer

Updating a datagrid with connection to mysql

I can not update a table from a database linked to a datagrid. When I change the data in the cells of the datagrid, although they appear changed during the debug, at the end the table is not updated. Does anyone know what's missing in the code?...
asked by 16.12.2015 / 11:22
1
answer

How to bring the fields name and type from an oracle table in C #

How do I get the name and type of fields in a table, using Oracle and C # (WPF)?     
asked by 17.02.2016 / 18:05