Click here to Skip to main content
15,896,063 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Drop Down List Pin
Partha G4-May-07 17:36
Partha G4-May-07 17:36 
AnswerRe: Drop Down List Pin
Kartik Rathi4-May-07 18:35
Kartik Rathi4-May-07 18:35 
Questionmy formView has not edit,delete,new buttons Pin
hdv2124-May-07 11:59
hdv2124-May-07 11:59 
AnswerRe: my formView has not edit,delete,new buttons Pin
aransiola5-May-07 0:39
aransiola5-May-07 0:39 
QuestionHelp Please Pin
yasso_1154-May-07 11:24
yasso_1154-May-07 11:24 
AnswerRe: Help Please Pin
SABhatti4-May-07 15:29
SABhatti4-May-07 15:29 
GeneralRe: Help Please Pin
yasso_1154-May-07 23:07
yasso_1154-May-07 23:07 
GeneralRe: Help Please Pin
SABhatti8-May-07 11:31
SABhatti8-May-07 11:31 
well the following code should be used in your SQL STATEMENT or stored procedure whateevr you are using

case when datefield='1/1/1900' then '' else convert(varchar, datefield, 101) end as datefield

or use OnRowDataBound="gv_RowDataBound" in html where you insert the gridview control and int he code behind create a sub

protected virtual void gv_RowDataBound(object source, gridviewroweventargs e)

and use this in this sub

if(row.Cells[datefieldindex].Text=='1/1/1900')
row.Cells[datefieldindex].Text = string.Empty;

look at this [^] for gridview


-----

AnswerRe: Help Please Pin
Naif_Prof5-May-07 1:36
Naif_Prof5-May-07 1:36 
GeneralRe: Help Please Pin
yasso_1155-May-07 5:55
yasso_1155-May-07 5:55 
QuestionPost back Pin
seemamltn4-May-07 10:06
seemamltn4-May-07 10:06 
AnswerRe: Post back Pin
kubben4-May-07 13:34
kubben4-May-07 13:34 
AnswerRe: Post back Pin
SABhatti4-May-07 16:36
SABhatti4-May-07 16:36 
QuestionText_changed event Pin
TheEagle4-May-07 9:59
TheEagle4-May-07 9:59 
AnswerRe: Text_changed event Pin
kubben4-May-07 13:36
kubben4-May-07 13:36 
GeneralRe: Text_changed event Pin
TheEagle4-May-07 16:31
TheEagle4-May-07 16:31 
GeneralRe: Text_changed event Pin
kubben5-May-07 1:13
kubben5-May-07 1:13 
GeneralRe: Text_changed event Pin
TheEagle5-May-07 1:54
TheEagle5-May-07 1:54 
GeneralRe: Text_changed event Pin
kubben5-May-07 2:05
kubben5-May-07 2:05 
AnswerRe: Text_changed event Pin
Sherin Iranimose8-May-07 1:04
Sherin Iranimose8-May-07 1:04 
QuestionPrinting query results loaded into datalist Pin
hutchison14-May-07 9:37
hutchison14-May-07 9:37 
QuestionButton click event Pin
seemamltn4-May-07 8:39
seemamltn4-May-07 8:39 
AnswerRe: Button click event Pin
Tarakeshwar Reddy4-May-07 9:01
professionalTarakeshwar Reddy4-May-07 9:01 
QuestionReading a Textbox into an array Pin
Ibuprofen4-May-07 8:10
Ibuprofen4-May-07 8:10 
AnswerRe: Reading a Textbox into an array Pin
Tarakeshwar Reddy4-May-07 8:15
professionalTarakeshwar Reddy4-May-07 8:15 

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.