Questions tagged as 'c#'

1
answer

How to deserialize XML in C #

I am making an addendum for an XML, I go through the file with a split but I have heard that good practice would be to deserialize. How do I go through the xml and transform it into an object to manipulate it?     
asked by 18.10.2016 / 19:17
1
answer

Set DateTimePicker start date always Monday C #

I am developing a Windows Forms application in C #. I have a DateTimePicker that I will call dtp1 . It happens that what I need is that this dtp1 always have the date on Monday of the current week. That is, If today...
asked by 07.10.2016 / 00:55
3
answers

How to know if a page receives a post

On a page .aspx ( detail_page.aspx ) I have a code like this, now lower add an HTML form with action to the same page. How can I know if the page is receiving the post or NOT? The goal is if you receive the post execute a code and if you d...
asked by 30.09.2016 / 14:07
4
answers

Illegal character in output

I have an application that exports the result to me in a .csv file. The export makes several project names, one of those projects has the tag name in HTML <b> . When trying to create this file, I get an illegal character in pat...
asked by 17.10.2016 / 17:00
1
answer

Transparent windows, create transparent Form

How can I make a transparent but not so controls (TextBox, Label, Button, etc) that has been added to the form , with C # .     
asked by 07.09.2016 / 20:41
3
answers

Download or save file to the client from ASP C #

In ASP.NET with the C # language. I need to somehow make my application download or preferably save on the client side an XML that is generated in my application.    In other words, in a "Download" or "Save" button you can download the X...
asked by 11.11.2016 / 23:18
2
answers

Bootstrap stops Accessing an Input after Setting Runat="Server" ASP.net C #

I have a input : <input type="text" class="form-control pull-right" id="txtRangoFecha" runat="server"> When I put Runat="Server" to this object jQuery , it stops accessing and the calendar never leaves again, and th...
asked by 11.11.2016 / 20:44
3
answers

How to remove characters in a string string in C #

I have a problem cutting this string string . I get it by scanner, but the scanner pulls out prefixes and suffixes and I want to eliminate them. The code works for me with a string like this ~200|12345678~ and returns 12345678...
asked by 11.11.2016 / 21:16
2
answers

How can I do an SQL query that only shows me a record in a datagridview [closed]

I have my crews form where you are adding personnel, but when they are shown in the datagridview, I do not want them to show me all, but only one record per page. Here is an example of this:     
asked by 07.04.2017 / 17:30
3
answers

Authentication window IIS ASP.net

Good I would like you to help me I was developing a window authentication with the asp.net language, the question is if it works and when I enter the page I get the name of the user that is logged in. The problem is that when I upload my pa...
asked by 04.04.2017 / 15:23