Click here to Skip to main content
15,891,733 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Datagrid-Date Problem Pin
Sophia Rekhi26-Apr-07 1:35
Sophia Rekhi26-Apr-07 1:35 
GeneralRe: Datagrid-Date Problem Pin
Sathesh Sakthivel26-Apr-07 1:35
Sathesh Sakthivel26-Apr-07 1:35 
GeneralRe: Datagrid-Date Problem Pin
A kamath26-Apr-07 2:17
A kamath26-Apr-07 2:17 
GeneralRe: Datagrid-Date Problem Pin
Sathesh Sakthivel26-Apr-07 2:21
Sathesh Sakthivel26-Apr-07 2:21 
GeneralRe: Datagrid-Date Problem Pin
A kamath26-Apr-07 2:23
A kamath26-Apr-07 2:23 
GeneralRe: Datagrid-Date Problem Pin
Sathesh Sakthivel26-Apr-07 2:26
Sathesh Sakthivel26-Apr-07 2:26 
GeneralRe: Datagrid-Date Problem Pin
A kamath26-Apr-07 2:27
A kamath26-Apr-07 2:27 
GeneralRe: Datagrid-Date Problem Pin
Sathesh Sakthivel26-Apr-07 2:32
Sathesh Sakthivel26-Apr-07 2:32 
In the BoundField event of the DataGrid, Place you code to convert the format.

private void dg_BoundField(object, e)
{
e.Items[3].Value = ((System.DateTime) e.Items[3]).ToString("dd/MM/yyyy",
System.Globalization.DateTimeFormatInfo.InvariantI nfo)
}

Try with this code this will solve your problem.

It will display only date.

Regards,

Satips.

GeneralRe: Datagrid-Date Problem Pin
A kamath26-Apr-07 2:40
A kamath26-Apr-07 2:40 
GeneralRe: Datagrid-Date Problem Pin
Sathesh Sakthivel26-Apr-07 2:41
Sathesh Sakthivel26-Apr-07 2:41 
GeneralRe: Datagrid-Date Problem Pin
Chetan Ranpariya26-Apr-07 20:43
Chetan Ranpariya26-Apr-07 20:43 
AnswerRe: Datagrid-Date Problem Pin
sra2226-Apr-07 2:06
sra2226-Apr-07 2:06 
QuestionA connection with the server could not be established. Pin
MissionSuccess26-Apr-07 1:03
MissionSuccess26-Apr-07 1:03 
AnswerRe: A connection with the server could not be established. Pin
Christian Graus26-Apr-07 1:13
protectorChristian Graus26-Apr-07 1:13 
GeneralRe: A connection with the server could not be established. Pin
MissionSuccess26-Apr-07 1:27
MissionSuccess26-Apr-07 1:27 
QuestionUsing master pages Pin
Russell Jones26-Apr-07 0:56
Russell Jones26-Apr-07 0:56 
AnswerRe: Using master pages Pin
kubben26-Apr-07 2:22
kubben26-Apr-07 2:22 
GeneralRe: Using master pages Pin
Russell Jones26-Apr-07 4:22
Russell Jones26-Apr-07 4:22 
GeneralRe: Using master pages Pin
kubben26-Apr-07 4:39
kubben26-Apr-07 4:39 
GeneralRe: Using master pages Pin
Russell Jones26-Apr-07 5:07
Russell Jones26-Apr-07 5:07 
Questionmodifying excel tables with asp.net Pin
TechnoGrey26-Apr-07 0:53
TechnoGrey26-Apr-07 0:53 
QuestionHow can i automatically move from Http to Https Pin
pankaj tanwar26-Apr-07 0:03
pankaj tanwar26-Apr-07 0:03 
Question301 Permanent redirect. Pin
Jes M George26-Apr-07 0:03
Jes M George26-Apr-07 0:03 
AnswerRe: 301 Permanent redirect. Pin
Chetan Ranpariya26-Apr-07 0:43
Chetan Ranpariya26-Apr-07 0:43 
QuestionCannot add or remove tables from the DataSet once the DataSet is mapped to a loaded XML document.. Pin
Imran Khan Pathan26-Apr-07 0:01
Imran Khan Pathan26-Apr-07 0:01 

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.