|
The "parent key" is used to filter children in the "child view"; that's it.
Every time the selected parent changes, a new set of children is retrieved or filtered using the parent key.
That's the pattern. How people choose to abuse it, is another matter.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
I probably do not understand what mean - why should an 'Id'-Key which filters the datasource of the childView control have any effect on the function of the 'Keyboard'-Keys for the childView control?
modified 12-Nov-20 6:10am.
|
|
|
|
|
It doesn't. Where did I mention "key board"?
If your problem is that your "app" is not behaving as "expected", it's because you've either hooked up something wrong, or didn't when you should, or defeated it's default behavior.
I was telling you what "should" happen. You implement parent-child relations; they don't just "happen".
(And VB had "navigation controls" that c# never had).
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
hey bro i want to add audit trail to my project ,bro i was seen your post about that but not working for me can u help me , i use asp.net core 3
|
|
|
|
|
|
it is not working for me i want audit log not logging logs !!
|
|
|
|
|
It is exactly the same concept. The important thing is what information you put in the log.
|
|
|
|
|
i'll try more different ways but not working for me , i want audit to record every things in my system where user performed !
|
|
|
|
|
We have no idea what you are doing, or what you mean by "not working for me". If you want help with a programming problem then you need to provide proper details.
|
|
|
|
|
I think he's missing the part where one actually "calls" the logger.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
I think he's missing much more than that.
|
|
|
|
|
Audit what?
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
Such a concise and detailed question (it' not working for me) deserves a a detailed response - then fix it.
Are you trying to audit database changes, keystrokes on the web site, movement through your web site. What are you trying to achieve, if you give us some detail we may be able to help you.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
hi bro ,i want to add audit log to my all tables in my projects when users delete or create or update data in system
|
|
|
|
|
Member 13408259 wrote: i want to add audit log to my all tables Then please get on and do it. You asked this question a month ago, what have you done since then?
|
|
|
|
|
You have a choice, depending on your database you can add triggers spit to audit activity or you can add some sort of auditing to your DAL in c# that records each activity into the database.
Personally I create triggers spit in the database to audit all master file tables IE I do not audit transaction tables.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Keypress and keydown event occurs when click on flexgrid control but value is not showing.when use doubleclick event is working that.
|
|
|
|
|
FlexGrid? Why on earth would you be using such an ancient control?
Your question doesn't make sense. What value? Why are you using the KeyPress and KeyDown events? For what? What is the DoubleClick event being used? For what? What are you expecting to work that doesn't?
Oh, and change your username to something other than your email address, unless you like getting bombarded by spam emails. NEVER post your email address in a public forum.
|
|
|
|
|
Hello All,
This is my first application in asp.net core
Table Like this ->
PublisherMater : PublisherId,PublisherName,TotalBooks
PublisherDetails: BookName,ReleaseDate,AuthorName
My question is : I want to manage master and details entry using asp.net core mvc with code first approch.
first step : Create Model
secound : Create MVC Controller with view using Entity Framework
anybody have any example like this ?
Thanks in advance
|
|
|
|
|
Your tables are bad. You should not be putting "TotalBooks" in the PublisherMaster table at all.
What you should be doing is something closer to this:
public class Publisher
{
public int PublisherId { get; set; }
public string PublisherName { get; set; }
public ICollection<Book> PublishedBooks { get; set; }
}
public class Book
{
public int BookId { get; set; }
public string BookTitle { get; set; }
public string AuthorName { get; set; }
public Date? ReleaseDate { get; set; }
}
Every publisher can publish any number of books, hence the collection in the class.
|
|
|
|
|
|
Could you help to explain how can I Great Forms (GUI) in MAC using Visual studio 2019?
|
|
|
|
|
Quote: Mac Apps using Xamarin and C#
Visual Studio 2019 for Mac - IDE for macOS
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
It's called WinForms, and works under Mac.
Anything else is not great; WinForms has usability, predictability, and accessability. The latter meaning it works even for those who see less. Predictability means a button is recogizable as one, meaning users don't need expensive education. Usability means they find that on their own.
So, to be short; a great UI is a non MAC one.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Exactly the same way you would do it in Windows. Use the installed templates to create the application in the framework of your choice.
|
|
|
|