Questions tagged as 'c#'

2
answers

WebServices with C #, do de-para

I need to create a WebService to export products. Creating the WebService is fine, but depending on the client, I will have to change the name of the elements. Example, Product Code element: Generic <codigo>1</codigo><d...
asked by 17.07.2015 / 15:45
1
answer

What are the differences between these NuGet packages?

I use the JavaScriptEngineSwitcher.Msie package in my webapps in asp.net mvc, I found 2 more JavaScriptEngineSwitcher packages what the difference between them What are the pros and cons? JavaScriptEngineSwitcher.V8 JavaScriptEngineSwitche...
asked by 17.07.2015 / 16:41
1
answer

How to capture text that another console program writes on the screen

My Windows Forms program runs another console program. This second writes messages on the screen during execution. I want to know if it has to prevent the execution of the other program from opening the console, and instead the printf of the oth...
asked by 10.07.2015 / 19:47
2
answers

Object reference not set to an instance of an object

I know the question is a little subjective, but maybe someone has already gone through it and can help me. I have an application developed in C # / Windows Forms / ADO.NET with firebird database. The "Object reference not set to an instanc...
asked by 16.03.2016 / 15:24
3
answers

Return the Id of table 1 and insert in table 2 in the same code

Next, talk with 2 tables (Group1 and Group2), so I have a form that has several fields that will be inserted at the same time in these 2 tables. But I need to insert into the Group2 table the Id of the Group1 table that was just generated in tha...
asked by 15.03.2016 / 15:32
1
answer

How to use the GitHub API in ASP.net

Good afternoon. I would like to know how to work with the gitHub API in ASP.NET. I've never worked with APIs before. PS. I can not use octokit Can anyone help me? Thanks     
asked by 26.11.2015 / 20:33
1
answer

Repeat loop with paired and sequential output

How can I generate this list in sequential pairs: Array = Itens.text.Split(","[0]); int qnt = Array .Length; for (int i = 0; i < qnt; i++) { TextBox.Text = Array[i].text; i++; TextBox.Text = Array[i].text;...
asked by 30.07.2015 / 17:09
1
answer

C # MVC5 - Table with CheckBox and Different Actions

I'm working on a project where I have a page that lists some records, of which I'll 'thumb' some to perform batch actions, such as exclusion, status change, etc. How do I send this list of my records to different actions? My list is built l...
asked by 30.07.2015 / 19:24
1
answer

Change file extension in C #

With an Openfiledialog I'm opening a file, and I want it in Load, change the extension. That is, I'm going to put the "openFileDialog1.Filter" would be just for ".txt" and I want it to change to ".cnf". Thank you.     
asked by 25.06.2015 / 10:37
1
answer

DropDownList in Cascade MVC 4

View: <asp:Content ID="Javascript" ContentPlaceHolderID="HeadContent" runat="server"> <script type="text/javascript"> $(document).ready(function () { $("#estados").change(function () { va...
asked by 23.06.2015 / 14:44