Question: I am trying to add button attribute to my checkbox in android.
But the checkbox gets hidden in android 10 devices.
On removing the button attribute, the checkbox is displayed.  

What may be the root cause of the issue?

```
<CheckBox
                android:id="@+id/cb"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:button="@color/check_box_selector"
                android:checked="false"
                />

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:color="#00000000" android:drawable="@drawable/ic_checked" android:state_checked="true" />
    <item android:color="#00000000" android:drawable="@drawable/ic_unchecked" android:state_selected="false" />
</selector>

```

Answer: 
You have serious sql Injection issues. In any case you must call `ExecuteNonQuery()`. Try like:

```
strsql = " INSERT INTO [gdo].[dbd].[1Volcar1] VALUES (@param1,@param2);";
comando = new SqlCommand(strsql, conexion);
comando.Parameters.Add("@param1",SqlDbType.NVarchar).Value = lcodigo[i];
comando.Parameters.Add("@param2",SqlDbType.NVarchar).Value = lsuperficie[i];
comando.ExectuNonQuery():

```
You have to use

```
comando.ExecuteNonQuery();

```

The `SqlDataAdapter` is used the fill the dataset or the datatable used for fetch the data from the database. `ExecuteNonQuery()` just executes the query.

`ExecuteNonQuery` is used for executing queries that do not return any data (`INSERT`, `DELETE`, `UPDATE`).