Click here to Skip to main content
15,349,767 members

Comments by Sandeep Mewara (Top 200 by date)

Sandeep Mewara 6-May-22 2:05am View
Thanks for sharing and closing on it. :thumbsup:
Sandeep Mewara 3-May-22 0:40am View
Believe you are talking of react. If so, would help you if you share more details and complete code.
Sandeep Mewara 30-Apr-22 23:55pm View
Just try this while using it post response and see if your extra braces issue get resolved:
jObject.ToString() instead of just jObject
Sandeep Mewara 30-Apr-22 0:30am View
If you want to just UPDATE, use the UPDATE query instead of INSERT:
Insert INTO EMPLOYEES VALUES(p_employee_id,p_phone_number);

That should solve it.
Sandeep Mewara 26-Apr-22 22:53pm View
Some references that might help:
Sandeep Mewara 25-Apr-22 4:41am View
Based on screenshot, it's a NRE. You should be able to put breakpoint see exactly which object is NULL and then handle it.
Sandeep Mewara 24-Apr-22 23:47pm View
Not sure of your exact need. If location.reload(); doesn't work on an expected event, you would need to maintain the state in order to achieve it.

Store(keep updating) current selected div every time you change div. During page load (first time or refresh) - refer the stored data to bring that into focus/view.
Sandeep Mewara 24-Apr-22 23:43pm View
Your query is unclear. What are you trying to do. Please details here - seems you tried to refer some links which are missing.
Sandeep Mewara 24-Apr-22 23:26pm View
What exactly are you trying to do? What are you expecting back from above code and what is the gap in that?

Seems you are setting up for matrix multiplication and current code so far is around taking the two matrix as input and displaying it back.
Sandeep Mewara 28-May-21 4:15am View
What is your SP expected to return?
Sandeep Mewara 24-May-21 2:02am View
You tried and that's good. You must have some confusion or seeking clarity. What is that?
Sandeep Mewara 23-May-21 4:43am View
It seems you want to talk to an author related to his/her article. If so, use foruk present at the bottom of the article for any discussion.
Sandeep Mewara 23-May-21 4:29am View
It seems you want to talk to an author related to his/her article. If so, use foruk present at the bottom of the article for any discussion.
Sandeep Mewara 12-Apr-21 3:32am View
You can refer this to understand dynamic programming: Dynamic Programming - What, How & When[^]
Sandeep Mewara 8-Mar-21 0:03am View
1 second polling is way too resource hogging, keep aside the time it might take to respond. Increase time for the job to check and see.
Sandeep Mewara 22-Feb-21 23:17pm View
1. Mostly it's path
2. Smaple is a cleaner way to do it. Releasing the streamwriter object
Sandeep Mewara 28-Jan-21 23:13pm View
AFAIK, you cannot. It's applications runtime configuration which would need app to be stopped to reload for any change.
Sandeep Mewara 27-Jan-21 0:56am View
Have you used IsPostback page property in your Pageload?
Sandeep Mewara 22-Jan-21 9:11am View
Sandeep Mewara 19-Jan-21 23:09pm View
Does that make a difference here? ASP.NET Core MVC - above details are related to that and should apply.
Sandeep Mewara 19-Jan-21 5:08am View
Okay, so does the typo solve it or not?

Did you debug step wise?
Sandeep Mewara 19-Jan-21 4:07am View
It would be difficult to trace such thing as is. Would suggest you to use tool like snoop to first assess the bindings are in place as expected. Tool: GitHub - snoopwpf/snoopwpf: Snoop - The WPF Spy Utility[^]

