hi all,
How can i create a new data table automatically for new users signing into the website......what i mean here is that i have a predefined database table and i want that users signing in can have that table for them unique , so that they can fill data for themselves and that data will be visible to all just like forums
Hello Pankaj,
You can instantiate a new DataTable in the session where the user can modify his data.
But another possibility is to add a column like userid or username to the predefined table and write business logic that allows the user to modify its own records (where his username matches the username in the records) and other users can only read the records.
In this case a user is owner of his records (has it unique to himself for updates).
Jeroen Molenaar.
No comments:
Post a Comment