I'm having difficulty returning a query in the database using SqlDataAdapter with parameters.
Well, I have a layered application in my View when I first access feed a GridView with a query (this part is ok)!
In this same View...
In my current application, I have a content list page, which has a small form above to "filter" the GridView below to select an item and go to the next page edit it.
What happens is that when I'm on the edit page and try to go back to the lis...
I'm developing a system that will access the MySql database just to query data. I made reference to mysql.data.dll and am using access through MySqlConnection.
It turns out that the system is returning the following error:
Access...
var resp = new HttpResponseMessage(HttpStatusCode.NotFound)
{
ReasonPhrase = "Nenhum produto encontrado"
};
throw new HttpResponseException(resp);
This code should return
404 No products found
But for some reason it is not worki...
I have the following situation:
public List<TEntidade> MeuMetodo<TEntidade>()
{
//My Code Here
}
Is there any way I can get the type of this TEntidade?
The final goal is to use this Type to create a switch ...
I'm having trouble logging out of the application using STS.
After clicking the Logout button, I expire all the cookies I have, until I give the FederationAuthentication signout command, but it does not request the PIN again
Follow the log...
I have a VLC Player in my form. In it, I need to get basic information like video duration and current position. but no event works.
Am I doing something wrong? Here is the code:
public Form1()
{
InitializeComponent();
vlc.play +...
I have the following Grid in * .cshtml:
$.ajax({
url: '@Url.Action("RetornaJsonGrid", "PacoteLicencas")',
type: "post",
cache: false
}).success(function (json) {
$("#g...
I have two forms:
No form1 is a ListBox with some pre-inserted data and a method.
In form2 there is a button that executes a method in form1 .
//form1
public void limparListBox()
{
listBox1.Items.Clear();
}
/...
I have my user using asp.net identity for authentication
as usual I have my class implementing IUser
public class usuario: IUser
{
public User(){...}
public User(string userName) (){...}
public string Id { get; set; }...