Questions tagged as 'c#'

1
answer

Get values row selected ListView

I want to get the information of a selected row of ListView to pass them to an object with the same (and other more) fields. I tried with SelectedItemTemplate (since SelectedItems does not appear to me) but I can not index it (or index it...
asked by 15.03.2017 / 16:05
1
answer

Error: We could not find the file. Is it possible that it has been moved, renamed or deleted? [closed]

I have a project in asp.net C #, I want to create a Word document with the data that the user entered in the Web Form. It gives me a route error: Sorry, we could not find the file. Is it possible that it has been moved, renamed or deleted?...
asked by 06.03.2017 / 17:23
1
answer

Error in cycle For, take me out without warning

Currently I have an image fix of PictureBox and I want to go through it to apply an image to the images that are after this month, each image represents a month and I already made the cycle for : Cycle for : for (int MesE = Conv...
asked by 07.03.2017 / 23:36
1
answer

filter data in datagridview c # window form

Good, I would like you to help me, I am trying to perform like a search engine in my Texbox.  I will explain. what I want in my texbox to write my first surname and in the datagridview Exit all those that start with that last name. Error gene...
asked by 22.03.2017 / 02:10
3
answers

Open an Excel File on asp.net

I have the following problem: I want to open an Excel file when I press a button; the file is in a shared folder on a server. When I'm programming in my localhost , if it works with this code: protected void BtnChk_Click(object sen...
asked by 07.03.2017 / 15:46
2
answers

Problem with FileStream in C # (Access denied to the path)

Buen día tengan ustedes. I have the following problem, I use Visual Studio 2013, I have created a system where the basic operations are done (search, delete, enter), linked to a database created in SQL SERVER 2008. The problem is when I trie...
asked by 23.02.2017 / 17:50
1
answer

I can not open a form more than once from another form

In my project I use mdiParent, I have an open form with showdialog () and from this I invoke another form, the problem is that it only lets me do it once, that is to say I open it for the first time, I close it then I try to open it again and it...
asked by 23.02.2017 / 20:58
1
answer

Get the Boolean of a DataGridView

Good morning! I have my dataGrid that is filled with data from my database and I made an additional column of type checkbox so that certain marked orders are billed. But what happens to me is that I have to update an LBL according to the selecte...
asked by 21.02.2017 / 16:24
1
answer

UpdatePanel Instance

I have a little doubt, can you instantiate in some way (or something), to call a Panel, updatePanel, div from a master page from another normal page? Let me explain myself: in the master page I have an updatePanel (inside a panel) with a smal...
asked by 21.02.2017 / 13:05
2
answers

how to avoid data duplication

I need that before executing the data insertion to sql that I am consulted if there is the same data in this case I have a field called cedula which is the one I intend to use for the verification but I do not know how to perform the query...
asked by 12.06.2017 / 22:41