I have my Repository:
public class RepositoryBase<T> where T : class
{
protected AppDbContext _context;
protected IDbSet<T> _dbSet;
public RepositoryBase()
{
_context = _context ?? new AppDbContext();...
I've tried several ways to list all the non-visual components of a form, such as: OpenDialog , ImageList , TableAdapters , and so on. but without success.
To find the controls on the screen, I got a Foreach in the Co...
I'm having a problem saving data in my ORACLE database.
When using my application to fill in fields and register a string, special characters such as accents are replaced by a ? in the database
The detail is that if I get the same query a...
In my ASP.NET MVC 5 application I'm using .Net 4.5 I'm not able to make the option selected for a given property.
Example of my class:
public class Funcionario
{
[Required(ErrorMessage = "O campo {0} é necessário")]
[StringLength(15...
I'm having a problem connecting to the 2014 Report Service via C # from an MVC4 project:
Scenery:
A 2014 Report Service Server was installed that will have numerous reports, due to the client having numerous SQL Server databases spread ac...
I am developing an application using WCF to distribute, everything is working quietly, however it has a strange thing, whenever I use the service the first time it takes a lot, (almost a minute for a simple search in the database), however I mak...
I am making an application whose purpose is to search and open a sub directory within a folder that is on a server. But what I can do so far is just browse and open the folders that are in the root ...
My code looks like this:
using System;...
I need to encrypt this XML
<?xml version="1.0" encoding="utf-8"?><Selos> <CodigoServentia>0000000099</CodigoServentia><Selo><CodigoSequencialUnico>ABC00005</CodigoSequencialUnico><CodigoDeSeguran...
I created a "Windows Forms Toolbox Control" project and customized some controls:
I'vecreatedacustomgallerysothatallofthecompany'sprogrammerscaninstallthetoolboxandmakeuseofthecontrols:
According to the figure below you can see the toolbox cr...
I have DataGridView already with recovered data where the user selects an item. But because the items are numerous, I would like to allow the user to type over the DataGrid as the system "goes" to the item entered.
I do not know the co...