Once they are and INotifyPropertyChanged interface is referred, it should work out. Other alternatives to try would be to start with some textbox on the page, then in grid and so to see what is working for you and move step wise.
Sandeep Mewara 19-Jan-21 3:53am View
Where is onchange="getData()" implemented?
Sandeep Mewara 19-Jan-21 0:06am View
Your query is not clear. Can you elaborate or rephrase on what is your issue herE?
Sandeep Mewara 18-Jan-21 0:36am View
And where are you stuck? what help you seek?
Sandeep Mewara 17-Jan-21 7:57am View
Did you debug? Any error?
Sandeep Mewara 15-Jan-21 4:48am View
Thanks Carlo!
Sandeep Mewara 14-Jan-21 2:41am View
If above set of lines are throwing an error, you need to look at your template. Somewhere there is duplicate column or so which is being expected as unique.

Debug and nail the line of code and then go deep.
Sandeep Mewara 14-Jan-21 2:39am View
AFAIK, irrespective of method, you need to configure it in global settings and at IIS level to allow a defined length.
Sandeep Mewara 13-Jan-21 1:19am View
That was an example. You can put speciffic dates in that method like:

disableSpecific(datef) {
const dateRaw = [
new Date(date.getFullYear(),0,1),
new Date(date.getFullYear(),4,1)

return dateRaw.includes(datef.getTime());
Sandeep Mewara 13-Jan-21 1:14am View
I don't see an error response. 200-OK is expected one.
Sandeep Mewara 12-Jan-21 6:23am View
Okie dokie. I wanted OP to see more variation of the things because of types involved.
Sandeep Mewara 12-Jan-21 3:55am View
Not sure of what is the query here?
Sandeep Mewara 12-Jan-21 3:35am View
I believe so. There would be ways to configure inputs.
Sandeep Mewara 11-Jan-21 3:24am View
What all data you have? Just the date and no of cases each day? OR additional feautres?
Sandeep Mewara 11-Jan-21 3:20am View
It would depend on your expertise level for you to decide.
Sandeep Mewara 11-Jan-21 3:18am View
Debug and see where the error is being raised. Address that.
Sandeep Mewara 11-Jan-21 3:16am View
"We are more than willing to help those that are stuck: but that doesn't mean that we are here to do it all for you! We can't do all the work, it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in! Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did."
Sandeep Mewara 10-Jan-21 4:27am View
What's the source of data? What's the experience you plan to provide?

Eg: do you want to export/import data from a datagrid in
Sandeep Mewara 9-Jan-21 15:33pm View
Though you have tagged C#, can you confirm its in c# or python that you are trying it?
Sandeep Mewara 9-Jan-21 15:10pm View
You need to share more details like which tech, what error when you tried specific way.
Sandeep Mewara 8-Jan-21 14:54pm View
Elaborate please.
Sandeep Mewara 5-Jan-21 8:22am View
It would help others to help you if you share the code related.
Sandeep Mewara 31-Dec-20 4:00am View
And the problem is?
Sandeep Mewara 29-Dec-20 13:12pm View
See if oyu have problem similar to this: [Solved] could not create SSL/TLS secure channel[^]
Sandeep Mewara 29-Dec-20 10:06am View
Yes. Put similar code like above on a form submit / button click - any event you want to use.

What's the issue with above in winforms?
Sandeep Mewara 29-Dec-20 3:53am View
Sandeep Mewara 28-Dec-20 6:26am View
Sandeep Mewara 28-Dec-20 2:49am View
Try: java - Error occurred during initialization of boot layer FindException: Module not found - Stack Overflow[^]

Would suggest to pick a website or a book to learn properly. Following a youtube video probably is not a good way to learn.
Sandeep Mewara 24-Dec-20 1:31am View
And your query is?
Sandeep Mewara 23-Dec-20 9:27am View
It would help you if you explain a more on what are you trying to do.
Sandeep Mewara 18-Dec-20 3:46am View
Your query is not clear. What are you trying and what's the issue.
Sandeep Mewara 17-Dec-20 3:16am View
Once you raw the lines with mouse, you should be left with two lines at an angle. then you can apply above to get the angle. You trying something different?
Sandeep Mewara 17-Dec-20 2:49am View
Can you try:File file = new File("C:/Users/josep/OneDrive/Documents/java/input.txt");

Slash removed at the end. Quick view, rest all looks okay. Assuming, access is there. Quick check would be to put the url in browser and see you get back what you seek.
Sandeep Mewara 15-Dec-20 2:25am View
And where are you stuck when you tried it?
Sandeep Mewara 15-Dec-20 2:24am View
Sandeep Mewara 15-Dec-20 1:41am View
It's not clear on what is the query here. What did you try and are stuck with?
Sandeep Mewara 4-Dec-20 0:07am View
Does this help:

Once activity identified, call a method needed.
Sandeep Mewara 4-Dec-20 0:05am View
Did you try like:
Sandeep Mewara 30-Nov-20 0:00am View
$ sudo npm cache clean
Sandeep Mewara 24-Nov-20 4:36am View
Your shared code does not share much related to problem you share.

Perhaps following documentation could be of help:
It has details of how to upload using IFormFile.
Sandeep Mewara 23-Nov-20 12:58pm View
And your query is?
Sandeep Mewara 21-Nov-20 4:01am View
:) :thumbsup:
Sandeep Mewara 21-Nov-20 4:01am View
Sandeep Mewara 20-Nov-20 0:06am View
Sounds like you lost the file association.

Check in VS settings to associate it back or else repair/reinstall VS.
Sandeep Mewara 16-Nov-20 2:46am View
Are you sure you have RDLC localization correctly?
Sandeep Mewara 13-Nov-20 9:51am View
Thanks! I am clearly thinking something else.
Sandeep Mewara 13-Nov-20 6:43am View
Apologies. It's nil in vb
Sandeep Mewara 12-Nov-20 15:37pm View
Did you look at:
Sandeep Mewara 12-Nov-20 4:30am View
You will return only if products is there or else not go into that code.

// your current return code
return ....
Sandeep Mewara 12-Nov-20 2:51am View
Thats not the way. You gave a snippet so I updated that. clearly there is more code to what you shared. (your code wouldnt be just ul tags, there would be more.)

Please adjust the logic - you need to check for products being null. OR define a dummy/empty value.
Sandeep Mewara 12-Nov-20 1:19am View
Don't see map in your code above. Use Improve Question and update the part where you use map.
Sandeep Mewara 11-Nov-20 23:47pm View
See if this helps:
Sandeep Mewara 11-Nov-20 15:32pm View
what's your bin location? relative to gitignore?
Sandeep Mewara 11-Nov-20 1:58am View
You same person or classmates:

Both the questions are incomplete and does not share what you are trying to do and where are you stuck.
Sandeep Mewara 11-Nov-20 1:57am View
You same person or classmates:

Both the questions are incomplete and does not share what you are trying to do and where are you stuck.
Sandeep Mewara 10-Nov-20 9:37am View
Sandeep Mewara 10-Nov-20 5:52am View
:laugh: :thumbsup:
Sandeep Mewara 10-Nov-20 1:35am View
What's not clear?

You cannot start a process(IE) as minimized. You can though try to find the process on system that you need and then try to set it as mnimized.
Sandeep Mewara 10-Nov-20 0:19am View
Use Improve Question and update your code. Currently, it's incomplete.
Sandeep Mewara 9-Nov-20 23:55pm View
And what do you see when you debug it? code flow?
Sandeep Mewara 9-Nov-20 14:29pm View
Did you debug and see? Is the code going to if or else part?
Sandeep Mewara 9-Nov-20 8:30am View
first look, code looks okay to me - whats the problem?
Sandeep Mewara 9-Nov-20 0:38am View
Would help if you debug and see the execution.
Sandeep Mewara 3-Nov-20 0:06am View
And where are stuck?
Sandeep Mewara 3-Nov-20 0:05am View
And where were you stuck when you tried?
Sandeep Mewara 3-Nov-20 0:05am View
And your issue is? Where are you stuck?
Sandeep Mewara 30-Oct-20 1:32am View
Seems you forgot to ask your question. Where are you stuck?
Sandeep Mewara 29-Oct-20 10:08am View
Did you look at:
Sandeep Mewara 27-Oct-20 2:49am View
When you run this query manually, what happens?
"UPDATE member_registration SET fname=:fname,oname=:oname,mname=:mname,gfname=:gfname,gmname=:gmname,rank=:rank,state=:state,village=:village,lga=:lga,workingp=:workingp,dob=:dob;,ocupation=:ocupation,family_group=:family_group,nowives=:nowives,nochild=:nochild,gender=:gender,mstatus=:mstatus,cadres=:cadres,passport=:passport, where phn=$phn"
Sandeep Mewara 24-Oct-20 4:04am View
And your problem is?
Sandeep Mewara 23-Oct-20 10:28am View
You trying this:

have a look and share if not so.
Sandeep Mewara 23-Oct-20 10:23am View
As Richard shared, explaining what yu mean by Vertical search might give clue to what you are trying to do.
Sandeep Mewara 23-Oct-20 10:22am View
Easiest would be to DEBUG in safari to nail it down.

Not sure, could be what and how you are passing 'data'. What does answered_array translates to ?
Sandeep Mewara 23-Oct-20 10:07am View
Your response type seems not blob. See this similar discussion:

Working example;
Sandeep Mewara 22-Oct-20 13:49pm View
By default, applications always run in standard user mode (this is not admin mode). You must have some code making it so. Is entire code yours or you added somehting related?
Sandeep Mewara 22-Oct-20 13:43pm View
If they are two separate application and all you need is to call one from another using query string then where is the problem? treat them as two web app (does not matter if webforms or core). In there specific web app, handle passing and reading the query string passed in url.
Sandeep Mewara 21-Oct-20 16:04pm View
For a security software, trying to get hold of tabs of all the browsers is a long shot to ask for from users.
You should find another way to provide the alerts you intend to.
Sandeep Mewara 21-Oct-20 15:51pm View
What's the logic of alphabet to 1 or 0 here? What would happen if I give you any other letter here?
Sandeep Mewara 20-Oct-20 1:41am View
What exactly are you trying to do here?
Sandeep Mewara 20-Oct-20 1:40am View
It would be good once you share your program - others can help extend. Use Improve Question to edit and update with what you have tried so far.
Sandeep Mewara 20-Oct-20 1:39am View
And where are you stuck? Why are you not able to proceed?
Sandeep Mewara 20-Oct-20 1:33am View
And your query is?
Sandeep Mewara 17-Oct-20 19:06pm View
Sounds like you are looking for Winforms Controls and not web.

See here:
Sandeep Mewara 17-Oct-20 7:40am View
Can you plrovide sample of data retrieved from database? What you get when you do: "Select [codigo],[descripcion] from dbo.Products"
Sandeep Mewara 16-Oct-20 15:25pm View
Sandeep Mewara 15-Oct-20 8:47am View,request%20identifies%20a%20valid%20major.

The Web server (running the Web site) does not support, or refuses to support, the HTTP protocol version specified by the client (e.g. your Web browser or our CheckUpDown robot) in the HTTP request data stream sent to the server.
Sandeep Mewara 15-Oct-20 8:45am View
Error is clearly sharing the issue:
Error Method 'get_HistoryInfos' in type 'CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper' from assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' does not have an implementation.

See where ever you are referring get_HistoryInfos
Sandeep Mewara 15-Oct-20 8:36am View
Sounds like your mediaelement is null. DEBUG please.
Sandeep Mewara 15-Oct-20 6:48am View
Details about the error you see: NullReferenceException Class (System) | Microsoft Docs[^]
Quote:A NullReferenceException exception is thrown when you try to access a member on a type whose value is null
Possibly because:
1. You've forgotten to instantiate a reference type
2. You've forgotten to dimension an array before initializing it.
3. You get a null return value from a method, and then call a method on the returned type.
4. You're using an expression (for example, you're chaining a list of methods or properties together) to retrieve a value
5. You're enumerating the elements of an array that contains reference types, and your attempt to process one of the elements throws
6. Exception is thrown by a method that is passed null

