User Profile

Collapse

Profile Sidebar

Collapse
hrutu
hrutu
Last Activity: Dec 30 '13, 04:29 AM
Joined: Dec 4 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • how to avoid error CommandText property has not been initialized properly

    database is in the sqlYog, while i run this program i am getting the error CommandText property has not been initialized properly..? please help me

    Code:
    Imports MySql.Data.MySqlClient Imports System.Data
    
    Partial Class login Inherits System.Web.UI.Page
    
    Public dbconn As New MySqlConnection
    Public sql As String
    Public dbcomm As New MySqlCommand
    Protected Sub Page_Load(ByVal sender As Object, ByVal
    ...
    See more | Go to post
    Last edited by Rabbit; Dec 27 '13, 04:51 PM. Reason: Please use [CODE] and [/CODE] tags when posting code or formatted data.

  • hrutu
    started a topic how to get output from array element

    how to get output from array element

    In this program i created one array, while clicking on the get button it does not show the any output because the str variable is empty, how should i get proper output... Please help me




    Code:
    Partial Class dynamic_array
        Inherits System.Web.UI.Page
        Dim s(2) As String
    
        Dim str As String
    
    
        Protected Sub btn_save_Click(sender As Object, e As System.EventArgs)
    ...
    See more | Go to post
    Last edited by zmbd; Dec 13 '13, 06:06 PM. Reason: [Rabbit; Please use [CODE] and [/CODE] tags when posting code or formatted data.] [Z{Please do not YELL, changed post to proper sentence case - easier on the eyes!}]

  • Object reference not set to an instance of an object

    I am getting an error "object reference not set to an instance of an object"

    Code:
    Partial Class dynamic_array
        Inherits System.Web.UI.Page
    
        Dim s() As String
        Dim i As Integer = 0
    
        Protected Sub btn_set_Click(sender As Object, e As System.EventArgs) Handles btn_set.Click
    
            ReDim s(CInt(txt_no.Text))
        End Sub
    
        Protected Sub btn_save_Click(sender
    ...
    See more | Go to post
    Last edited by Frinavale; Dec 10 '13, 05:42 PM. Reason: Added code tags. Added the problem stated in the title to the body of the tread to give context the code posted.
No activity results to display
Show More
Working...