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

ASP.NET

 
AnswerRe: Js File Problem?? Pin
N a v a n e e t h4-Feb-08 19:28
N a v a n e e t h4-Feb-08 19:28 
GeneralDynamically Fetch the Random records Pin
sjs4u4-Feb-08 17:50
sjs4u4-Feb-08 17:50 
GeneralRe: Dynamically Fetch the Random records Pin
Steve Echols4-Feb-08 18:31
Steve Echols4-Feb-08 18:31 
GeneralRe: Dynamically Fetch the Random records Pin
love_man0014-Feb-08 22:09
love_man0014-Feb-08 22:09 
GeneralRe: Dynamically Fetch the Random records Pin
Christian Graus4-Feb-08 18:32
protectorChristian Graus4-Feb-08 18:32 
Question:^) Crystal Report [modified] Pin
sivaprakas4-Feb-08 16:34
sivaprakas4-Feb-08 16:34 
QuestionAjax Modal question with user control Pin
allenpotter4-Feb-08 8:36
allenpotter4-Feb-08 8:36 
QuestionASP.Net GridView Displaying DateTime value in the format 'dd-MM-yy' [modified] Pin
A.Redha4-Feb-08 4:10
A.Redha4-Feb-08 4:10 
Hi,

'm using a GridView in my website. I want to display DateTime Values using the format "dd/MM/yy". The Problem is that my WebGrid displays some data correctly but not all of them

(Jan 30 2008) is displayed "01-01-08"

(Feb 04 2008) is displayed "02-04-08"


Some code snippets :


<asp:gridview id="invoicesGridView" ..../ ><br />
<br /><columns><br />
<br /><asp:boundfield datafield="CmdDate" headertext="Date" sortexpression="Date" DataFormatString="{0:dd/MM/yy}" HtmlEncode="False"> <br />
<br />....<br />
<br /></asp:boundfield>



Note : When I tried to set HtmlEncodeFormatString to "False", my web page returns the error message :

Type 'System.Web.UI.WebControls.BoundField' does not have a public property named 'HtmlEncodeFormatString' !!!


Thanks in advance.

Rédha.

modified on Monday, February 04, 2008 10:17:28 AM

GeneralRe: ASP.Net GridView Displaying DateTime value in the format 'dd-MM-yy' Pin
bokuceres4-Feb-08 17:36
bokuceres4-Feb-08 17:36 
GeneralRe: ASP.Net GridView Displaying DateTime value in the format 'dd-MM-yy' Pin
A.Redha4-Feb-08 23:20
A.Redha4-Feb-08 23:20 
GeneralRe: ASP.Net GridView Displaying DateTime value in the format 'dd-MM-yy' Pin
bokuceres5-Feb-08 17:14
bokuceres5-Feb-08 17:14 
GeneralExporting multiple GridView to multiple sheets in single excel file Pin
pradeep kumarappagari4-Feb-08 2:58
pradeep kumarappagari4-Feb-08 2:58 
GeneralRe: Exporting multiple GridView to multiple sheets in single excel file Pin
pmarfleet4-Feb-08 4:09
pmarfleet4-Feb-08 4:09 
GeneralRegular Expresion with Javascript Pin
danasegaranea4-Feb-08 2:51
danasegaranea4-Feb-08 2:51 
GeneralRe: Regular Expresion with Javascript Pin
pmarfleet4-Feb-08 4:07
pmarfleet4-Feb-08 4:07 
Questionproblem with sound functionality in ASP.NET and C# Pin
S.Dhanasekaran4-Feb-08 2:33
S.Dhanasekaran4-Feb-08 2:33 
GeneralRe: problem with sound functionality in ASP.NET and C# Pin
Christian Graus4-Feb-08 17:25
protectorChristian Graus4-Feb-08 17:25 
GeneralRe: problem with sound functionality in ASP.NET and C# Pin
Steve Echols4-Feb-08 18:41
Steve Echols4-Feb-08 18:41 
GeneralRe: problem with sound functionality in ASP.NET and C# Pin
Steve Echols4-Feb-08 18:41
Steve Echols4-Feb-08 18:41 
GeneralASP.Net/C# - Trap the button click event from html content Pin
SB 4-Feb-08 2:17
SB 4-Feb-08 2:17 
GeneralRe: ASP.Net/C# - Trap the button click event from html content Pin
Paddy Boyd4-Feb-08 2:27
Paddy Boyd4-Feb-08 2:27 
QuestionHow do I get a control into my ToolBox Pin
Brady Kelly4-Feb-08 2:10
Brady Kelly4-Feb-08 2:10 
Generaldropdown Pin
ptvce4-Feb-08 1:35
ptvce4-Feb-08 1:35 
GeneralRe: dropdown Pin
pmarfleet4-Feb-08 4:04
pmarfleet4-Feb-08 4:04 
GeneralOnCheckedChanged not firing Pin
mastoj4-Feb-08 1:11
mastoj4-Feb-08 1:11 

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.