When you debug, you will be able to get the exact line where the variable is NULL and error is being raised.
Sandeep Mewara 15-Oct-20 3:53am View
Have a look at this:
Sandeep Mewara 14-Oct-20 14:13pm View
Ok. But, I am still not clear on what exactly your end result looks like. That could help people to respond.
Sandeep Mewara 14-Oct-20 4:54am View
Here from the same link you shared tht you downloaded the files:


To install JavaCC, navigate to the download directory and type:

$ unzip
$ tar xvf javacc-7.0.9.tar.gz

Then place the binary javacc-7.0.9.jar in a new target/ folder, and rename to javacc.jar.

Once you have completed installation add the scripts/ directory in the JavaCC installation to your PATH. The JavaCC, JJTree, and JJDoc invocation scripts/executables reside in this directory.
Sandeep Mewara 14-Oct-20 4:20am View
What are there in two columns? I am not sure of the output you are trying.

Have a look at this if this is what you are looking for:
Sandeep Mewara 13-Oct-20 16:55pm View
Can you share where you read "I read using the available AJAX Extensions in the VS Toolbar is sufficient"

I have used it in past and exactly as snippet shared.
Sandeep Mewara 13-Oct-20 8:48am View
Sandeep Mewara 13-Oct-20 8:46am View
Did you look at:
Sandeep Mewara 13-Oct-20 8:39am View
There are two ways you can do it:
1. Either you load only relevant options on action value - thus keep the items vary (dropdown items count adjust at runtime)
2. Keep fixed static dropdownlist and set the options enable/disable based on action value (dropdown items count fixed)
Sandeep Mewara 13-Oct-20 8:35am View
I would suggest let MVC handle the validation. SHow/Hide of textbox can be done using jQuery.

