Questions tagged as 'c#'

1
answer

Error trying to play an MP3 file in C #

I want to run an .MP3 file in my C # application, but whenever I run the timerson method, I get an error that tells me that WindowsMediaPlayer is in use . I do not know how to close the instance or kill that process because it does...
asked by 30.04.2017 / 18:03
1
answer

Surfing the Web in a Console App

I try to create a Web Browser object from a Console application, here what I try to do but I get an error: static void Main(string[] args) { WebBrowser web = new WebBrowser(); web.Navigate("www.es.stackoverflow.com");...
asked by 29.04.2017 / 18:42
1
answer

Object values in ASP are not updated

Hello, I am handling the following form in ASP : <tr> <td width="20%"> <dx:ASPxLabel runat="server" Text="Documento"></dx:ASPxLabel> </td> <td width="20%"> <dx:ASPxComboBox runat...
asked by 03.01.2017 / 19:07
3
answers

DataReader UTF-8

Quick Problem: I have a DropDownList that contains data with different special characters (',', ç ...) and I have to pass the DropDownList.SelectedItem.Text to a OracleComand cmd to then pass the cmd to OracleDataR...
asked by 03.05.2017 / 13:19
2
answers

How to leave the selected value using html.dropdowlist in MVC C # with aspx engine, similar to razor

I have the following definition of list of options: <% dynamic listItems_Afirmacion = new List<ListItem> { new ListItem { Text = "Si", Value = "S"},...
asked by 06.01.2017 / 02:22
1
answer

Finder 3 different fields from 3 different tables

I have 3 tables, Comics (id, Name, number ...), Authors (id, name ...) and Illustrators (id, name ...), what I want to do is a query (for a search engine ) that if I tell him to look for the word "Batman" show me if there are coincidences in the...
asked by 21.11.2016 / 16:40
4
answers

Focus on a single C # textbox

Good morning, I have a problem with my textbox. I have the focus for one in specific but when I try to diguitar in the others I am activated in which I have the focus. How can I make the textbox that I have focus only activate when I scan (becau...
asked by 05.12.2016 / 14:02
2
answers

Problem with access and c #

I am running the following code, in the fifth line I get an error:    "The input string does not have the correct format" costo = Convert.ToDouble(textBox8.Text); string fecha = DateTime.Today.ToString("dd/MM/yyyy"); OleDbCommand actualiza...
asked by 14.11.2016 / 21:45
2
answers

c # and access get the largest value in a column

good day I'm trying to get the last record entered in a table, there are already several clients entered however in the execution when I try to give the value read to a variable shows me an error "There is no data available for the row or column...
asked by 14.11.2016 / 19:27
2
answers

Do not call my json method to load a cascading combo

Good afternoon I have a theme, changing my combo locality does not change the neighborhood, I'm new using ajax, and I do not understand where the problem is. Thank you very much already. The code is as follows: On the controller: [Http...
asked by 27.10.2016 / 19:57