Questions tagged as 'c#'

1
answer

Empty a .txt file once the file information was registered in the database in c #

Hello please your help since I am new in this .. I need to empty a file .txt or file.csv at the moment of saving the information of the file .txt or .csv in the database     
asked by 05.07.2017 / 16:02
3
answers

Write mail (Mailto) from the client on the server. Eval does not work

I'm trying to place a button on Grid . All correct if I put an email by default. The question is that I want to place each of the rows that corresponds to it (there is already a column with that email). In this case if it works: <d...
asked by 30.06.2017 / 06:38
1
answer

Visualization of a table in asp.net mvc html

Good, I have an index view generated automatically by the controller in C #, I need to show some photos in a table and every 4 columns a row is generated automatically, but I can not do it, it just shows me the run photos creating columns and no...
asked by 30.06.2017 / 15:23
2
answers

Call variable of a click event

Is it possible to call the variable of a click event, in another click event? If possible ... How do I do it? Vera, I have created an event and within this I have made buttons dynamically, I have assigned the same event to them to do the s...
asked by 30.06.2017 / 19:26
2
answers

Equivalences of SETTING of Vb with C # (change connection string)

I keep trying to pass my code vb to c # , with the help of you I managed to advance a little, now I am in this situation: mCnxSifco is the variable of my setting that stores my connection string in the project. This is my co...
asked by 23.06.2017 / 05:57
2
answers

Can a dropdownlist be filtered according to the letters that you enter?

I have the following DropDowList <asp:DropDownList ID="DropAgent" runat="server" CssClass="form-control"></asp:DropDownList> That filled in the following way with c# IList<mg1DAO> resultList = new List<m...
asked by 29.06.2017 / 20:34
2
answers

How to use the text stored in one variable as the identifier of another variable [closed]

There is some function that I can use to tell the program that the text within a variable is a reference to an object that I want to instantiate so that it looks for that object using that text as an identifier of it The language I'm using is...
asked by 19.08.2017 / 03:28
2
answers

Update activity with changes in adapter Xamarin android

Good morning. I would like to know if it would be possible to update the parent activity that contains an adapter when an event occurs in it. I explain in a little more detail: I have an activity that loads an adapter with a series of info...
asked by 18.08.2017 / 12:08
1
answer

fileUpload does not load anything, does not throw errors

This file upload, does not load the file, does not throw an error, does nothing, just blink! and it was assumed that loaded, in the 4 labels that I put to verify the load does not throw anything either, it only appears: Label Label Label Labe...
asked by 18.08.2017 / 13:47
1
answer

Unable to find link string Entity Framework

I miss an error using entity framework and I can not find it. The project I am doing is divided into 3 MVC layers, which in the data layer I have the model of the database and the connection and in the business all methods; but when I want to br...
asked by 18.08.2017 / 12:04