Questions tagged as 'c#'

1
answer

Access Denied When Using MS SyncFramework

I'm trying to implement a system where I need to have a local database (SQL Compact) and a cloud (MSSQL) database that can be synchronized. The form I found and followed is the one specified in this link . But I have some problems when I hos...
asked by 30.05.2014 / 20:43
1
answer

Resource with database

Well I have the following environment: Table: Livro id titulo tituloEN descricao descricaoEN Controller: [LivroController] public ActionResult Index() { var livros = bdLivro.ListarTodos(); return...
asked by 25.07.2014 / 15:09
1
answer

Java Authentication in DataBase generated by Asp.net MVC 5 (Generate passwordhash in Java same Asp.net MVC 5)

I need to Authenticate a user created in automatically in asp.net mvc 5 using the language java by Example:    user: so-and-so   password: Ab123456 Password recorded in the Database PasswordHash ACFCCbS1aKYPrQndKMluPDpLD51m1yh5UDBo49v1m...
asked by 24.07.2014 / 19:50
1
answer

Increase line height of a gridcontrol devexpress

Gentlemen, I have a gridcontrol of devexpress (12.1) being populated by a list, and I need to increase the line if the text is larger, and I need to dynamically do that (if the text fits in width, I do not need to break the line) / p> I...
asked by 24.07.2014 / 16:21
1
answer

How do I know if the client is already open on another computer?

I'm making a system that can and will open on possibly 2 to 7 computers. There is concern in the following case: PC1 opened the client's account and started editing. PC4 has opened the client account John just to see some data. PC1 has f...
asked by 23.07.2014 / 16:15
1
answer

Entity connection name is out of standards

Whenever I change the database, I need to delete edmx and re-create it since update from database is not updating. So far so good. Whatever happens now he has created a connection with the totally non-standard name. It looks like this: win-mds...
asked by 27.05.2014 / 15:19
1
answer

How to send html from one view to another view?

I have a view (View1.cshtml) with filters, a whole layout and a graphic inside a div that is generated according to the filters. I created another blank view (View2.cshtml) and would like to pass it to just that div with the generated graphic...
asked by 21.05.2014 / 16:36
1
answer

TimeOut HttpWebRequest Second time

public static bool Sinc(int v, out List<Ma> x) { try { XmlDocument urlData = new XmlDocument(); HttpWebRequest rq = (HttpWebRequest)WebRequest.Create("http://192.168.1.155/Se...
asked by 19.05.2014 / 14:29
1
answer

Entity with simple key referencing another with key composed

I'm using Fluent NHibernate to map my classes, and I have the following situation: UserMap class public class UsuarioMap : ClassMap<Usuario> { public UsuarioMap() { Table("USUARIOS"); Id(x => x.ID, "USUARIO_...
asked by 13.05.2014 / 21:50
1
answer

Change password Student

In the student environment, it should change your password. I created the code below but I can not get results in the database. Does anyone notice anything wrong? [HttpPost] public ActionResult AlterarSenha(CONSUL_CA_Aluno aluno) { stri...
asked by 14.05.2014 / 20:13