DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004
    Location
    Saudi Arabia
    Posts
    63

    Talking .net 2.0 problem

    hi friends,
    i am having a small problem i used to write a particular block of code in .net 1.1 its not supporting in .net 2.0 following is the code
    Dim item As DataGridItem
    For Each item In Dg1.Rows
    Dim pageId As Integer = CInt(Dg1.DataKeys(item.ItemIndex))
    Dim chkProgress As CheckBox = item.FindControl("chk_CanAccess")
    Next

    how shall i write this code in .net 2.0

    regards jabbar

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    That code should work in .NET 2.0. What error message does it give you?
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 2
    Last Post: 10-09-2006, 07:40 PM
  2. Can VS 2003 be used with .Net 2.0
    By BADAMS2006 in forum .NET
    Replies: 2
    Last Post: 11-21-2005, 09:47 PM
  3. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 06:46 AM
  4. Replies: 0
    Last Post: 11-19-2001, 05:08 PM
  5. Problem installing .NET on Win98
    By Banu Prakash in forum .NET
    Replies: 1
    Last Post: 04-08-2001, 02:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links