For Programmers: Free Programming Magazines  


Home > Archive > C# > February 2005 > DataGrid Question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DataGrid Question
jll0330

2005-02-07, 7:26 pm

Hi Everyone,

I have a question, and I really don't know how to make it works. The questions is that I have a LinkButton Column on a DataGrid table.

:
protected System.Web.UI.WebControls.DataGrid dgInfo;
:
dgInfo.Items[j].Cells[1].Text = "MyData";
:
:

After I change the cell text to "MyData", the cell losts the link. Does there have any way to change the LinkButton text to two different texts and keep the link button attribute?


Thanks a lot ....
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com