How to get value from gridview row cell inASP.NET by VB.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • minhtran
    New Member
    • Feb 2008
    • 28

    How to get value from gridview row cell inASP.NET by VB.NET

    HI all
    Please, anyone has any idea how to get value from gridview in ASP.NET using VB.Net. I use C# as a code Gridview1.Selec tedRow.Cell(i). Text , it works but not on VB.NET. If any one can help me please. Thank you very much in advance
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    Originally posted by minhtran
    HI all
    Please, anyone has any idea how to get value from gridview in ASP.NET using VB.Net. I use C# as a code Gridview1.Selec tedRow.Cell(i). Text , it works but not on VB.NET. If any one can help me please. Thank you very much in advance
    Your question is confusing. Are you currently using C# or VB.NET? If you are using C#, array indexes are surrounded with [], not (). So: Gridview1.Selec tedRow.Cell[i];

    Comment

    • minhtran
      New Member
      • Feb 2008
      • 28

      #3
      Originally posted by insertAlias
      Your question is confusing. Are you currently using C# or VB.NET? If you are using C#, array indexes are surrounded with [], not (). So: Gridview1.Selec tedRow.Cell[i];
      thank for reply


      at the moment I use VB.net so

      Gridview1.Selec tedRow.Cell(i). Text does not work.. Please any idea how. Thaks a lot.

      Comment

      Working...