Questions tagged as 'c#'

0
answers

Can not find Control ID in ControlParameter - Asp.Net

Hello, I have a question about getting the id of a book author and adding it to the creation of a book, and the book to be published should have an Auto Increasing Book ID, a book name, and the author ID. My question is to get the author ID o...
asked by 17.06.2016 / 20:50
1
answer

Add Treeview Node by path

I'm trying to add a TreeView Node to the path, for example: And the code I'm trying is like this: public void AddParent(string path, string node) { TreeNode parentNode = treeView1.Nodes[path]; if (parentNode != null)...
asked by 04.07.2016 / 22:24
0
answers

How do I update the dates of a project done in C # asp.net MVC layers?

When creating a Blanck Solution project and creating Class Library projects, in my case, creating 3 projects besides the application type (Application, Domain and Repository) I would like to know if you have how to update all the projects for th...
asked by 04.07.2016 / 19:07
1
answer

Entity Framework Code First. How to generate two banks from two projects, with the second project using classes from the first

Speak up! I have a question regarding Entity Framework 6. I have two projects A and B, A being a shared core. It has some classes like Parents, State, City, Address etc. In project B, I have some classes like Candidate, Vacancy etc....
asked by 04.07.2016 / 19:00
1
answer

How to configure angular routes with asp.Net Mvc

I created a controller that calls the Index.cshtml and within Index.cshtml contains the <ng-view> directive that should render index.html but does not work. Controller public class ClienteController : C...
asked by 05.07.2016 / 01:53
1
answer

Special Characters WebService C # SQL X Firebird Base

I have an integration made by Web-service (asmx) , C# e SQL Server . This Web-Service is consumed by third-party software that uses Delphi and Firebird. The problem is that by integrating a string field that has special characters, ques...
asked by 05.07.2016 / 15:06
1
answer

Get BD Rows (MySQL) - WebService Mysql C #

I'm having trouble getting the rows . It does not recognize any variables within cmdMySQL ( @Login ). I tried to put others but nothing if I take the @Login and put the value of email that is in the BD he usually t...
asked by 03.06.2016 / 03:26
1
answer

MYSQL access by an application

I am creating an application in C # this, it connects to a remote MySQL server, I have enabled for any IP to have access to my DB with a read-only user. My question is: Is there a way in the WebService to authenticate the user in a way that I...
asked by 03.06.2016 / 04:12
1
answer

How to do a SELECT pull qty or weight of sql to a single column on the grid depending on the register?

I have the following doubt, I created a stock table in sql for packaging and raw materials, with registration in the same form. I created one line for weight and another for qtde in sql. And I created a grid with a single column "qtde / weight"...
asked by 02.06.2016 / 20:26
0
answers

How to write text and image together in mysql with asp.net mvc

I am creating a forum in my application and would like to know how to save image and text together in Mysql, as in the message field there will be a WYSIWYG editor so I will have to save both text and images, among others. What kind of field do...
asked by 03.06.2016 / 01:09