-
retrieve text from linkbutton template column of a datagrid
I have a datagrid with linkbutton column . I was able to retrieve the text of the linkbutton in the column normally but when I converted the linkbutton column as template coloumn I was not able to retieve the text using
strcmd = CType(e.Item.Cells(2).Controls(0), LinkButton).Text
I tried using
lblmsg.Text = e.Item.Cells(2).Text
and
' Dim strcmd As String = (CStr(CType(e.Item.FindControl("'&veh_vin&'"), LinkButton).Text))
toooo....
but I am unable to retrieve the text....
how else can I achieve
Similar Threads
-
Replies: 0
Last Post: 05-07-2002, 02:12 PM
-
Replies: 1
Last Post: 11-06-2001, 09:43 AM
-
Replies: 3
Last Post: 08-30-2001, 11:45 AM
-
By George Gilbert in forum vb.announcements
Replies: 0
Last Post: 08-19-2001, 11:34 AM
-
Replies: 1
Last Post: 06-11-2001, 06:14 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks