Questions tagged as 'c#'

0
answers

UpdatePanel does not update

I have the following updatePanel: <asp:ScriptManager ID="ScriptManager1" runat="server" ChildrenAsTriggers="true" > <Scripts> </Scripts> </asp:ScriptManager> <asp:UpdatePanel ID="panelTreeVi...
asked by 20.02.2015 / 14:16
0
answers

Change context to receive information from the database

I've got a project of a filemanager, which uses handler and it uses examples listing the directories and files of the project itself, I put an example listing directory that already works, however I can not do the same for file: namespace File...
asked by 23.02.2015 / 14:00
1
answer

OracleException is not triggered!

Someone has already encountered the following problem: When an error occurs that should be of type OracleException, but in its place an Exception is triggered, then the oracle processing is not applied because of this (the "..." are deprecated i...
asked by 26.02.2015 / 22:58
0
answers

Consume webService C # amsx on android volley

I created a webservice in C # that returns me a string in the JSON pattern, I'm trying to consume this webservice with the volley but the same one returns me null, depending on the variation of the url it returns everything to me as if it were?...
asked by 27.02.2015 / 01:55
0
answers

ORA-12154 TNS: could not resolve the connect identifier specified

I am having problems when an application tries to connect to the database, I get the ORA-12154 TNS error: could not resolve the connect identifier specified. When I tinker or try to connect via pl / sql developer by sql plus everything happen...
asked by 28.04.2015 / 15:55
0
answers

Validation error in the entity framework

In my method of adding files is giving the following exception to debug: Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. Method: internal void AddArquivo(Model.Arquivo arquivo) {...
asked by 09.02.2015 / 15:09
2
answers

Method to edit data with Entity

I am developing a file manager and have already implemented some methods like addArquivo , listarArquivo , listarVersoes , etc. But I need to edit it, see my DAL methods: Add: internal void AddArquivo(Model.Arquivo arq...
asked by 09.02.2015 / 15:39
1
answer

Error converting BigInt to integer using lambda

In the database the type is BigInt and in C # I am trying to convert to int and it can convert, but when it arrives in the lambda statement, it gives error. long codpro = Int64.Parse(tb_CodigoProduto.Text.Substring(0,14)); db...
asked by 10.02.2015 / 00:51
1
answer

Help - C # how to update comboBox? autocomplete type

Firstly I'm developing a system in C # and using Sql Server as a database. I would like to perform the following task: When something is typed in the comboBox I update myself, through a search in the database, example: I type A in the comb...
asked by 17.01.2015 / 10:22
2
answers

Error updating Entity entries

Iamtryingtoinsertsomedatafromsomefilesbytheentity,howeveritgivesthiserror:Method:internalvoidAddArquivo(Model.Arquivoarquivo){using(varctx=newTESTEntities()){varversao=arquivo.ArquivoVersoes[0];ctx.ARQUIVO.Add(newARQUIVO(){ARQUIVO_GUID=arquivo.A...
asked by 09.02.2015 / 14:06