Questions tagged as '.net'

2
answers

Problem inserting double value in MySQL

query += txtServidor.Text + "',";<br> query += double.Parse(txtVencimento.Text) + ",";<br> query += int.Parse(txtBanco.Text) + ",'";<br> INSERT INTO tbl_associados VALUES(10,'testando','001.318.555-55','categoria','ativo',...
asked by 30.03.2015 / 14:58
1
answer

Combobox equal to Google search

How to do so that in the combobox I type letters and returns any text corresponding to those letters that I typed. Example: I have a LisItem type list in the combobox hi to all Hi to all my haters Hi to all of you Hi to all my fri...
asked by 20.03.2015 / 18:34
1
answer

Reference to styles and script's in Master.Page using ResolveUrl

In Master.Page I make references to the styles and scripts that will be inherited by the other pages through ResolveUrl. <script src="<%# ResolveUrl("~/") %>Scripts/jquery-1.11.1.js" type='text/javascript'></script> <scrip...
asked by 24.11.2014 / 15:35
1
answer

Implicit type conversion error

   Error 1 Can not implicitly convert type 'CachedCurrent.Customer' to 'string' C: \ course \ CachedCurrent \ CachedCurrent \ Form1.cs 47 31 CachedCurrent Follow the class namespace CursoCAvancado { public partial class Form1 : Form...
asked by 20.11.2014 / 01:29
2
answers

Match contents of two objects

I use the following method to update a given table: public int alteraBem(tb_bens itemBem) { try { using (GestaoAtivoEntities db = new GestaoAtivoEntities()) { var bem = db.tb_bens.Where(v => v.int_id_bem....
asked by 26.11.2014 / 14:23
2
answers

How to create a database in SQL Server?

I installed SQL Server, and here comes Magnament Studio, how do I create my bank? I already tried going there, and I had to authenticate for Windows but it gives an error. How do I create my bank?     
asked by 02.02.2015 / 04:42
1
answer

Getting text into another text

I want to get a List(Of String) of text blocks, however there is a problem: { --isso é um bloco; echo "Aqui tem um } no meio";} And I would like to get this: --isso é um bloco; echo "Aqui tem um } no meio"; but it's coming bac...
asked by 16.06.2015 / 00:22
2
answers

TFS / Azure seamless integration and connection string in app.config

I have a project composed of two subprojects, one of these subprojects is a Class Library , responsible for the activities of connection to bank. I'm using Entity Framework as an ORM tool. In the file app.config , I have the follo...
asked by 22.09.2014 / 20:12
1
answer

How to search for files recursively inside a folder?

I'm developing an application, and I need to return the paths of files that have the same name and same extension from within a specific folder, to assign a version there, but I do not know any method to take as a basis. Basically, I would have...
asked by 02.04.2015 / 13:15
2
answers

Does LINQ to Entities not recognize the 'Boolean Like?

I'm having this error when trying to do one with query using LINQ to SQL after making the suggested changes: {SELECT 'Extent1'.'idcliente', 'Extent1'.'nome', 'Extent1'.'pai', 'Extent1'.'mae', 'Extent1'.'informacao', 'Extent1'.'datanascime...
asked by 06.04.2015 / 16:59