Questions tagged as 'c#'

1
answer

with WPF in c # I'm new and I want an observable list with ObservableCollection

Private _ListaCategoria As New ObservableCollection(Of Categoria) This is Visual Basic. How would the statement in C # be an observable collection or a list?     
asked by 28.05.2017 / 16:20
0
answers

how to remove a row from a gridview

I have 2 gridview on a page, the first is filled from a database and the second filled with the rows that I select in a checkbox, in each row of the gridview I have a button linked with a method to eliminate that particular row <asp:GridVie...
asked by 14.05.2017 / 02:37
1
answer

Use of Sessions in C #

I am working on a Web project and I implement Sessions for the user login that changes the view depending on the role of the user, but I have the problem that the view changes when it is a single user of all there is, I made tests and the us...
asked by 14.05.2017 / 03:49
1
answer

Xamarin Forms Local Webview

I am trying to load a web application (Readium) in a Webview with Xamarin.Forms locally. As a target I have UWP, Android and iOS. I can not get the page index.html open, I have embedded the Web in each of the projects, according to link but...
asked by 16.05.2017 / 18:00
1
answer

Copy the image Captcha to a picturebox C #

I am doing a small program that only serves to open a session on a page, but I would like to see the captcha code that shows the same in a PictureBox of my program. Is this possible? : huh: I already know how to make what I enter in a Textbox...
asked by 15.05.2017 / 18:19
0
answers

Insert record from c # to sql send TextBox1 nullReference

I need to know why my code does not work, on previous occasions it worked perfectly but when creating a new project I was sent an error that I do not understand because it happens the code of the function is the following: public void inse...
asked by 16.05.2017 / 19:31
0
answers

DataGridView filter and sort columns

I would like to be able to filter and sort columns of a DataGridView, just as it is done in Excel. Could you indicate if this should be done by programming, for example to filter: Include an arrow in the Head of the Column and there put an event...
asked by 16.05.2017 / 22:33
1
answer

ReportViewer with null values

I generate a report with area, Type, and two dates within which the area and the type can contain or not values, with the four parameters works correctly, but how can I get the query executed correctly when the value is null? ? Thanks!...
asked by 16.05.2017 / 18:55
0
answers

Join 2 graphs in c # with different scale

Greetings to all, can anyone help me with this question please? I have an application developed in C # that shows me on the screen bar graphs. I need to work them and join them through different scales, I have only worked with one scale, therefo...
asked by 16.05.2017 / 19:16
0
answers

Save and export a txt to a network drive

I managed to save it in a specific folder, but at the same time it is staying in the download folder and I do not know how to remove it so that it is only saved in the path I am passing through using (SqlCommand cmd = new SqlCommand( "select *...
asked by 17.05.2017 / 12:03