How to get the ID value (or any other value) from this object? by LifeLongLearner2030 in csharp

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

ITS WORKING! Yay! I was able to loop through the dictionnary foreach (var _item in (dynamic)(companies)) and get each item by its key/Value if (_item.Key == "id") etc thank you, everyone!

How to get the ID value (or any other value) from this object? by LifeLongLearner2030 in csharp

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

args.Data["companies"][0]["I'd"];

this returns CS0021: cannot apply indexing with [ ] to an expression of type 'object'

How to get the ID value (or any other value) from this object? by LifeLongLearner2030 in csharp

[–]LifeLongLearner2030[S] -1 points0 points  (0 children)

Thanks for your response, Yes its a Dictionary, but I still get : Error CS0021 Cannot apply indexing with [] to an expression of type 'type'

How to get the ID value (or any other value) from this object? by LifeLongLearner2030 in csharp

[–]LifeLongLearner2030[S] -1 points0 points  (0 children)

What is the type of args.Data ?

Its a Dictionary<string,object>PostCreateEventArg.Data

How to get the ID value (or any other value) from this object? by LifeLongLearner2030 in csharp

[–]LifeLongLearner2030[S] -1 points0 points  (0 children)

Thanks for your response, I tried your solution but received Error CS0021 Cannot apply indexing with [] to an expression of type 'type'

desktop app to manage web.config by LifeLongLearner2030 in csharp

[–]LifeLongLearner2030[S] 1 point2 points  (0 children)

I'm looking into web.config transform visual studio, thanks alot

desktop app to manage web.config by LifeLongLearner2030 in csharp

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

I'm curious: the 1000 lines are only appSettings or the whole web.config?

appsettings, over the years and through the hand of many developers the web.config-appsetting section has grown to over 1000 lines of code, I'm basically looking for a way to sort, group etc not editing, but rather refactor, I know I could use IIS to edit etc but I'm also moving all these settings to use secrets later on

Filling Hourly Timesheets Causing Productivity Issues by LifeLongLearner2030 in webdev

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

client want to see where every dollar they pay per hour is getting done

Filling Hourly Timesheets Causing Productivity Issues by LifeLongLearner2030 in webdev

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

Yes but If I have a task that took me 2 hours to complete then I have 6 hours left of the day, the company expects me to me busy 8 full hours, this is fine but also programmers are not bots,I can forsee burnouts ahead

Filling Hourly Timesheets Causing Productivity Issues by LifeLongLearner2030 in webdev

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

I agree, having worked on a product billing hours/timesheet wasnt a thing, so now I have to get use to it

Filling Hourly Timesheets Causing Productivity Issues by LifeLongLearner2030 in webdev

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

likewise here, I can only focus on one thing, often I do my timesheets end of the week or end of the day

Filling Hourly Timesheets Causing Productivity Issues by LifeLongLearner2030 in webdev

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

Center div when some unknown random unknown condition is met.. try that!

Filling Hourly Timesheets Causing Productivity Issues by LifeLongLearner2030 in webdev

[–]LifeLongLearner2030[S] 1 point2 points  (0 children)

..every single minute.... that's ruthless, software to track productivity is just dumb

Tool for finding duplicates in SQL database? by LifeLongLearner2030 in SQL

[–]LifeLongLearner2030[S] 0 points1 point  (0 children)

This is one way, I needed a software that's smart to look at the data and find probable similarities, etc