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

Search:

Type: Posts; User: klintan

Page 1 of 24 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    765

    Re: DataGridView automatic update

    Use DataAdapter.Update()
  2. Replies
    1
    Views
    496

    Re: Mid-size project recommended source tree

    I have structure our version control structure like this:

    Root (All solution files here)
    - Database (Database scripts)
    - Design (Design documents)
    - External (External DLL:s, 3rd party...
  3. Replies
    4
    Views
    1,052

    Re: OleDbDataAdapter not working

    Try running the query from Access directly (create a new query and switch to SQL view to enter SQL code in access).
  4. Re: Fill a DataSet from a data source and update another data source

    I don't know any built-in function for this, I would have used a Merge algorithm, search for Merge or MergeSort and you will find lots of examples.
  5. Replies
    2
    Views
    505

    Re: Creating a managed object by name

    Yes, it can be done using System.Reflection.
  6. Replies
    7
    Views
    2,868

    Re: Static Inheritance

    I suggest creating a separate class hierarchy for those things that are "static"; say you have Page and PageTemplate, LeftPage and LeftPageTemplate etc. the TemplatePage class could hold those...
  7. Re: Extract table information from MS Access databse

    It is fairly easy to write an application to do this in VB 6.0 or .Net (like C# or VB.Net).

    A lot of tools can extract the information for you as well, like Visio, Enterprise Architect from Sparx...
  8. Replies
    1
    Views
    550

    Re: Not Using [Flags] with Enumerations !

    The flags attribute controls how the enum is converted to a string, and how a property grid can convert a string to an enum. Nothing else. (Except telling other programmers that this it is a flag.)
  9. Replies
    1
    Views
    777

    Re: How to invoke delegates from any C# class

    private object MyMethod(ResponseHandler handler, object[] arguments)
    {
    // Do something
    }

    ...
    ResponseHandler rh = new ResponseHandler(...);
    ResponseProxy rp = new ResponseProxy(MyMethod,...
  10. Replies
    1
    Views
    1,084

    Re: RollBack in C#.Net

    You can use either ADO .Net transaction or System.Transactions. Look at MSDN for examples.
  11. Thread: OOP problems

    by klintan
    Replies
    7
    Views
    614

    Re: OOP problems

    Another thing to look at is games, really simple games, or perhaps solitaire games.

    I have seen a lot of programmers in C# and Java that not have grasped the concepts of OOP, and the result is...
  12. Replies
    13
    Views
    1,334

    Re: Dynamic casting

    One additional idea, if you are going down this route, writing generic database code, I suggest using reflection all the way.

    You could:
    a) reflect all properties of the class you are loading...
  13. Replies
    13
    Views
    1,334

    Re: Dynamic casting

    Try something like:




    GetType().GetProperty("Property1").SetValue(this, table.rows[0][Column.ColumnName], null);
  14. Re: Xaml: Data Binding Two Controls To One Source

    I have not used XAML but if two controls are bound to the same property of your data source then either control should change once the other control changes the property in the data source.
  15. Re: Help. Getting exception when I rebind grid to another dataset and change column names

    I tried this code and it worked fine:



    private void button1_Click(object sender, EventArgs e)
    {
    DataTable dt = new DataTable();
    dt.Columns.Add(new DataColumn("T1", typeof(int)));
    ...
  16. Replies
    2
    Views
    556

    Re: Events in List

    Which events?

    You can subscribe to events of objects in the list before or after they are added to the list.

    You can use System.ComponentModel.BindingList<T> which implements the IBindingList...
  17. Replies
    6
    Views
    682

    Re: List questions

    1) Note that System.ComponentModel.BindingList<T> implements events for a list.

    2) The only ways I can think of to do this is to

    a) define or use an existing interface (such as...
  18. Replies
    8
    Views
    823

    Re: invoice program xml or ms access or ...?

    Well database file can be created from code, access path can be defined by code, and in a single user scenario perhaps you don't have to bother with permissions (but that depends on the requirements...
  19. Replies
    8
    Views
    823

    Re: invoice program xml or ms access or ...?

    I think the Jet database engine (Access MDB files) has a few advantages:

    - It does not require any database installation
    - It is quite fast for most single user scenarios
    - It is easy to...
  20. Thread: MS Access????

    by klintan
    Replies
    5
    Views
    786

    Re: MS Access????

    Does this help? http://support.microsoft.com/kb/317114
  21. Replies
    7
    Views
    760

    Re: Resizing Part II

    Add a Panel to the Form. Dock it to the left. Set Dock to Fill for the FlowLayoutPanel. Skip the resize events.
  22. Replies
    11
    Views
    805

    Re: Dataset instansiation problem

    Yes, that's the way to go. An alternative way is to pass the string for the select command and the connection string or the connection object to the constructor of the data adapter.
  23. Replies
    11
    Views
    805

    Re: Dataset instansiation problem

    Have you set the select command object of the data adapter?
  24. Re: Showing + sign to child node in treeview control in C#

    I have solved it in the same way, in my app I have a tree view that could contain a lot of items from the DB and it would take to long time to populate the entire tree view.

    When I add new nodes...
  25. Replies
    6
    Views
    784

    Re: TreeView Populating

    Well, with my code you don't have to add the root node first, all nodes are added in the populate method.

    The ?: operator in C# corresponds to the Iif function in VB, however Iif will evaluate...
Results 1 to 25 of 582
Page 1 of 24 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center