CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: JeffInTexas

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    3,018

    Null handling in cells for datagridview

    I need a quick lesson on doing this the right way.

    I have a datagridview (dgv) to contain a list (phones). Let's say a phone has 2 properties: PhoneNum and PhoneExt. Both are string.

    Now, when...
  2. Replies
    2
    Views
    1,679

    Re: Clone CheckedListBox.CheckedIndices

    I was aware of that function, but there does not appear to be a function that works in reverse order, so that the array is copied back in to the "non-reference" copy.

    But anyway, I might not have...
  3. Replies
    2
    Views
    1,679

    Clone CheckedListBox.CheckedIndices

    I am writing a custom CheckedListBox control, where part of its purpose will be to compare changes to Checked status of items with the status of those items when the control was first initialized...
  4. Replies
    3
    Views
    750

    Re: Extending Generic Control

    I didn't think of Reflection, so thanks for the suggestion. I see nothing in PropertyInfo that allows the addition of a property to a particular type.

    Where class CustomControl: Control....
    ...
  5. Replies
    3
    Views
    750

    Extending Generic Control

    I would like to add properties to controls of every type. For example, each generic control has a "Tag" property. I'd like to add a property "ControlDescription" and some others to do some things...
  6. Replies
    1
    Views
    988

    Re: runtime DesignSurface controls quirk

    No takers?

    Apparently, it's probably not a "quirk." After exhaustive researching, I finally found that it appears that whether or not a control is in designer mode can be tested through the...
  7. Replies
    1
    Views
    988

    runtime DesignSurface controls quirk

    I am using the DesignSurface (ds) at runtime to allow end user to move and re-size controls.
    I want the user to be able to pre-view the form in another tab, the "Preview" tab. When user selects...
  8. Replies
    0
    Views
    1,266

    Multitouch events for trackpad?

    Does anyone know whether C# Windows Forms apps can be programmed to handle multitouch events on trackpads, such as 2-finger swipes to scroll up/down or left/right, etc.?

    Links to sources, code...
  9. Re: [RESOLVED] What exactly are the doing?

    I did some additional reading. Thanks for giving me the keyword "Generics." I pretty much get it, now.
  10. Re: What exactly are the doing?

    Thanks, Bio. It sort-of makes sense. Your explanation is better for a newbie tan the long article at the link.

    But what I don't understand is, Why add the <int> to List in the first place? ...
  11. [RESOLVED] What exactly are the doing?

    DataTable<Customer> Customers=db.GetTable<Customer>();

    I understand the simple DataTable myTable = new DataTable;

    Please describe what adding <Customer> is called, how the system handles it and...
  12. Re: App to create, compile and run a VS project.

    I agree. I don't think it would be all too great to have a newbie learn some programming steps while skipping major components. I'm a newbie in C# myself. What the world lacks is a good book. ...
  13. Replies
    5
    Views
    1,209

    Re: Loop through txtbox Names

    Here is probably the best link. I bet you could create a generic function using all this.

    http://msdn.microsoft.com/en-us/library/system.codedom.compiler.codedomprovider.aspx
  14. Replies
    5
    Views
    1,209

    Re: Loop through txtbox Names

    Wish I had the answer. From what I gather, it is a small PITA where you will have to write some chunks of code to allow for "runtime evaluation" (Google the phrase).

    I subscribed to this...
  15. Replies
    4
    Views
    953

    Re: need some help in creating classes

    public Form1()
    {

    InitializeComponent();

    Flower flower1 = new Flower(1, 1, 1, 1, "Daisy");
    MessageBox.Show("flower1: \n\n FlowerType=" +...
  16. Re: [RESOLVED] Combobox for Multiple columns; 1 column visible

    Ah! I thought I did, but apparently, changing the title is not the way to do it. I figured it out.
  17. [RESOLVED] Combobox for Multiple columns; 1 column visible

    I want the combobox control effect to provide a drop-down list of Customers. However, I need to make sure that each combobox.item relates to a customer in the database.

    I wanted to be able to...
  18. Replies
    3
    Views
    792

    Re: SQL Stored Procedures?

    Okay, in that case, it seems only useful for conserving resources (speed). However, if you have a small database (not like CitiGroup, or something), it doesn't seem then that stored procs are...
  19. Replies
    3
    Views
    792

    SQL Stored Procedures?

    What's the big deal? Why use them as opposed to coding the procedures in your app?
  20. Replies
    15
    Views
    2,516

    Re: Using and SQL database

    Well, I stumbled on this page with a lot of information for beginners, including videos. The videos are really helpful, but they move fast. I would highly recommend these be linked to somewhere in...
  21. Replies
    4
    Views
    1,944

    Re: Displaying Data from SQL Express db

    Update. A few hours more of digging, and I think I have found that I was using the older LINQ method.

    So, now I get it, I think. That is, LINQ depends on datasets and dataadapters, whereas...
  22. Replies
    4
    Views
    1,944

    Re: Displaying Data from SQL Express db

    It looks like I am getting the hang of something here:

    dbConnection.Open();
    dbDataAdapter=new SqlDataAdapter(sql,dbConnection);
    dbDataSet = new DataSet();
    ...
  23. Replies
    4
    Views
    1,944

    Re: Displaying Data from SQL Express db

    I thought "refreshing" the database in the wizard means that the wizard goes out and gets all the changes made to your data structure which might have been made elsewhere, like in Server Studio. If...
  24. Replies
    15
    Views
    2,516

    Re: Using and SQL database

    Arjay, you just might be the person I've been looking for to steer me right. Let be describe briefly where I am at in the curve and what I am looking for (and even willing to pay for).

    I...
  25. Replies
    15
    Views
    2,516

    Re: Using and SQL database

    Thank you, Arjay. You are not too late. I need to get a decent grip of the various methods that are available to me, along with their pros and cons and the syntax with which you invoke them. ...
Results 1 to 25 of 39
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured