Questions tagged as 'c#'

0
answers

Concatenate ".jpg" to a Binded value

I have this line on a website made with c #, <p><asp:Image id=Imagen1 runat="server" ImageUrl='<%# Bind("Id_producto") %>'/> </p> And I need the ImageUrl value to be the data that comes from Bind, plus the .jpg ext...
asked by 16.09.2018 / 13:37
1
answer

How to send email with attachment in Xamarin.android?

I am developing an App in Xamarin for android which generates a PDF that is saved in a hidden folder of the device. I currently use a WebService to send the email but it does not arrive with the attached PDF. I'm using a WebService...
asked by 20.09.2018 / 13:45
1
answer

Redundancy of classes

I have a question! .. The fact is that I have several classes related to entity F. and each class does the same for each object. List, save, modify search ext. How can I do it to simplify it in a single class? Thanks!     
asked by 15.09.2018 / 22:35
1
answer

A detail when loading an external project in windows form

I am implementing a blocking in the application when there is some inactivity, I found a demo, and I copied the necessary project to be able to implement it but when I started the windows form application I realized that the next name was loaded...
asked by 18.09.2018 / 16:37
0
answers

problem in Unity, this code freezes the play mode after the first moved piece, how could it be fixed?

IEnumerator ClearAndRefillBoardRoutine(List<GamePiece> gamePieces){ m_playerInputEnabled = false; List<GamePiece> matches = gamePieces; do { yield return StartCoroutine(ClearAndCollapseRoutine(matches)); y...
asked by 09.10.2018 / 16:12
1
answer

Count method of file type BYTE

It turns out that I have a problem. I can not do the Count method in a Linq query. It's about counting a data defined as BYTE in the database and I can not show it in the view, it returns 0 , null or all values, but...
asked by 09.10.2018 / 14:16
1
answer

Show result of 2 stored procedures in a view

Hello everyone I am new in the development world with asp.net, I want to show the result of 2 procedures in one view. public List<prodUnidad> Detalle_Producto(string codigo) { List<prodUnidad> detalleProducto = new List...
asked by 17.09.2018 / 01:17
0
answers

How to recover the Crystal Report line object?

By mistake delete the Crystal Report line control and I do not know how to recover it. I already tried reinstalling the Crystal Report developer and it remains the same.     
asked by 17.09.2018 / 21:04
1
answer

C # - Scroll JS / JQuery after an OnClick event

I have a linkbutton with an onClick event that does something in code behind, but I would like it when I return to execute the on click event, there would be a javascript that would move the scroll to a particular div. I do not have much idea...
asked by 23.09.2018 / 12:48
1
answer

I can not add a reference in Visual Studio 2017

I have a problem adding the last reference of SisVentas to the PresentationPlayer (It is a Universal Windows class library), I get this message: Thank you in advance.     
asked by 23.09.2018 / 08:04