这段c#代码转成vb怎么写
要做个vb程序,但没学过,想请教一下这段该怎么写
string sql1 = "select * from SECOND_DEPOT_INFO where SECOND_DEPOT_ID =" + 255;
string sql2 = "insert into SECOND_DEPOT_INFO values (" + 255 + ",'所有')";
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["MembershipProvider"].ConnectionString);
con.Open();
SqlCommand com = new SqlCommand(sql1, con);
if (com.ExecuteScalar is Nullable)
{
SqlCommand com2 = new SqlCommand(sql2, con);
}