Similar approach discussed here: javascript - How to display and validate textbox based on radio button selected - Stack Overflow[^]
Sandeep Mewara 11-Oct-20 7:05am View
If it's an activity of monitoring, why is it a program? Make that itself as a windows service that runs on the system and capture the print activities and log it.

User is not even interacting with it and thus no need to worry about preventing closing of an app which is not good even if you achieve.
Sandeep Mewara 9-Oct-20 8:03am View
You sure this is the right and expected url: "" ?
Sandeep Mewara 9-Oct-20 8:00am View
And where are you stuck when you write the code for it?
Sandeep Mewara 9-Oct-20 3:26am View
It would help if you share the expected output you see and the intended one.
Sandeep Mewara 9-Oct-20 3:19am View
Sandeep Mewara 8-Oct-20 16:04pm View
What is the value of response when you debug?
Sandeep Mewara 8-Oct-20 15:12pm View
What did you change to?

What Gerry suggested is to have:
var status = JsonConvert.DeserializeObject<Root>(response);

Don't think you should get same error as earlier with above. Share the new code and error.
Sandeep Mewara 8-Oct-20 5:36am View
Why would you remove watermark from a DL? What's the intent here?
Sandeep Mewara 8-Oct-20 3:02am View
It's far too less information to have a concrete answer here. What accounts, whats missing, what is the table structure, what query you wrote and struggling with?
Sandeep Mewara 8-Oct-20 2:00am View
You would need some database and some client side code via Javascript. Only with HTML & PHP you would not be able to have a blog.
Sandeep Mewara 8-Oct-20 1:47am View
And what is the issue? Where are you stuck when you started writing code?
Sandeep Mewara 7-Oct-20 10:06am View
Good to know it helped. Would suggest to open another query in case you are facing different issue now. I am into middle of something, maybe someone else be able to help.
Sandeep Mewara 6-Oct-20 18:01pm View
Found a similar problem discussed years back here: c# - find all open Excel workbooks - Stack Overflow[^]

