Questions tagged as 'asp.net'

2
answers

Capture selected DropDownList item

I have DropDownList with some items, and I did a click event to get what is selected and redirect to a page, but it is not working right, see: switch(ddlMenu.SelectedValue){ case "0": lblMensagem.Text = "Por fa...
asked by 05.02.2015 / 03:30
1
answer

List files from a directory by approach

I have a screen where listo files of a certain folder. I have a search bar that uses the same method to find the files, but I can not list by approximation. Example: I have this file Papel_timbrado.docx . If I search "Paper" I find t...
asked by 27.01.2015 / 14:58
1
answer

Save data to the client for later use

I have a web form application where the user enters some values to perform an analysis. There are two item and quantity values, this data is in List<> which is used as DataSource of a GridView . They can have up to 50 i...
asked by 23.12.2014 / 15:16
1
answer

Competition WebServices ASMX with Ajax

I noticed that when called by XHR, ASMX webservices can handle very few concurrent requests. Consider the following scenario: ASPX Page: <asp:ScriptManager ID="scrManager" runat="server"> <Services> <asp:Servic...
asked by 28.05.2015 / 14:01
1
answer

Problems connecting mysql with asp.net c #

A small problem appeared, which in my old application worked normally. My DAL Class is not connecting in Mysql. Being all the connection parameters, I believe it is correct. MyDALthatmakestheconnection.usingSystem;usingSystem.Collections.G...
asked by 24.09.2014 / 06:17
1
answer

retrieve text from onmouseover statusbar

Is it possible to retrieve the status bar text? in Windows.Form in VB6 could. I would like to know if in C # it would be possible     
asked by 02.07.2014 / 22:25
1
answer

How to select a port to connect to SQL Server Remote

I'm having the following problem, my SQL server is with port 1433 open and communicating properly, but my client has a firewall that blocks all the incoming and outgoing ports of the computers connected on the network. Here comes the problem, I...
asked by 30.05.2014 / 00:16
2
answers

Error trying to connect to the database

I'm studying about C # and Asp.net and "trying" to draft a registration, change, and deletion project, following some videos I found on the net. The problem is when I connect the database created previously the application does not find it and t...
asked by 05.05.2014 / 14:36
1
answer

Retrieve the ID of a DataTable within a GridView

I'm trying to rescue the ID from my client that is in GridView , but I'm using DataTable to fill GridView . DataTable public DataTable SelecionarDT() { objDAO = new ClienteDAO(); DataRow dr; DataTabl...
asked by 28.04.2014 / 17:00
1
answer

Generate PDF with specific font

I have a report that already works. I need to change the font to "Garamond" (already installed). The references found talk about other more flexible properties, for example, changing the font "per family" tuto 1 , or by removing a watermark (wh...
asked by 27.08.2014 / 20:18