Questions tagged as 'c#'

0
answers

MySQL Connector MVC

I installed the MySQL Connector and the location succeeded, I was able to connect and even make my Migration . However, after giving Publish in my project and uploading to FTP, I'm encountering the following error:    Can not perfo...
asked by 01.09.2014 / 16:08
1
answer

Difficulty putting checkbox in treeview with or without bootstrap

This is my treeview: @*Daqui para baixo, tudo se relaciona com a treeview*@ <div class="well" style="width:100%; padding: 8px 0;"> <div style="overflow-y: scroll; overflow-x: hidden; height: 300px;"> <ul...
asked by 04.09.2014 / 15:42
0
answers

How to save the state of a TreeView in ASP.NET / C #?

I have a treeview that is persisted in Database, and from the application, you can add or remove items from both the TV and the BD. Big problem is that I can not find a simple way to save the user's "use" status (ExpandedNodes) to improve the us...
asked by 03.09.2014 / 15:01
2
answers

Focus on open window

I have a wpf application with several buttons that open other windows off the main system. I call them through: .Show (); .Focus (); If the user clicked on the button several times open, I fixed this by placing a global variable that op...
asked by 03.03.2015 / 12:38
0
answers

KnockoutJS and ASP.NET MVC

So, I'm starting to take a look at KnockoutJS and it's all a little gloomy yet, in the example I'm following, I'm having an error that says O objeto não oferece suporte à propriedade ou método 'join' . My JS function setupHubClient()...
asked by 03.03.2015 / 13:45
1
answer

How to make chrome-type flaps [closed]

I would like to know how I create tabs of type a of Chrome. I thought with TabControl but there is no way to put the button close tab and new tab. How do I do it? PS: I want to make a standalone for a game that can open more than one t...
asked by 28.07.2014 / 14:45
2
answers

How to read and open files from a byte column in SQL Server?

My question is the continuation of this question: Link to another question I was able to transform my file into bytes and insert it inside a table in SQL Server, however now I want from within an application that I'm doing in C # I want to...
asked by 09.12.2014 / 14:03
1
answer

How to save the selected fields in a C # CheckListBox?

My program contains two CheckListBox : chkLstBoxTabela contains the tables in my DB, and chkLstBoxColunas contains the columns of the table that was selected in chkLstBoxTabela , so that when we select a table the your...
asked by 08.12.2014 / 18:03
2
answers

C #: Return value of a href

How do I get the address / URL of a tag < a href="js:redir(2)"> Through an HTML source? NOTE: I tried to use the mshtml assembly, but it did not work either!     
asked by 16.07.2014 / 14:58
1
answer

Association on Devexpress XPO models

I have a template for Municipality. This model can be referenced by several other models (Customer, Supplier, Carrier, Salesman ...). Each of these models has an association N: 1 for Municipio, +/- thus: public class Cliente: XPLiteObject {...
asked by 10.07.2014 / 17:54