User Profile

Collapse

Profile Sidebar

Collapse
lanmou
lanmou
Last Activity: Nov 17 '06, 09:15 PM
Joined: Sep 5 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • well to be more clearer i would like to provide more information on my form.
    this form is displaying only the text boxes right now.so all the input would have to be updated from these dynamic textboxes to the database.
    this is my code in the forms load event:

    visual basic code:--------------------------------------------------------------------------------
    Code:
    Private Sub frmDataEntry_Load(ByVal sender As Object, ByVal
    ...
    See more | Go to post

    Leave a comment:


  • updating data into the database from dynamically created controls..

    hi,
    Iam developing a application where a form displays dynamically created contols and displays data in it from the database.
    this form allows the user to edit records and any changes made to it should be updated in to the database.
    since the contols are dynamically created iam not able to figure out how to refer to them and save the changes.
    can anyone guide me here please.i would really appreciate the help.
    t...
    See more | Go to post

  • got it done.

    Code:
     Try
                If cn.State = ConnectionState.Closed Then
                    cn.Open()
                End If
    
                cn1.Open()
                str1 = "SELECT FldAn FROM tblCustomFieldAnswers WHERE AcctNum='" & m_stracctnum1 & "' And CustID = " & m_intcustnum1 & ""
                cmd1 = New OleDbCommand(str1, cn1)
    ...
    See more | Go to post

    Leave a comment:


  • hi,
    i tried doing this. but now it only displays the data in the last control but all other controls are empty.can anyone help?

    Code:
    While dr.Read
    
                    pt1 = New Point(10, cnt1 + 10)
    
                    labl = New Label
                    labl.Text = dr(i) & ":"
                    labl.TextAlign = ContentAlignment.MiddleRight
                    labl.Location = pt1
    ...
    See more | Go to post

    Leave a comment:


  • getting data in dynamic controls through msaccess database

    hi,
    i am creating a form in my application which dynamically creates controls by getting information from a table in ms access database .now i would like it to get the text by using another table .
    my code:
    Code:
     Private Sub frmDataEntry_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
            Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;Data Source=" & Application.StartupPath
    ...
    See more | Go to post

  • i know how to dynamically create a control and fill the text.
    the next step would be to read the rows in the table and then as it reads each row (fields column from each row for that customerID) i have to create textboxes at different locations so that they don't overlap(the points should increment as it goes from one row to another).
    need some help with the code for looping through to read the table and how to increment the position...
    See more | Go to post

    Leave a comment:


  • How to dynamically create controls in a vb.net form???

    hi,
    Iam working on an application where the user gives the fields they want in a particaular clients records.(this is a form where there are textboxes where they enter the field names and data type and also checkboxes where they check the predifined fields with datatypes.)thes e fields are stored in a MSaccess table and there is another table which stores the answers to this table.
    Now what i want to do is, when they enter a button they...
    See more | Go to post

  • delete item from a listbox while its datasource property is set??

    hi,
    I have a listbox whose datasource property is set.i would like to
    delete the item from the listbox after the records of that item are deleted from the database.the selecteditem.cl ear or refresh nothing is working.is there a way to delete the item from the listbox while its datasource property is set??
    thanks,
    See more | Go to post
No activity results to display
Show More
Working...