Dim str As String = ""
Dim dt As DataTable
str = "SELECT * FROM tb_product where product_name='โต๊ะ' order by product_id ASC"
dt = csql.Sqlselect(str)
TextBox1.text=dt.row(0)("product_name").ToString
SqlConnection con = new SqlConnection();
string strSQL = "SELECT id_primary_color,amount_primary_color FROM primary_color WHERE (amount_primary_color< 60)";
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter(strSQL, con);
da.Fill(dt);
DataRow[] getRow = dt.Select();
textBox1.Text = getRow[0]["id_primary_color"].ToString();