my query is
Quote
SqlConnection conn = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=E:\dCoffeeInfo.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True");
SqlCommand selection = new SqlCommand("SELECT * FROM tCoffee WHERE CoffeeName = '" + selected + "'", conn);
conn.Open();
selection.ExecuteNonQuery();
SelectedOrigin.Text =
conn.Close();
SqlCommand selection = new SqlCommand("SELECT * FROM tCoffee WHERE CoffeeName = '" + selected + "'", conn);
conn.Open();
selection.ExecuteNonQuery();
SelectedOrigin.Text =
conn.Close();
It should fetch this data as an example:
Quote
1 | After Dinner | Medium | Africa | 8 | 10000 | <image>
i want them spit into the following labels
Quote
<not needed> | Name Label | Strength Label | Origin Label | Price Label | Quantity Label | ImageBox
Hope that makes sense
~Jack

New Topic/Question
Reply



MultiQuote







|