Questions tagged as 'c#'

0
answers

C # TreeView DoubleClick WindowsForms

private void treeView_DoubleClick(object sender, EventArgs e) { if (pRetorno == true) { if (treeView.SelectedNode != null) { pOc = new OcorrenciasCategoriasDAO().Buscar(Convert.ToInt32(treeView.SelectedNode.Tag...
asked by 27.05.2015 / 14:29
0
answers

Stream the computer screen with C #

I'm having a problem with the computer screen stream with C #, I already did the software where the server created a TCP socket and the client sent a print of it in Bitmap form. But the problem with this method was that with a lot of client conn...
asked by 25.06.2015 / 21:37
1
answer

Show content in textboxfor

I would like to know how to display the value of a property within a textboxfor . I have the following code: @model Calcular.Models.Conta @{ ViewBag.Title = "Somar"; } <h2>Somar</h2> @using (Html.BeginForm("Action", "Conta...
asked by 23.03.2015 / 20:06
0
answers

How to call Projects added as reference in C #

I have several projects and I want to make a form with buttons and call them. Searching vi I can do this by adding another project as a reference, so far so good, more how to do after adding the project as a reference? How do you call it with a...
asked by 11.05.2015 / 19:08
0
answers

How to know the number of subscribers

In C # I will develop an application to control views and subscribers of my channel ... I tried to enter this code: static long Inscritos(string youtube_addr){ var wb=new WebBrowser(); wb.Navigate(youtube_addr); // Sendo http://youtube.com/...
asked by 18.03.2015 / 00:19
0
answers

Exit modal after return of result

After deleting and returning to index ... [HttpPost] [ActionName("Delete")] public ActionResult DeleteConfirmed(int id) { _unitOfWork.UserRepository.Remove(id); _unitOfWork.Salva(); return RedirectToActi...
asked by 26.03.2015 / 02:22
1
answer

How to print an RDLC report in ASP.NET

I have rdlc created, and I have a page aspx that has a print button, when I click print I want to call the rdlc that I have created for printing. How do I?     
asked by 04.05.2015 / 18:47
0
answers

How to fetch a list of classes contained in a C # Class Library using Mono with C ++

I'm using C # to script through the Mono project with C ++ . I'm trying to fetch a list of all the classes contained in a DLL made in a C # project (which is a Class Library project).  But I'm not finding a solution. I'm researching the...
asked by 04.05.2015 / 19:42
1
answer

iTextSharp - Dynamic table

I'm trying via C # and with iTextSharp create a pdf doc with the following structure: I have a table with 3 Rows In the 1st I have X columns with X years. In the 2nd a Row with the Months (J, F, M ... etc) for each year, below I have another Row...
asked by 05.05.2015 / 18:53
1
answer

Store List in ViewState

I want to build a list of strings and save them to a viewstate, and use them later. Ex List<string> listaNomes = new List<string>(); foreach(var algo in TesteList) { listaNomes.add(algo.id); //salve essa lista em ViewState } I'm...
asked by 12.03.2015 / 19:03