Skip to content

Instantly share code, notes, and snippets.

View test-transaction.cs
var query1 = "INSERT INTO tempoPerson (nombre, paterno) VALUES ('Jorge', 'Toribio');";
var query2 = "INSERT INTO tempoPerson (nombre, paterno) VALUES ('David', 'Lalane');";
var query3 = "INSERT INTO tempoPerson (nombre, paterno) VALUES ('Robert', 'Bloom');";
using (SqlConnection connection = new SqlConnection(strConn))
{
connection.Open();
SqlTransaction transaction = connection.BeginTransaction();
View shadow.xml
<!-- https://stackoverflow.com/questions/5197892/add-shadow-to-custom-shape-on-android -->
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- "background shadow" -->
<item>
<shape android:shape="rectangle" >
<solid android:color="#000000" />
<corners android:radius="15dp" />
</shape>