• Posts Tagged ‘C#’

    How to Encrypt and Decrypt URL or Data using C# in ASP.NET MVC?

    by  • November 3, 2015 • Microsoft .NET C# (C-Sharp), Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    In any web application there are always security related problem occurs when user change something in URL’s value. When passing any sensitive data from navigation then it may problem occurs when use can change it and hake any of the data. So better option is store this value in session but every time this...

    Read more →

    How to upload files in ASP.NET MVC 4 with restriction or specific extension?

    by  • October 6, 2015 • Microsoft .NET Framework, Microsoft ASP.NET MVC • 0 Comments

    Introduction: File uploading is a common feature in web based projects. This article explains how to upload any file, how to save file in project directory and how to upload file with restriction. When we upload a file in ASP.NET MVC 4 only controller and view interacts with each other. Here we shall explain...

    Read more →

    How to pass table valued parameter to a stored procedure in ASP.NET

    by  • May 29, 2014 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET, Microsoft VB.NET • 0 Comments

    In my previous article, I have shown that how to create a table valued parameter store procedure and how we can pass table valued parameter in SQL Server.Here, in this article, I will show you that how you can pass table valued parameter and call a stored procedure in ASP.NET. You have to add...

    Read more →

    How to count characters in a Textbox in ASP.NET

    by  • May 16, 2014 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET, Microsoft VB.NET • 0 Comments

    Many website have their feedback or suggestions and complaint pages so that user can post their feedback, give suggestions and write any complaint. These pages have a multi-line Texbox or text area but they restrict users to write fix number of characters. User cannot exceed from the given fixed number of characters because they...

    Read more →