How do I change, or add to, the following code so as to be able to format the display:
this.txtAppointmentDate.DataBindings.Add(new Binding ("Text", dsData.Tables["Results"],"AppointmentDate")
The data is stored in SQL Server as datetime and I want only the date portion to show in the TextBox.
Thanks in advance
Hi,
thats more a GUI related question, but anyway:
http://www.codeproject.com/vb/net/databindingconcepts.asp
HTH;, Jens Suessmeyer.
http://ww.sqlserver2005.de
No comments:
Post a Comment