Looks like should help.
Sandeep Mewara 6-Oct-20 1:40am View
The 401 Unauthorized Error is an HTTP response status code indicating that the request sent by the client could not be authenticated.
Sandeep Mewara 6-Oct-20 1:15am View
What encoding? Where?
Sandeep Mewara 5-Oct-20 14:38pm View
Above code you share looks all static. Is there a problem with it?

Further, I was asking how are you passign data - using a query param or using header or body?
Sandeep Mewara 5-Oct-20 10:26am View
What would be helpful here to share how you create/store your xml file.
Sandeep Mewara 5-Oct-20 10:23am View
Your issue is not clear. You are usign query string and not able to get data?
Sandeep Mewara 5-Oct-20 6:52am View
based on the error, does not look like a TLS error.
Sandeep Mewara 5-Oct-20 6:43am View
Your problem is not clear. What are you trying to do?
Sandeep Mewara 4-Oct-20 7:21am View
What kind of constraint you have in table2 that would lead to not insertion of record because of @Id1.

When you say nothing inserted, wouldn't the query throw an error if for any reason it does not insert? I am still not clear on when there will be no error but 0 records inserted in table 2. (other then when where clause brings in 0 records which is independent of table 1)
Sandeep Mewara 4-Oct-20 4:25am View
2 things:
1. You validated the entire json and not just one block that JSON formatting is good. If not, would suggest use any online tool to quickly see if the entire json is a valid json. (
2. It would help if you share the exact error you get and any stack trace for reference.
Sandeep Mewara 4-Oct-20 3:25am View
Under what circumstance you see that insert in table 2 would fail?
Only if smething foes wrong, and if so your try-catch would trigger in.

So, only valid way how nothing gets inserted is no record selected for insert in table2 which is independent of first step. I can provide sample sql of asked flow and sequence but I don't see why you need to follow this sequence to decide commit/rollback
Sandeep Mewara 3-Oct-20 18:02pm View
if 0 records are inserted into table2 => keeping error case aside, wouldn't this be just when where clause do not bring any data?
INSERT INTO table2 (Id1, @Id)
			select @Id1,@Id from table3
			where table3.BBId = @BBId AND table3.Flag= 0 and 
                        table3.Id1 = @Id1

Above SQL where clause has no dependency on table1, why wait for table 1 insertion? Right?
Sandeep Mewara 3-Oct-20 4:52am View
And this does not help:

For variable assignment: Simply use the SetVariable method of the Shockwave Player:

xWin.SetVariable "stringuser", nameBox.Text
xWin.SetVariable "stringpwd", passBox.Text

then invoke a remote method == simulate button click.
Sandeep Mewara 3-Oct-20 3:32am View
Shucks, my mind read 'with'. I will remove my answer. Thanks man!
Sandeep Mewara 3-Oct-20 3:31am View
Whatever *you* intend to do with the IP address.
Sandeep Mewara 3-Oct-20 3:28am View
You were looking for communication between the two and the articles do share so.
Sandeep Mewara 2-Oct-20 18:48pm View
Would suggest you read and understand about topic. It's clear you got this code from somewhere and have no idea how it does what it does.

start from something like:
Sandeep Mewara 2-Oct-20 14:57pm View
If you debug, I believe $stmt is not setup correct. And thus the error for execute(). Would suggest to look from there. I am not sure where you have done conn setup but that is where I will look.
Sandeep Mewara 2-Oct-20 9:14am View
@OriginalGriff explains like below:

You have tried to use a variable, property, or a method return value but it contains null - which means that there is no instance of a class in the variable.
It's a bit like a pocket: you have a pocket in your shirt, which you use to hold a pen. If you reach into the pocket and find there isn't a pen there, you can't sign your name on a piece of paper - and you will get very funny looks if you try! The empty pocket is giving you a null value (no pen here!) so you can't do anything that you would normally do once you retrieved your pen. Why is it empty? That's the question - it may be that you forgot to pick up your pen when you left the house this morning, or possibly you left the pen in the pocket of yesterdays shirt when you took it off last night.

We can't tell, because we weren't there, and even more importantly, we can't even see your shirt, much less what is in the pocket!

Back to computers, and you have done the same thing, somehow - and we can't see your code, much less run it and find out what contains null when it shouldn't.
But you can - and your IDE will help you here. Run your program in the debugger and when it fails, VS will show you the line it found the problem on. You can then start looking at the various parts of it to see what value is null and start looking back through your code to find out why. So put a breakpoint at the beginning of the method containing the error line, and run your program from the start again. This time, VS will stop before the error, and let you examine what is going on by stepping through the code looking at your values.

But we can't do that - we can't run your code, we don't know how to use it if we did have it, we don't have your data. So try it - and see how much information you can find out! 
Sandeep Mewara 2-Oct-20 5:48am View
so as you type and text length grows, you will grow your textbox and form accordingly?
If so, its not a good practice to play with form window like this with your text typing.

instead try multi-line text in fixed form. It can have a scroll once length of text exceed text view.
Sandeep Mewara 2-Oct-20 5:32am View
What exactly you intend to achieve/do?
Sandeep Mewara 2-Oct-20 3:38am View
So, I didn't knew what Laravel was. Googled it. Could it be that you need to refer the variable as:

i.e.: use {{ }}
Sandeep Mewara 2-Oct-20 3:35am View
But based on the error, category is mostly null I think.
Sandeep Mewara 2-Oct-20 3:00am View
You need to share the code that populates course and has it's structure.
Sandeep Mewara 1-Oct-20 14:47pm View
Sandeep Mewara 1-Oct-20 13:01pm View
Thanks CPallini. :)
Sandeep Mewara 1-Oct-20 11:06am View
What do you mean you don't have DBContext? Read this:
Sandeep Mewara 1-Oct-20 11:05am View
OP is looking for the table name corresponding to entities. He wrote database instead of table in original post but later in comment said: "I just want to show Physical Table Name of current model."

