Questions tagged as 'c#'

1
answer

COM Interop with CLient and Server

Hello, I have a DLL to encrypt data. I need to use the Component Object Model (COM) Interop to be able to communicate two applications and both traffic the encrypted data through this DLL. Searching, I found integration examples like integrate w...
asked by 16.01.2015 / 20:13
3
answers

Combobox in Database

I always used Delphi and there was a component called DBLookupcombobox where it was possible to list the data of a table and use the ID field of this referenced saving in the main table, for example: In an Employee registry I have...
asked by 01.02.2015 / 03:21
1
answer

Pass Type parameter to generic method in runtime

I have a method that I use to deserialize data: public static class CustomJson<T> where T: class, new() { public static T Deserialize(string data) { try { return string.IsNullOrEmpty(data)...
asked by 19.02.2015 / 11:23
2
answers

'Data Access Layer' is the same as 'Data Access Object'?

I've always used DAO (Data Access Object) in Java Web and now that I'm starting for the .NET (C #) platform, I've seen that the Data Access Layer (DAL) layer exists. I was confused, would the DAL be the same as DAO? Because I saw some examples t...
asked by 30.01.2015 / 18:56
1
answer

Get the key pressed with minimized or unfocused application C #

I would like that by pressing PrintScreen on the keyboard, the C # application that is minimized in the tray system would be maximized and display the print .     
asked by 30.06.2015 / 02:22
1
answer

Fixed Menu in Csharp

I would like to know how to do a fixed menu in C #, as the user moves the application, just change the context, similar to Web pages.     
asked by 03.07.2015 / 04:58
1
answer

Take print screen and save image automatically in C #

Is it possible to take a print screen of the active page of my web system and save that image somewhere using C #?     
asked by 28.05.2014 / 22:04
2
answers

Error deleting using Entity Framework 6 and custom repository

I am using the Entity framework to do CRUD in the database, but I have an error trying to delete some item:    "The object can not be deleted because it was not found in the   ObjectStateManager. " I'm using the repository pattern, unit o...
asked by 24.06.2015 / 15:27
2
answers

Regex between words

I'm trying to make a query Regex that returns me in a source code file statements that are not public %%Enum Tipo , however I'm not very familiar with Regex and I'm having a bit of trouble, hint how you can do this. Basica...
asked by 17.11.2014 / 18:03
1
answer

Direct click of the button into the table item_databound

I have a table inside a repeater. In this table there is a button. What I want is when I click this button, it fires the repeater event: rptGerenciaProcessos_ItemDataBound , just that. How do I do this? My button is this: <td> &l...
asked by 17.11.2014 / 20:39