For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
publicstaticvoid RedirectAndPOST(Page page, string destinationUrl, NameValueCollection data)
//Prepare the Posting formstring strForm = PreparePOSTForm(destinationUrl, data);
//Add a literal control the specified page holding the Post Form, this is to submit the Posting form with the request.
i am interested to know is there any web service paypal offer as a result we can use that and we can pass user and cart data to paypal by calling their web service as a result we can stay in our web site page and do not have to push user to paypal page.
basically i am looking for a way to pass information from my web site to paypal web site internally or silently by using their web service. so just redirect me to relevant paypal page or article which guide me how to use paypal web service if any exist.
Yes, you can definitely do this. I recently did a fairly complex checkout process involving initial charges and setting up recurring payments (subscriptions) while hosting all pages and using API calls. Check out PayPal Payments Pro .
However, IIRC, this is available only in the US, Canada, and UK.
I develop an ASP.Net Web Application (Classic) .Net-framework 4.0 and every thing ok, but when publish the application on IIS and open the login page some and click the login button this error shown some times: "could not load file or assembly system.windows., Version 18.104.22.168, Culture=netural, PublicKeyTocken=7cec85d7bea7798e or one of its dependencies. The system cannot find the file specified"
Please let me know hot to solve it and what is the reason?
Check the application pool in IIS, it will be pointing toward .net 2 framework pool. If you already have application pool with .net 4 framework associate it else you have to create a pool for .net 4 and then associate it.
Can you describe the issue cause to me, i need to solve it and work on framework 4.0 and I can't upgrade to framework greater than 4.0 because I use a third party tools which work only on framework 4.0.
If we solve it this will good, otherwise we need to upgrade all used tools.
It's for your unit tests, it shows you how much of the code you are executing during your tests, and which bits of code are not being tested which allows you to expand your tests in order to ensure you test everything.
Thank You. Exactly what I needed. Both examples gave me a better understanding of the how the view refers to the controller. Sorry for such a basic question. I'm sure my questions will get more sophisticated in time. The move to MVC from WPF is much harder than I imagined.
When developing a website under ASP.NET 2013, it was possible to open a "mobile phone" from one of the pulldowns to see what the new website would look like in a variety of phone types. I think that was available from a phone SDK that I had installed.
I have been searching for something similar for ASP.NET 2015 but without success. Does anyone know if something similar exists?
I'm kind of new to MVC (been programming for about 6 months), I'm looking for some help trying to learn standard coding in mvc, I already have my model and classes separate in another project but what I'm looking for is things like exception handling, standard view messages for example I have a class called returnMessage and through this I send anything I want back to my view (in ViewBag) and display it there, so if you could guide me thought or give me some articles to read that would be fantastic.
My advice would be to get a book on MVC and just go through it. The ViewBag is ok, it "works" but it's not really best practice, you'll want to use models to pass data to your views as they are strongly typed and can contain the logic they need. Obviously no-one can explain all of the issues and standards to do you in a forum post which is why it's best to get a book on MVC as that should take you through everything you need to know.
You may check coding guidelines rather than standards that will help you learn and make feasible application highlighted points are as below - DO separate the model its own project with a distinct assembly - DO put all business logic in the model. - DO put all validation logic in the model - DO define interfaces for data access - DO put all session logic in the model - DO put HTML in Views and Partial Views (not in a controller). More you can get on This link[^]
I am getting the below errors frequently whenever any deployment or after 40 minutes I am getting the below error only in UAT environment. But not in Production Environment . All codes are same in UAT and Prod.
Please suggest any solution
Could not load file or assembly 'vjscor, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'vjscor, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Line 38: Line 39: Line 40: <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> Line 41: Line 42:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'vjscor, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
I need to enable my admin user to change access permissions for users on the fly, such that they can create new Roles and add permissions to those Roles and assign that role to any user at run time.
I don't want to 'set' the roles during development, as in [Authorize(Roles="Role1, Role2")] etc because after development if i add roles to any user then again i have to recompile the code and copy the changed dll to project bin folder.
we often hard code the role name with authorized attribute but what if i need to do this kind of association at run time in asp.net mvc project. is it possible please discuss all your thought.
i have seen your have good control on role base access system development. so please guide me how can i add roles to action or controller at run time.if possible please discuss this topic with sample code.
For this, either you will need to store those entries to localStorage db, otherwise have a database working that will store the data entered on those 2 pages.
Then load that data from database, to show on a single page within GridView table. If you are having some sort of storing mechanism, consider sharing so that I can guide you specific for that — Session, localStorage, SqlConnection... What?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
Hello, I am storing data in database. Program is like x1 is asking for some info. X2 and X3 has to provide those info. database has table in which approx 20 columns are present. 5 columns are used by x1. x2 and x3 have to access rest column. three pages for x1,x2 and x3 has been created to access same table.For X1 this is insert command and for x2 and x3 update command has been used as per selected row to fill the entry.even if i use labels to get the entry of X2 while putting entries by x3 through text box and try to add both entries,this is not working. when x2 enters in same cell entry of x3 gets erased and vice versa. this is whole problem . please guide
when x2 enters in same cell entry of x3 gets erased and vice versa.
Of course it does, because you are using UPDATE query. That query will simply ignore the previous data and overwrite it with the newer data.
Can you show the table structure, or the code being used? In any circumstances, you will have to rewrite the query to remove the updation of columns by x3 that x2 has to write. So in this case, all 3 of these x will have a different column to write in, x1 will create a new record, x2 will enter details in a few, and x3 will enter the data to a few.
If you do not want to modify your SQL queries, then chances are you will have to write a lot of validations — such as checking if data exists, and executing if data IS NOT NULL etc. That will just make things over confusing as well as complex.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
2) i have 10 years exp in dotnet platform. so tell me should i go for MCSD or MCPD ?
3) i heard from people who passed MCPD and they said if i do not get right brain dumps for MCSD or MCPD examp then it will be hard to pass those exam.......is it true. so my request if some one who passed recently MCSD or MCPD then please share your information for how one should prepare oneself for MCSD or MCPD examp.
4) how many questions comes in MCSD or MCPD exam and what is the duration for MCSD or MCPD exam ?
5) how do i know that MCSD or MCPD examp will take for which dotnet version and what is the syllabus for the exam ?
from where to download MCSD related brain dumps which help me to pass the exam.
please some one answer me point wise in detail for better clarity.
Last Visit: 31-Dec-99 19:00 Last Update: 18-Jan-17 0:50