c#
How to return ActionResult with specific View (not the controller name)
I have a method SendMail in the MVC Controller.This method calls other method ValidateLogin. This is the signature of the Validate Login:
How I can filter a dataTable with Linq to datatable?
hi how i can filter a datatable with linq to datatable?
I have a DropDownList and there I can select the value of the Modul Column. Now I want to filter the DataTable with this Modul Column.
How do you localize a database driven website
I’ve been playing with the .NET built in localization features and they seem to all rely on putting data in resx files.
Workaround for HttpContext.HideRequestResponse being internal? Detect if HttpContext.Request is really available?
We’re migrating an application to use IIS7 integrated mode. In library code that is designed to work either within the context of an HTTP request or not, we commonly have code like this:
Verifying event registration using Moq
I’m developing an asp.net (classic) application trying to implement the MVP pattern using this example. In trying to unit test my presenter and using the following pattern, the psuedocode for which looks like so
ASP.NET Identity : Generate random password
Is there any built in function that creates random passwords ?
Asp.net simple memebership used to have a similar method
What is the best way to code up a Month and Year drop down list for ASP.NET?
I have an internal application that I needs to have a drop down list for two date type elements: Month and Year. These values are not in a database or other repository of information.
Return Result from Select Query in stored procedure to a List
I’m writing a stored procedure that currently contains only a SELECT query. It will be expanded to do a number of other things, which is why it has to be a stored procedure, but for now, it is a simple query.
Retrieving data from a POST method in ASP.NET
I am using ASP.NET.