Forms over Data Video Series #2 is Live!

Forms over Data Video Series #2 is Live!

  • Comments 49

I just uploaded more videos to Microsoft Downloads! I wanted to post the direct links here and the matching code downloads for all of you immediately even though MSDN will be creating a pretty landing page like this one for them this week, probably tomorrow or Wednesday. (I'll update this post when that's up).

Download the Forms over Data Video Series #2 and the associated code now!

Attachment: FormsOverDataSeries9-14.zip
Leave a Comment
  • Please add 6 and 2 and type the answer here:
  • Post
  • Hi Beth,

    I have been watching your videos series for about 4 months now, and they are really helpful. Your videos have inspired me a lot to engage on creating windows form application.

    My question is I have created a customers database a similar to the that have on the videos series, but I would like to is have a feature of code in the datagridview that allows users o search for a specific customer and select any customer from the datagridview to be added to the main form instead of just use that option to search for customers.  

    I hope you can help me with this question.

    Thank you in advance for your help.

    Thanks,

    Helder Marcelo

  • @Bari, if you are using local mode then you should be able to just supply a parameterized query to the TableAdapter and call that from the ReportViewer. Check out this site, it may help you: http://www.gotreportviewer.com/

    @Helder, I'm not sure what you mean by "add to the main form". Take a look at this post and see if it helps you: http://blogs.msdn.com/bethmassi/archive/2007/10/01/using-data-across-multiple-windows-forms.aspx

    HTH,

    -B

  • Hi Beth,

    My question is how to create a search from that allows you to select a customer from the query result, and by double clicking the selected customer should be automatically added to the main form (example: Orders form).  Let's take your OMS windows application from videos series as an example, You have the following tables: Customers, Orders, OrderDetails and Products. Assuming I have a huge number of customers, I have a created a customer search windows form that displays the customers' information  that I am looking for.What I would like to do is once I find the customer I am looking for, I would like to just double click that customer specific customer and have him/her added directly to my orders form.

    Thank you,

    Helder Marcelo

  • Hi Helder,

    You can just return the data from the search form back to your main form. You may only need an ID and a name to display though and not the whole datarow.

    HTH,

    -B

Page 4 of 4 (49 items) 1234