.net 2.0 problem


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: .net 2.0 problem

Hybrid View

  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, 08:40 PM
  2. Can VS 2003 be used with .Net 2.0
    By BADAMS2006 in forum .NET
    Replies: 2
    Last Post: 11-21-2005, 10:47 PM
  3. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 07:46 AM
  4. Replies: 0
    Last Post: 11-19-2001, 06:08 PM
  5. Problem installing .NET on Win98
    By Banu Prakash in forum .NET
    Replies: 1
    Last Post: 04-08-2001, 03:12 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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center