Questions tagged as 'c#'

1
answer

c # Web mvc Send PDF without saving to disk and sending by email

Hello, I have an MVC web application and I have a method to send an email and I have to add a PDF that is dynamic, I have to attach it to this email without saving to disk. Could someone help?     
asked by 27.02.2018 / 18:47
0
answers

Send complex view object to ASP MVC controller

In my View I have a complex model where I display only a few fields in a table. In this model I have another list called Tracks where I do not display its contents. Look at the image below. Ineedtogettheobject(varItem)whichismyAlbumViewMo...
asked by 26.02.2018 / 19:39
0
answers

Change the fontsize of a title. Has as?

I have this: <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Operacional.Views.Indicadores" xmlns:local="clr-namespace:Operaci...
asked by 26.02.2018 / 19:33
0
answers

Load Load Control C #

I need to add a UserControl conditionally. In what way? if the variable Pap_id is equal to 134, I need to load a UserControl that displays two inputText for the user to enter a start date and an end date: var Pap_id = Convert.ToString(Reques...
asked by 27.02.2018 / 12:57
1
answer

Distributed Calculator - UDP Client / Server

I'm trying to make a Distributed Calculator using Client and UDP Server, the client sends 3 numbers to the server. The 1st would be the chosen option, example (1 - sum, 2 - subtraction, 3 - division) the other two numbers would be the operands....
asked by 11.03.2018 / 01:10
1
answer

Pass arguments to the property getter

VB.NET allows you to declare parameters in the property getter Public ReadOnly Property Propriedade(param As String) As String Get Return param & "!" End Get End Property It's a strange feature and in C # it does not work. What...
asked by 26.10.2017 / 20:04
0
answers

Fill DROPDOWNLIST with another DROPDOWNLIST asp.net razor

I need to populate a dropdownlist with another dropdownlist selection, but I do not know how to retrieve it when working with ICollection, below the classes below. using System; using System.Collections.Generic; namespace TECNOSOL.Domain.Enti...
asked by 04.03.2018 / 17:26
0
answers

C # & MongoDb - How to make filter in child document?

I'm starting my adventures in MongoDB and I'm having a problem specifically with document filtering. The template for my application: public class MatrizCurricular { [BsonId] public ObjectId _id { get; set; } public string Cur...
asked by 03.03.2018 / 21:51
1
answer

Change Button name via WPF code?

   I want to access a control in WPF to access properties   modify it.       However, I can not seem to find much of an approach to Wpf today.       What I want to do for example is to change the name of a button to   any name. XAML...
asked by 04.03.2018 / 20:10
0
answers

How the renderers actually work

I have this toolbar. My difficulty is to change text into runtime and change font size and color. <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/toolbar" android:la...
asked by 28.02.2018 / 13:27