Activar State Service Application en SharePoint 2013

Es posible que al intentar iniciar un workflow (o también al intentar publicar una página) os aparezca el siguiente error: The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator. Esto es porque falta por activar el servicio State …

Sigue leyendo Activar State Service Application en SharePoint 2013

Export SQL query to CSV

1. Execute your Query with "Results to Grid" option selected (You can select this option with its icon or by menu "Query - Results To - Results to grid"). 2. Once your Query has finished, right-click on the results grid and select the option "Save results As...". 3. Save as Type: CSV.

Consulta SQL «SELECT» en C#

El siguiente código nos permitirá hacer una consulta a nuestra base de datos. Tan solo debemos tener una cadena de conexión (que habitualmente situaremos en el fichero de configuración de nuestra aplicación) y la consulta "SELECT" que queramos. using (SqlConnection conn = new SqlConnection(/*Our Connection String*/) { conn.Open(); using (SqlCommand cmd = new SqlCommand(/*Our SELECT …

Sigue leyendo Consulta SQL «SELECT» en C#