Click here to Skip to main content
15,915,093 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Search Results Count with Gridview Pin
Not Active15-Sep-06 3:56
mentorNot Active15-Sep-06 3:56 
AnswerRe: Search Results Count with Gridview Pin
danetix15-Sep-06 4:45
danetix15-Sep-06 4:45 
QuestionHow to restrict the size of image at the time of upload Pin
narendrakumarp15-Sep-06 2:21
narendrakumarp15-Sep-06 2:21 
AnswerRe: How to restrict the size of image at the time of upload Pin
Britney S. Morales15-Sep-06 3:40
Britney S. Morales15-Sep-06 3:40 
QuestionDatagrid problem Pin
Amit Agarrwal15-Sep-06 1:57
Amit Agarrwal15-Sep-06 1:57 
AnswerRe: Datagrid problem Pin
_AK_15-Sep-06 2:01
_AK_15-Sep-06 2:01 
GeneralRe: Datagrid problem Pin
Amit Agarrwal15-Sep-06 2:21
Amit Agarrwal15-Sep-06 2:21 
GeneralRe: Datagrid problem Pin
_AK_15-Sep-06 2:38
_AK_15-Sep-06 2:38 
In the OnItemDatabound(this gets executed for each and every row of the datagrid) event first you have to get the value and depending upoin it you can display the message what you want. Sample code
public void test(object sender, DataGridItemEventArgs e)<br />
		{<br />
			<br />
			if(e.Item.ItemType==ListItemType.Item || e.Item.ItemType==ListItemType.AlternatingItem)<br />
			{<br />
				DataRowView drv = (DataRowView)e.Item.DataItem;<br />
                                if(drv["Yourcolumnname"].Tostring() == "0")<br />
                                {<br />
                                    //Set whatever value you want.<br />
                                }<br />
                                else<br />
                                {//Set whatever value you want.}<br />
         }<br />
}


Best Regards,
Apurva Kaushal

AnswerRe: Datagrid problem Pin
postmaster@programmingknowledge.com15-Sep-06 2:31
postmaster@programmingknowledge.com15-Sep-06 2:31 
GeneralRe: Datagrid problem Pin
Amit Agarrwal15-Sep-06 2:57
Amit Agarrwal15-Sep-06 2:57 
QuestionPage Details On Back Button Pin
kirthikirthi15-Sep-06 1:46
kirthikirthi15-Sep-06 1:46 
AnswerRe: Page Details On Back Button Pin
_AK_15-Sep-06 2:04
_AK_15-Sep-06 2:04 
QuestionPls help....................... Pin
hai2muru15-Sep-06 1:25
hai2muru15-Sep-06 1:25 
AnswerRe: Pls help....................... Pin
Suresh Pirsquare15-Sep-06 1:29
Suresh Pirsquare15-Sep-06 1:29 
AnswerRubbish subject Pin
J4amieC15-Sep-06 1:40
J4amieC15-Sep-06 1:40 
Questionreports viewer tool problems? Help! Pin
honeyman_can15-Sep-06 1:11
honeyman_can15-Sep-06 1:11 
QuestionDifference among data grid ,datagrid,repeater Pin
rajaragothaman15-Sep-06 1:07
rajaragothaman15-Sep-06 1:07 
QuestionObject Pooling Pin
rajaragothaman15-Sep-06 0:25
rajaragothaman15-Sep-06 0:25 
AnswerRe: Object Pooling Pin
_AK_15-Sep-06 0:30
_AK_15-Sep-06 0:30 
GeneralRe: Object Pooling Pin
rajaragothaman15-Sep-06 0:34
rajaragothaman15-Sep-06 0:34 
GeneralRe: Object Pooling Pin
_AK_15-Sep-06 0:40
_AK_15-Sep-06 0:40 
GeneralRe: Object Pooling Pin
Amit Kumar G15-Sep-06 2:59
Amit Kumar G15-Sep-06 2:59 
QuestionWhat is Web Farm and Web Garden ? Pin
rajaragothaman15-Sep-06 0:22
rajaragothaman15-Sep-06 0:22 
AnswerRe: What is Web Farm and Web Garden ? Pin
mbbisht15-Sep-06 1:46
mbbisht15-Sep-06 1:46 
Questionstore a file on a mobile phone from an asp.net page via WAP Pin
srikanth134314-Sep-06 23:54
srikanth134314-Sep-06 23:54 

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.