Click here to Skip to main content
15,900,461 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPls help : how to export data from a paged datagrid Pin
Hemangajit25-Jul-06 1:26
Hemangajit25-Jul-06 1:26 
AnswerRe: Pls help : how to export data from a paged datagrid Pin
mnaveed25-Jul-06 4:24
mnaveed25-Jul-06 4:24 
Questionpls help: CreateUserWizard email notification, smtp settings require ssl to send through some smtp hosts Pin
Raido081225-Jul-06 0:59
Raido081225-Jul-06 0:59 
AnswerRe: pls help: CreateUserWizard email notification, smtp settings require ssl to send through some smtp hosts Pin
minhpc_bk25-Jul-06 16:28
minhpc_bk25-Jul-06 16:28 
GeneralRe: pls help: CreateUserWizard email notification, smtp settings require ssl to send through some smtp hosts Pin
Raido081226-Jul-06 9:41
Raido081226-Jul-06 9:41 
QuestionProblem with GridView Pin
bluewavestrider25-Jul-06 0:29
bluewavestrider25-Jul-06 0:29 
AnswerRe: Problem with GridView Pin
minhpc_bk25-Jul-06 16:26
minhpc_bk25-Jul-06 16:26 
QuestionProblem with formating dates Pin
bluewavestrider25-Jul-06 0:22
bluewavestrider25-Jul-06 0:22 
Hi there!
I'm having a problem with formating dates. I've tried to understand MSDN, but I never get it right.
First, I have this:

<asp:GridView ID="GridView1" runat="server"
DataKeyNames="reservation_id"
DataSourceID="SqlDataSource1"
AutoGenerateColumns="false">
<Columns>
<asp:BoundField HeaderText="Check in Date"
DataField="check_in_date"
DataFormatString="{0:yyyy/mm/dd}" ReadOnly="True" />
</Columns>
</asp:GridView>

I would like to change the format of the date bound to the above column into MySQL's yyyy/mm/dd (which I find a pain in the ***). The GridView displays
this date in MM/dd/yyyy format with the time attached e.g (8/30/2006 12:00:00 AM ->representing 30th August '06). MySQL accepts date as yyyy/mm/dd,
so I need to change the GridView's BoundField format but dont know how to do it.
Please help!
Note that OnRowUpdated event of the GridView, I use e.OldValues to get the date and use it in updating a related record in another table, that's why I need
the date in this format without the time.
Thanks a lot good people.

Live in fragments no longer. Only connect.
AnswerRe: Problem with formating dates Pin
Jim Conigliaro25-Jul-06 1:53
Jim Conigliaro25-Jul-06 1:53 
QuestionASP.Net2.0 Pin
Avi8024-Jul-06 23:26
Avi8024-Jul-06 23:26 
AnswerRe: ASP.Net2.0 Pin
l0kke26-Jul-06 3:48
l0kke26-Jul-06 3:48 
GeneralRe: ASP.Net2.0 Pin
Avi8026-Jul-06 19:04
Avi8026-Jul-06 19:04 
Questionhow to show(point) multiple selected cities on map Pin
P. S. Pundeer24-Jul-06 23:19
P. S. Pundeer24-Jul-06 23:19 
AnswerRe: how to show(point) multiple selected cities on map Pin
RichardGrimmer25-Jul-06 5:55
RichardGrimmer25-Jul-06 5:55 
GeneralRe: how to show(point) multiple selected cities on map Pin
P. S. Pundeer25-Jul-06 18:57
P. S. Pundeer25-Jul-06 18:57 
Questionneed a code Pin
sandeepraw24-Jul-06 23:17
sandeepraw24-Jul-06 23:17 
AnswerRe: need a code Pin
minhpc_bk25-Jul-06 15:50
minhpc_bk25-Jul-06 15:50 
AnswerRe: need a code Pin
Ista27-Jul-06 7:01
Ista27-Jul-06 7:01 
QuestionDiplay header and footer when gridview is empty Pin
mcgann24-Jul-06 22:57
mcgann24-Jul-06 22:57 
AnswerRe: Diplay header and footer when gridview is empty Pin
minhpc_bk25-Jul-06 15:47
minhpc_bk25-Jul-06 15:47 
QuestionPlease Help me Pin
nannapanenikamalnath24-Jul-06 22:14
nannapanenikamalnath24-Jul-06 22:14 
AnswerRe: Please Help me Pin
_AK_24-Jul-06 22:21
_AK_24-Jul-06 22:21 
AnswerRe: Please Help me Pin
Paddy Boyd24-Jul-06 22:53
Paddy Boyd24-Jul-06 22:53 
GeneralRe: Please Help me Pin
nannapanenikamalnath24-Jul-06 23:09
nannapanenikamalnath24-Jul-06 23:09 
GeneralRe: Please Help me Pin
Paddy Boyd24-Jul-06 23:32
Paddy Boyd24-Jul-06 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.