background preloader

ASP.NET

Facebook Twitter

C# Examples. File Handling. NEURONASOFT: Jquery no funciona despues de refrescar UpdatePanel. Probablemente has llegado hasta este post porque has padecido el problema que el título de este post describe Tienes alguna funcionalidad que usa la librería Jquery, y todo funciona de maravilla, bueno casi todo… resulta que al actualizar sólo el UpdatePanel (no toda la página), de pronto ya no funciona la funcionalidad que dependía de la librería Jquery… No menciono qué funcionalidad específica… porque puede tratarse de cualquier funcionalidad… pero que use la librería Jquery.

NEURONASOFT: Jquery no funciona despues de refrescar UpdatePanel

Updatepanel y javascript. Buenas, tengo un problema con updatepanel y javascript.

Updatepanel y javascript

Explico un poco, tengo un updatepanel que en su interior tiene un panel que llama a una función javascript que se ocupa del diseño del scroll.El problema está en que cuando se actualiza el updatepanel que tiene en su interior un panel y dentro de este un Accordion, el scroll no se actualiza. El Accordion es dinámico, cambia según los datos de bd.Cuando se recarga la página por completo, no surge este problema, únicamente surge cuando se actualiza el updatepanel, que contiene el panel con la función javascript.

Si sacase del updatepanel el panel con el diseño del scrollo, este tampoco se actualizaría con el nuevo tamaño del Accordion :X Qué opináis?! CREACION DE DLL Y USO (Ejemplo desarrollado) David Cruz Peña: Usar DLL creada en .NET en Visual Basic 6. Esta es una operación que podemos realizar cuando queramos agregar una nueva funcionalidad o utilidad que ya esta desarrollada en .NET y queremos usarla en un proyecto de Visual Basic 6.

David Cruz Peña: Usar DLL creada en .NET en Visual Basic 6

Bueno este es un pequeño ejemplo de una clase que he creado la cual solamente posee un método el cual nos devuelve un mensaje. Importante: como se ve en la clase estamos implementando una interfaz, esto es necesario para poder utilizarlo en Visual Basic 6 ya que el COM necesita que se defina el objeto mediante una interfaz. Vale ahora iremos a la consola del Visual Studio o a su defecto al directorio “C:\Windows\System32” dentro de la consola de Windows. ServiciosWeb.pdf. Crear y consumir un Web Service ASP.NET con Visual Studio 2010.

PC-Doctor Computer & Android Hardware Diagnostic Software Tools, PC Repair Kits. Export GridView To Word Excel PDF CSV Formats in ASP.Net. In this article, I will explain how to export GridView to Word, Excel, PDF and CSV formats.

Export GridView To Word Excel PDF CSV Formats in ASP.Net

Exporting to Word, Excel and CSV can be easily achieved using ASP.Net without any third party tools, but for exporting GridView to PDF I am using iTextSharp which is a free library for exporting html to PDF. To start with I have a GridView in which I am showing Customers records from the NorthWind Database. The HTML markup of the GridView is as shown below <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns = "false" Font-Names = "Arial" Font-Size = "11pt" AlternatingRowStyle-BackColor = "#C2D69B" Gelsana - ASP.NET. Index. Programming ASP.Net 2.0_Pisa_Ing_20060621. Utilizar tipos que aceptan valores NULL (Guía de programación de C#) System.Nullable<T> variable T?

Utilizar tipos que aceptan valores NULL (Guía de programación de C#)

Variable int? I = 10; double? d1 = 3.14; bool? HasValue Value int? Int? Cómo: Convertir con seguridad de bool? en bool (Guía de programación de C#) Nullable Types (C# Programming Guide) Nullable types are instances of the System.Nullable(Of T) struct.

Nullable Types (C# Programming Guide)

A nullable type can represent the correct range of values for its underlying value type, plus an additional null value. For example, a Nullable<Int32>, pronounced "Nullable of Int32," can be assigned any value from -2147483648 to 2147483647, or it can be assigned the null value. A Nullable<bool> can be assigned the values true false, or null. The ability to assign null to numeric and Boolean types is especially useful when you are dealing with databases and other data types that contain elements that may not be assigned a value. For example, a Boolean field in a database can store the values true or false, or it may be undefined. class NullableExample { static void Main() { int? The example will display the output: num = Null Nullable object must have a value. For more examples, see Using Nullable Types (C# Programming Guide) Nullable types have the following characteristics: Reference Concepts Other Resources.

ASP.NET Life Cycle Overview. What is ASP.net?

ASP.NET Life Cycle Overview

ASP.NET is the next generation web application framework developed and marketed by Microsoft based on .NET Framework. But not to be confused that it's not an upgraded version of ASP. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successful successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET allow programmers to build dynamic web sites, web applications ,web services and so many strong features.

One of the key features of ASP.NET is that it uses an event-based programming model.

Controles