datarelation
Get Table in DataRelation at runtime
I try to explain with an example what i need I have a Patient and Order tables in db. Patient can have multiple orders through stored procedure i will get patient attributes and orders related to tha[详细]
2023-04-08 20:55 分类:问答Inserting NULL into DataTable
Morning (in RSA at least), I\'m trying to create a data driven menu, using data from a self-referencing table to create a (2-level) hierarchical structure. Example Data is:[详细]
2023-04-04 14:27 分类:问答Finding DataSet rows which violate a foreign relation?
If I do something like the following and then add a row that has a foreign key value that is not a primary key value in the parent table, no error is thrown. What I would like to do is the following:[详细]
2023-03-27 06:59 分类:问答Using DataRelations and DevExpress Grids - Hide expansion control
I have a bit of a weird issue. We use DevExpress controls to do all our Windows Form development. Anyway, I found a perfect use for the DataRow.SetParentRow/GetParentRow methods in my grid. So I creat[详细]
2023-03-19 20:28 分类:问答A TableRow referenced trought a DataRelation always returns null
Using the DataSet designer in Visual Studio 2010, I\'ve added some tables from a MySql DB. VS10 automatically picks up and adds the relations between the tables, e.g., the relation \"FK_organisatie_ad[详细]
2023-02-14 04:52 分类:问答Populating object properties from DataSet using LINQ
Here is my current relationship DataRelation relation = new DataRelation(\"EventCategoryRelation\", eventsTable.Columns[\"event_id\"], eventCategoriesTable.Columns[\"event_id\"]);[详细]
2023-02-06 03:22 分类:问答.net dataset how to get deleted child rows
I have a strongly-typed dataset (VB.NET), using .NET Framework 2.0.Given a DataRow in a parent DataTable and a DataRelation, I need to find all related rows in the child DataTable that have a RowState[详细]
2023-02-01 22:18 分类:问答How to join datatables of a dataset?
I have a dataset which have four datatables. Table[0] contains columns such as: storedProcedure,DLLMethod,BLLMethod[详细]
2023-01-27 20:21 分类:问答How to model data entities with multiple parents?
How would I model a relationship between multiple entities where one entity could be part of two separate, unrelated, hierarchies and each entity could be related to 1 or more other entities in a non-[详细]
2023-01-14 09:13 分类:问答Why combobox refresh doesn't work?
I have a complex problem, could you please help me. The problem: I have a form with a TabControl. There are two TabPages in the first is a dataGridView and in the second are multiple comboboxes.[详细]
2022-12-21 23:01 分类:问答