Questions tagged as 'c#'

1
answer

Because I get DataSet does not support System.Nullable when setting data in Crystal Report?

I get an error with Nullable when I set the data to my Crystal Report As a data engine I use a model, it's the same model that receives the data and I set it to my Crystal Report namespace SistemaControl_API.Models { public class Get_IDD...
asked by 06.08.2016 / 00:36
1
answer

Create Id in a DataGridView

Hi, I have a DGV in which, through a button, I want to create its correlative code when I press the button private void btnNuevoClasificacion_Click(object sender, EventArgs e) { ClasificacionTalla ct = new ClasificacionTalla();...
asked by 30.04.2016 / 16:55
1
answer

How to know if I am in the last row of a DataGridView

When I want to check if I find myself in the last row, I get an error if (dgvClasificacion.CurrentRow.Index == dgvClasificacion.Rows.Count - 1) { dgvClasificacion.Rows.Add(); } Reference to object not establishe...
asked by 01.05.2016 / 01:36
1
answer

How to fill a datagridview with getProcess of c #?

How could you guide me on how to fill out a datagridview that I have on asp.net? <asp:GridView ID="GridView1" runat="server" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" ShowHeaderWhenEmpty="true" Width="646px"> <Co...
asked by 27.04.2016 / 19:12
4
answers

Initialize variables in the constructor

I'm initializing variables in the constructor, but I'm using UserControl the issue is that when I initialize variables after InitializeComponent (); I get an error that the object was not referenced, but when I initialize before InitializeCompon...
asked by 21.05.2016 / 03:54
2
answers

EntityFramework does not update some fields

I have a problem with EntityFramework-6, I am trying to create a "disconnected" entity to simply save the changes of the fields that I want. My context (DataContext.cs) has a member named Demos, and that entity type (Demo.cs) is derived from...
asked by 24.05.2016 / 23:08
2
answers

How to put a dropdownist in the edit method for mvc 5?

I have a problem adding a DropDownList , RadioButton and CheckBox in the edit method, I do not know how to put it in the view, or what I have to modify in the class or the controller The class: public class Bills {...
asked by 24.05.2016 / 17:36
1
answer

Financial markets [closed]

I am doing an application on financial markets that is, to buy and sell shares, etc. The problem is that I can not find a way to recover data from the actions (price, variation in%, etc.) and to update them automatically (what I've seen they rec...
asked by 10.02.2016 / 20:18
1
answer

Print with Win 8.1 without opening the print preview [closed]

I would like to know if anyone has had the opportunity to investigate how to print images by selecting them from the hard drive and without printing the image, using c #.     
asked by 16.02.2016 / 21:38
1
answer

How is a bulk insert to Oracle from .net with C # language? [closed]

How to make a bulk-insert from .net for an Oracle database.     
asked by 08.02.2016 / 16:39