Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Convert into VB

Convert into VB

Scheduled Pinned Locked Moved Visual Basic
csharpdesignhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chiari
    wrote on last edited by
    #1

    Hi all, I really need to convert the C# code below into VB. If possible can advise me where is the most approriate place to place this portion of code. The code is to wire the parent datagrid for the ItemCreated event and ItemDataBound event. Please help me. private void InitializeComponent() { this.load += new System.EventHandler(this.Page_Load); this.dgRegion.ItemCreated += new DataGridItemEventHandler(dgRegion_ItemCreated); this.dgRegion.ItemDataBound += new System.Web.UI.WebControls.DataGridItemEventHandler(this.dgRegion_ItemDataBound); } Thanks in advance, Chiari

    K 1 Reply Last reply
    0
    • C Chiari

      Hi all, I really need to convert the C# code below into VB. If possible can advise me where is the most approriate place to place this portion of code. The code is to wire the parent datagrid for the ItemCreated event and ItemDataBound event. Please help me. private void InitializeComponent() { this.load += new System.EventHandler(this.Page_Load); this.dgRegion.ItemCreated += new DataGridItemEventHandler(dgRegion_ItemCreated); this.dgRegion.ItemDataBound += new System.Web.UI.WebControls.DataGridItemEventHandler(this.dgRegion_ItemDataBound); } Thanks in advance, Chiari

      K Offline
      K Offline
      killawatt
      wrote on last edited by
      #2

      Private Sub InitializeComponent() Me.load += New System.EventHandler(Me.Page_Load) Me.dgRegion.ItemCreated += New DataGridItemEventHandler(dgRegion_ItemCreated) Me.dgRegion.ItemDataBound += New System.Web.UI.WebControls.DataGridItemEventHandler(Me.dgRegion_ItemDataBound) End Sub http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx Jereme Watts

      C 1 Reply Last reply
      0
      • K killawatt

        Private Sub InitializeComponent() Me.load += New System.EventHandler(Me.Page_Load) Me.dgRegion.ItemCreated += New DataGridItemEventHandler(dgRegion_ItemCreated) Me.dgRegion.ItemDataBound += New System.Web.UI.WebControls.DataGridItemEventHandler(Me.dgRegion_ItemDataBound) End Sub http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx Jereme Watts

        C Offline
        C Offline
        Chiari
        wrote on last edited by
        #3

        Hi Watt, Thanks for conversion. However I can't use these codes. It gave me errors. Please advise. Thanks in advance, Chiari

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups