Questions tagged as 'c#'

1
answer

Error rendering PartialView in a View

I have a View and inside it I want to render a PartialView . What happens is that the partial is of a different model , but that has a relationship between them. I want to show a partial as if it were index , where I show everyth...
asked by 19.06.2016 / 00:55
1
answer

Hiding AES decryption key in android app

How can I not only hide AES keys but also encrypt and decrypt using the predefined keys / commands in a native library ( encode.so ) so that I can compile and include it in my android app. That is, calling the native functions in the library...
asked by 20.06.2016 / 07:22
1
answer

Saving an information in the same database attribute using two textbox

I was wondering if I could save two different information to the same attribute in the database. Type I have two textboxes, one cpf and one cnpj. I wanted to save cpf and cnpj together. But I created two textboxes, one for each. Model code...
asked by 02.05.2016 / 21:35
1
answer

How to make a localhost modem application? [closed]

Hello. I am a C # developer and need to make an application for configuring a Windows Service. I thought of something like those internet modem setup applications that run directly on the browser. Is there a way to run an application like this o...
asked by 02.05.2016 / 21:28
0
answers

Data Conversion

I'm doing a program and would like to know how do I save a field that contains only characters, but just send the code to your bank? I am using two tables to save the data and the field I want to save is the foreign key that would be the code. I...
asked by 06.06.2016 / 00:53
0
answers

insert and update date values in the DB using a makedtextbox C #

Hello, while I was developing a system to manage the records in the DB in error it is happening that when inserting the values the date records are empty and when trying to update the listing of information it gives an error that says that it can...
asked by 05.06.2016 / 18:36
0
answers

Error with the EntityFramework provider

This is the message that is returning in the browser The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invar...
asked by 10.05.2016 / 16:11
0
answers

[UWP] [C #] How to stop the announcement of a service on the local network (unregisterService in android) with the Windows API.Networking.ServiceDiscovery.Dnssd

The problem I have is that I can not delete a dns-sd service from the local network. With the RegisterService method the dns-sd service is created correctly, but I do not know how to do this to eliminate this same service from the local network,...
asked by 10.05.2016 / 22:53
0
answers

Dataset or DataReader? - Programming in C # .NET

Data-driven projects are heavily used in desktop applications, so I'm working on a library project where you save member records. I am using the 3 Layer Application method, it is very efficient and keeps the code clean. In the DataSet: I want...
asked by 30.04.2016 / 00:02
0
answers

How do I check if a password is correct in an ATM project?

I have a college job in which I need to create a kind of ATM in C #, in which I have to create two textbox in which I have to enter a four-digit password in the first one, and aperacer the same masked password in the second . The password mus...
asked by 29.04.2016 / 19:59