I am confused on what he means he doesn't have a model for DBContext given he is working on ASP.NET MVC.
Sandeep Mewara 1-Oct-20 6:08am View
Not to sure what you are looking for, is it:
foreach (var entityType in dbContext.Model.GetEntityTypes())
    var tableName = entityType.GetTableName();
    foreach (var propertyType in entityType.GetProperties())
        var columnName = propertyType.GetColumnName();
Sandeep Mewara 1-Oct-20 5:55am View
MVC follows Model-View-Controller.

ViewModel comes in MVVM.

You have tagged MVC, how is Viewmodel in picture here?
Sandeep Mewara 1-Oct-20 2:55am View
What is the difference or why are you not able to apply the same logic to another table?
Sandeep Mewara 30-Sep-20 6:39am View
It's a suggestion - you can choose to try. try solution -> clean if that helps.
Sandeep Mewara 30-Sep-20 4:34am View
Make use of:

Another example:
Sandeep Mewara 30-Sep-20 4:11am View
Possibly yes. That would be simplest way to see. otherwise, check when all the last autoupdate happened and if those were the time when issue occured.
Sandeep Mewara 30-Sep-20 3:23am View
So look into that if that is the reason.
Sandeep Mewara 30-Sep-20 1:36am View
I was asking if your new server is auto-rebooting or so.
Sandeep Mewara 29-Sep-20 17:46pm View
what is x, j? either define them or use the fields available. you cannot just use a raw code there. You need to read and learn about formula fields in crystal reports. Try with small examples and learn.
Sandeep Mewara 29-Sep-20 17:28pm View
In your formula field, you can write if code based on the fields available. @ShipDays is example. Use your field in the logic to set something when empty.
Sandeep Mewara 29-Sep-20 17:10pm View
In the formula field where you want to display data.
Sandeep Mewara 29-Sep-20 13:01pm View
this website/service which is intermittent available, is that server under some regular maintenance? Like server updates and reboots? When this issue happens, you sure that server is up and running to return data?
Sandeep Mewara 29-Sep-20 12:52pm View
Not sure what you mean by "crystal reports are not getting upgrade into TLS 1.2"

