Questions tagged as 'c#'

2
answers

How can I just upload the contents of a List

I have a Web service in which the result is a <List> . I can get the result without problems. What I'm looking to do is just show me the result depending on the value of the result is equal to 1. Here is the structure of the Web s...
asked by 25.01.2017 / 17:25
1
answer

How to get the return value using LINQ from an XML file

I have an application which calls a web service. For this I am using LINQ. What I want to do is the value of 'Caption' come from an XML file in which I pass as a parameter. When doing the debug I see that the parameter passes well, but it...
asked by 18.11.2016 / 15:34
0
answers

Printing with printdocument and printpreviewdialog c #

Good day I'm printing the contents of a richtextbox, this in a printdocument and it shows a preview with a printpreview dialog, the problem is that I printed all the contents of the richtextbox in a single line, I would like to know if there is...
asked by 16.11.2016 / 19:39
4
answers

Show more current data in a datagridview

At the moment of clicking the radiobutton "Current" I want the datagridview only to show me the most current data of the line that I select in the combobox. When I run the program it gives me the following error: Incorrect syntax near '11 -2...
asked by 28.11.2016 / 20:50
2
answers

Protected Overide - Custom TextBox

I have a problem with a custom TextBox control that I created and to which I added several events, among which is the KeyPress in which I used currency format, until then everything works fine. My problem is that when I want to add specific...
asked by 29.11.2016 / 16:43
1
answer

Assign data to a DataGridView

Hi, I am trying to assign data to a DataGridView by means of a list, but I only manage to pass data to it once, but I need that when adding several records to the list I will load all those assigned to the list and assign the list to the DGV....
asked by 05.11.2016 / 00:06
1
answer

wcf service HttpClient encode url with quotes

I need to send a parameter that includes the "[" character to a WCF service. Although I first encode the parameter, when I look at the detail of the url, the character encoding "[" has disappeared. Any idea what it can be? string parameter = S...
asked by 29.10.2016 / 11:47
1
answer

Error using HttpModules in ASP.NET

It turns out that I'm using httpModules to handle the AuthenticateRequest and AuthorizeRequest events in the application. In the web.config I have it linked in the following tags: <system.webServer> <modules> <add t...
asked by 02.11.2016 / 16:46
1
answer

Button inside Navbar asp.net

Hi, I'm new to web programming and I'm making inroads into the MVC and BOOTSTRAP world. I have this code in which I want to put a button instead of a link in the navbar that comes by default in ASP.NET, I would like "Register" and "log in...
asked by 01.11.2016 / 03:15
1
answer

Manage a list of items with images

Good morning My query is the following one I would like to know how I can do to move by a list, object by object showing me the information registry by registry. I mean, I have my first actionResult that receives the information to generate t...
asked by 01.11.2016 / 21:44