User Profile

Collapse

Profile Sidebar

Collapse
perdijc
perdijc
Last Activity: Oct 23 '10, 09:29 PM
Joined: Sep 14 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • perdijc
    started a topic pass value from binding source to variable

    pass value from binding source to variable

    I create a dataset via visual studio wizard and then I drag some columns to a form in details mode. So in my form I have some coontrols binding to bindingsource.

    If a run the project, all controls are syncronized with the data. It means the bindingsource pass the data to the controls.

    qUESTION
    How can I pass value from bindingsource (current record and column "xxx") to a variable?

    I thinks...
    See more | Go to post

  • perdijc
    replied to print to immediate window
    I found immediate window and i worte:
    Console.WriteLi ne("Hi");

    the result was:
    Expression has been evaluated and has no value

    The idea is not to write to immediate window.
    in ms access some times i want to see for example a result from a loop and then write a line something debug.print variabletosee

    Example.

    for (int i = 0; i < 20; i++)
    ...
    See more | Go to post

    Leave a comment:


  • perdijc
    started a topic print to immediate window

    print to immediate window

    In ms access i can print the results to immediate window as follow:

    debug.print "testing"

    if i go to imediate window i see in the screen: testing
    how can i print to imediate window in c#?

    Thanks,
    regards,

    jose
    See more | Go to post

  • method to update database based in stored procedure as ms access project

    The wizard to create dataset, automatically creates a method to update table if the dataset is based on table.

    If i create a dataset based on sotored procedure where this is based on more one table, it doesn´t create the update method.

    Any bodyelse, knows any wizard or addin where i can create update method based on stored procedure?

    Im ms access project if I bound a form to stored procedure, in the properties...
    See more | Go to post

  • perdijc
    started a topic Save data based on dataset with computed columns

    Save data based on dataset with computed columns

    1. I created a dataset based on the table with computed columns with a wizard.
    2. A create a form bound to dataset.
    3. When I try to save, it shows a message:
    The column LoadDate cannot modify because it is either a computed column or is the result of UNION operator.

    It is right, the column LoadDate is computed column and it can not modified.

    Question.

    How can I save the regulars columns...
    See more | Go to post

  • It works, this is what I want.

    Thans a lot,

    Jose
    See more | Go to post

    Leave a comment:


  • the goal of this method is to pass the name of the user control and add it to the panel (in this case, add t splct container panel2).

    Method:
    private void addUserControls (UserControl uc)
    {
    splitContainer1 .Panel2.Control s.Clear();
    uc = new UserControl();
    splitContainer1 .Panel2.Control s.Add(uc);
    uc.Dock = DockStyle.Fill;
    }...
    See more | Go to post

    Leave a comment:


  • The goal of this method is to pass the name of the uer control and add it to the panel.

    On the buton I run the following code:
    private void btnShip_Click(o bject sender, EventArgs e)
    {
    addUserControls (frmCargo);
    }

    When I run the method, it doesn't work I mean there is error.
    The error is the following
    'DB_Lift_CS.frm Cargo' is a 'type' but is used...
    See more | Go to post

    Leave a comment:


  • perdijc
    started a topic create a method to add any user control to panel

    create a method to add any user control to panel

    I have a form with a split container. On the left panel there are buttons where I click to show the user control on the right panel.

    I would like to create a method to assign in each button to add the user control to left panel. I tried the following code but it doesn't work.

    Could you help me?

    private void addUserControls (UserControl uc)
    {
    splitContainer1 .Panel2.Control s.Clear();...
    See more | Go to post
No activity results to display
Show More
Working...