Posts by AndrehOdon • 65 points
6 posts
-
0
votes1
answer1761
viewsQ: Error: There are no Primary or candidate Keys in the referenced table
I am trying to create a new table in an existing DB, however, appears the following message: There are no Primary or candidate Keys in the referenced table 'parceria_conta_corrente_ao' that match…
-
3
votes1
answer144
viewsQ: Display subquery result and use it for calculation
I need to present a result of a subquery and use the same result to perform a calculation, is it possible to play it for a variable in MS SQL 2008 or something like that? example: SELECT @test =…
-
0
votes1
answer15042
viewsQ: Object reference not defined for an object instance. in an object declaration
There is an error in my code only when I publish, when debugging works normally. the error is as follows: "Undefined object reference for an object instance." my code: MkfFile file = new MkfFile();…
-
0
votes1
answer101
viewsQ: Dynamic column with value appearing wrong in Webgrid
I have a problem when creating a table with dynamic columns. I add the columns in a loop this way: for (int i = 0; i < attrIds.Count; i++) { resource_attr attr =…
-
2
votes2
answers775
viewsQ: Problems with Web.Config
I am having difficulty using several web.config on my system. In my web.config main i have the following configuration: <configuration> <appSettings> <add key="BASE_URL" value="/mvc/"…
-
0
votes2
answers1013
viewsQ: C# MVC EF5 delete relationships
Hello, I am developing an application using C# MVC and EF5 and I have the following problem: I have a customer group management screen, in this group I can insert and remove customers, I use a…