c#
How to write some data to excel file(.xlsx)
This is what i am trying to do.
How to bind crystal report to manually created DataSet
I wan’t to create DataSet from code and set it as data source for crystal report.
I don’t want to create a DataSet xsd file in VS if I don’t have to. Just pure code.
regex for accepting only persian characters
I’m working on a form where one of its custom validators should only accept Persian characters. I used the following code:
How do I enable NuGet Package Restore in Visual Studio?
There’s a similar post on stack but it doesn’t help with my issue possibly because I am using Visual Studio 2015.
parameterized queries vs. SQL injection
I am new to Asp.net and I’m just starting to work with classes. I recently created a class that will handle most of my SQL queries for me so that I don’t have to repeatedly create new connections over all my files.
Entering keys manually with Entity Framework
I’m trying to use Entity Framework code first for a simple database project and I run into a problem I simply cannot figure out.
How to check a input IP fall in a specific IP range
If we let users input a couple of ip ranges, e.g., 172.16.11.5 – 100, how could I write a function to check if a IP (172.16.11.50) falls in the ranges?
How to force HTTPS using a web.config file
I have searched around Google and StackOverflow trying to find a solution to this, but they all seem to relate to ASP.NET etc.
ASP.Net URLEncode Ampersand for use in Query String
I need to redirect to a url passing a parameter as a query string.