Skip to content

Instantly share code, notes, and snippets.

View arman-hpp's full-sized avatar
😊
Focusing

Arman Hasanpour arman-hpp

😊
Focusing
View GitHub Profile
SELECT * FROM TempOrgan
LEFT OUTER JOIN TOrgan ON TempOrgan.Organ Like '%' + TOrgan.OrganName + '%'
WHERE TOrgan.OrganName IS NULL
public static class ExtendedPersianString
{
public static string FixPersianName(this string text)
{
if (string.IsNullOrEmpty(text)) return text;
return text.ApplyCorrectYeKe().ReplaceAlef().RemoveDiacritics().CleanUnderLines().RemovePunctuation().Trim().RemoveSpaces();
}
public static string ApplyCorrectYeKe(this string text)
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View("Home");
}
public ActionResult Login(string txtUsername, string txtPassword)
{
var x = Request.ToObj<User>();
using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
namespace TestMigrationHistory
{
class Program
{