TLS is at network level.
Sandeep Mewara 29-Sep-20 10:47am View
Good to know. :thumbsup:
Sandeep Mewara 29-Sep-20 0:13am View
Sandeep Mewara 28-Sep-20 15:42pm View
5. Looks worth exploring based on the ask.
Sandeep Mewara 28-Sep-20 8:08am View

Didn't realize. Thanks Bill.
Sandeep Mewara 28-Sep-20 8:07am View
I mean - currently you map CustomerInvoice with 1 product in the data model. BUT, you need one to many. So, you need to change from one to a list there first and then work accordingly.
Sandeep Mewara 28-Sep-20 6:56am View
And the issue is?
Sandeep Mewara 28-Sep-20 6:54am View
Config() is not defined in the references JS. surely something is missing as a connect.

Check with developer tools to see if the JS and function is there for the page to use.
Sandeep Mewara 28-Sep-20 6:50am View
Then you need to change your class:
Your customerinvoice need to have:
public List<product> Products { get; set; }
Sandeep Mewara 28-Sep-20 0:17am View
Seems you have info enough with you to troubleshoot/debug here. You need to take step by step and find why those new fields ae making it fail.
Sandeep Mewara 27-Sep-20 17:37pm View
You should use 'Improve Question' option above to edit/update your query.
Sandeep Mewara 27-Sep-20 8:56am View
No. There is nothing around compatibility here.

