Questions tagged as 'c#'

0
answers

I have visual studio 2015 but it does not allow me to use the reportviewer of the toolbox

When I select the Report viewer in the toolbox and drag it to the window form, I have not tried it several times.     
asked by 02.12.2017 / 22:57
1
answer

Save changes in SQlite after CellEndEdit c #

My doubt would be which method I can use for, after modifying a cell of a dataGridView, using the CellEndEdit event, update my database in SQlite.     
asked by 26.12.2017 / 10:52
1
answer

because my modal appears fast and "disappears"?

Hi, I have a project in ASP .NET with C # I have a form to change my password, and for that I have a modify button in which when I click on it, it should show me a modal where a message appears that the password has been modified and a button wh...
asked by 05.03.2018 / 18:52
0
answers

How do I apply DFS (Depth FIrst Search)? - C #

I have to apply the DFS algorithm (depth first search) taking into account that I have the following vertices    Alpha, Beta, Gamma, Delta, Epsilon, Zeta, Eta, Theta, Iota, Kappa and I have the following edges in a matrix    0.76000,0,...
asked by 01.12.2017 / 05:28
1
answer

The best way to bin the ownership of a ViewModel in post

Good morning, The idea is the following: I have a project in ASP.NET 4.6.2 following the MVVM pattern, I have my ViewModel class that represents the page and one of the properties of that ViewModel is an object that has another object as its...
asked by 01.12.2017 / 03:15
3
answers

c # instance of classes doubt

introducir el código aquí class Program { static void Main(string[] args) { myclass obj= new myclass { I = 1234, Ia = "string text" }; Console.WriteLine(nuevo.Ia);// output "st...
asked by 30.11.2017 / 15:41
0
answers

Save PDF to a C # directory

Good afternoon everyone, looking for your support to be able to save a PDF file in a selected directory, I have the following method in which I can already see the directories and select the file, if someone can tell me how to solve it, in advan...
asked by 21.11.2017 / 21:07
2
answers

Add data to a one column of a DataGrid C #

Good, I have problem when adding a data to a specific column of a datagrid in C #, I get an error that says: foreach (double inter in intervalo) { if(nAle >= (double)intervalo[2*i] && nAle<=(double)intervalo[2*i-1])...
asked by 26.11.2017 / 18:56
1
answer

how to insert a dataset into a gridview

I'm trying a DataSet to a GridView . I have guided myself with some internet examples This is part code behind and when executing it shows me the following error:    Fill: The SelectCommand.Connection property has not been ini...
asked by 19.11.2017 / 02:48
1
answer

How do I duplicate Panels or create new Panels?

I have a form, in that form I want to buy the purchased products and their characteristics in different panels, I mean, every time I add a new article I want a new panel created. I have tried to instantiate a new panel and give it the characteri...
asked by 19.11.2017 / 01:26