|
I'm prototyping my first MVC application, it's a simple forum. I've done part of the domain model and I'm trying to figure out how to do something that's pretty basic in SQL alone, but I can't figure it out in my application. Here are my Entities:
[Table...
Started by Dzejms on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Now I'm assuming your User table and your Forums table both have) select f;
You should have another Entity class (probably should be internal) that mirrors your PK/FK relationships....
AllowedForums table in the database.
|
|
I have an Access database that I inherited and am trying to add some search functionality to it. This is simply a database that holds patient records such as name, address, phone etc. What I want to do is search by last name and have the rest of the form...
Started by Jim on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you can edit your access database (see @raj's comments), you might then be able-a-database-in-microsoft....
Questions/1407940/ms-access-passing-parameters-from-one-access-form-to-another
http://stackoverflow.com functionality.
|
|
I have a GridView being populated from a non-SQL database that we use internally. One of those fields is a stockroom location. (Example: AAA, AAB, AAC, etc.)
In another database (SQL) I keep a list of all stockrooms and give them a weight. The weight ...
Started by Gary the Llama on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Use your data access code to retrieve the information and populate be to;
Make a class that has all the information you need from the non-sql database and the column.
You need from the sql database.
|
Ask your Facebook Friends
|
Quick summary: I have a Rails app that is a personal checklist / to-do list. Basically, you can log in and manage your to-do list.
My Question: When a user creates a new account, I want to populate their checklist with 20-30 default to-do items. I know...
Started by jerzy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It's already a one liner if you want it to be:
@new_user.checklist from a file, or store in your class, or wherever....
A Rails Fixture is used to populate test-data for unit tests ; Dont think it's meant to be used to be as verbose as suggested.
|
|
In a Rails application, I need a table in my database to contain constant data.
This table content is not intended to change for the moment but I do not want to put the content in the code, to be able to change it whenever needed.
I tried filling this...
Started by Vincent Robert on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Use the db:seed rake task another migration to remove the old seed data and load the new one instead, which may be non be loading this populate....
Intialization data from "seed" yml files (one for each model) into the database.
|
|
I have this requirement and since im new to vb.net dont really have much of idea how to do this. I have 20 checkboxes with dropdowns and textbox with it. the example is -
table tr td checkbox -- textbox -- dropdownlist /td /tr tr td chk1 txtbox1 ddl1 ...
Started by redr on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Another example on using.
Here is an example
Here is another example
And here is an example on how to lay out the CheckboxList
EDIT: OK.
You can use the CheckBoxList and bind it to your data .
|
|
In my SQL Server backend for my app, I want to create history tables for a bunch of my key tables, which will track a history of changes to the rows.
My entire application uses Stored Procedures, there is no embedded SQL. The only connection to the database...
Started by pearcewg on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
It's good for security, resilient to failure modes like people forgetting to add code to update the history... .
CDC is an ability to record changes to table data into another table without writing in the history table.
Can help.
|
|
Populate a table from a string I wrote a function that must populate an existing table from a string derived by the table.external_record_content_get function .
I include my code
Up to the point of using the function tbl.populate _from_string everything...
Started by Andriettevdm on
, 27 posts
by 4 people.
Answer Snippets (Read the full thread at alphasoftware):
Before....
Code: Function ToetsTabel1 to unscramble.
Re: Populate a table from a string AndrietteRe: Populate a table from a string Here's the function with indents.
From the external non open database, I am open for it.
|
|
I have to leave in a DataTable only records with dates currently not present in the database.
So I read all existing dates using the stored procedure (is it correct?):
SELECT DISTINCT CAST(S.[date] AS DATE) -- original date is DATETIME2(0) FROM ... WHERE...
Started by abatishchev on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
This using one single LINQ query?
Here is my version of custom datarow comparer:
public class harder to read, but nevertheless, it is "one query."
Having said this, none of these examples really)
Hopefully one of these answers your....
|
|
Hi,
via the AET tool in the Web UI, I created a table extension for the BTOrderAdminH which refers to a database table. In the Web UI, this enhancement directly works perfectly. The database table ZORDERADM_H is getting populated via the screen.
Now for...
Started by Sander Boers on
, 4 posts
by 2 people.
Answer Snippets (Read the full thread at sap):
TYPES:....
TYPES: END OF ts_axt.
INCLUDE STRUCTURE <your_EIC_tablename>_work.
TYPES: BEGIN OF ts_axt.
Please respond, if you are aware of another solution, other possibilities TYPE STANDARD TABLE OF ts_axtk.
With this proper solution.
|