And you are wrong about not needing script tag. Based on what you share, you need to make sure that current page has the main.s file reference via script tag.
<script src="myscripts.js"></script> //make sure to have the right relative path here
Sandeep Mewara 27-Sep-20 4:56am View
I can assume and reply but it would better if you share details of your Invoice, Products, CustomerInvoice class to understand how you have set them up. Use 'Improve Question' option to edit and update.
Sandeep Mewara 27-Sep-20 4:39am View
And what is the issue with text change event? Why do you need any other event when that is the event when you want to update your DB?
Sandeep Mewara 25-Sep-20 16:41pm View
Sounds like value of IsSellable is true thus the validation not getting triggered. Did you check that?
Sandeep Mewara 25-Sep-20 9:34am View
As Richard shared, it's same as any SQLite Db. Though this would mean you need to know details of the DB schema if you want some speific task with that data.

In case it can be any SQLlite db, then maximum you can retrieve tables in it and columns in it. Then some UI to select tables or columns to retrieve data.
Sandeep Mewara 25-Sep-20 9:11am View
I believe it should have worked. When you try it does not?

Also, if there is countable param scenario, like 3 flows - have three paramters and make use of the needed one on refresh?
these params has static values in design.
Sandeep Mewara 25-Sep-20 8:42am View
combine what? you wrote a code and the code has what problem?
Sandeep Mewara 25-Sep-20 8:27am View
You need to attempt and share your effort. For now, seems like just a homework question.
Sandeep Mewara 25-Sep-20 8:25am View
And what is the query here? Whats the problem you are stuck with?
Sandeep Mewara 25-Sep-20 1:49am View
Sandeep Mewara 24-Sep-20 17:14pm View
5! Above suggested code snippet makes sense and should work (array with actual IDs)
Sandeep Mewara 24-Sep-20 17:12pm View
Thanks. Yes, I updated with the change. We can find that ID using string and use it. :thumbsup:
Sandeep Mewara 24-Sep-20 7:20am View
Your query is not clear and seems incomplete. Use Improve Question to update with more details.
Sandeep Mewara 24-Sep-20 5:56am View
Where is the code for: user.userTypes => is that a collection?
Sandeep Mewara 24-Sep-20 3:07am View
Can you please rephrase - your query is not clear. Where are you stuck?
Sandeep Mewara 23-Sep-20 3:52am View
Not too sure what you mean here in above question context. Seems like a different question - please open a new query with details on the issue please.