Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Double Pad;
- SqlCommand cmd = new SqlCommand("SELECT * FROM M25 WHERE Mu/bd2 = Muad", con);
- SqlDataAdapter adp = new SqlDataAdapter(cmd);
- DataSet ds = new DataSet();
- try
- {
- con.Open();
- Pad = Convert.ToDouble(ds.Tables["M25"].Rows[0].ItemArray[2].ToString());
- }
- catch (Exception ex)
- {
- Console.WriteLine(ex.Message);
- }
- finally
- { con.Close(); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement