Date.Text = reader["dateintable"].ToShortDateString();
I want to get the date value from an sql table and display it in a textbox using executereader
You can use ToShortDateString if you have a DateTime. But you have just an Object. You need to cast it:
Date.Text = ((DateTime)reader["dateintable"]).ToShortDateString();
Another way is using GetDateTime, but you need the column-index first:
Date.Text = reader.GetDateTime(reader.GetOrdinal("dateintable")).ToShortDateString();