![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
炫澜abc
这个作者很懒,什么都没留下…
展开
-
C#中迭代器的实现进程
using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;namespace _6_1{ class Program { static void Main(string[] args) { object[] values = { "a", "b", "c", "d",.原创 2021-03-08 22:20:03 · 162 阅读 · 0 评论 -
C#使用Oracle.ManagedDataAccess.dll
C#使用Oracle.ManagedDataAccess.dll在刚接触C#的时候由于公司使用的就是Oracle数据库,那么C#怎么连接Oracle数据库就成了首要去掌握的知识点了。在那时没有ODP.NET,但visual studio却对Oralce数据库的调用进行了集成,就是下图中的这个,尽管现在使用这个的时候visual studio提醒过时的,但在那时却是非常好用的。为什么现在visual studio中这个程序集依然能使用,有ODP.NET,单单要拿出Oracle.ManagedDataA原创 2020-06-21 16:32:26 · 349 阅读 · 0 评论 -
DataTable中使用的dt.Select技巧
使用dt.Select()的应用场景由于在创建Asp.net页面时,导入Excel文件或者对现有信息跟数据库中的信息进行比对,有两种方法进行比较:1.是把数据传到数据库用Sql语句进行查询判定2.是在后台创建临时的DataTable,把传入的数据和查询的数据都放入到临时的datatable中使用dt.Select()..两种方法比较:数据量不多时可以使用第一种方法,查询轻量,方法逻...原创 2019-11-19 16:54:21 · 2931 阅读 · 0 评论 -
ASP.NET+LayUI实现多图片上传(ashx)
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HighGrade.aspx.cs" Inherits="HighGrade" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="serv...原创 2019-05-22 20:14:30 · 3160 阅读 · 2 评论 -
ASP.NET+Swiper实现轮播
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="lunbo.aspx.cs" Inherits="Default3" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"&g...原创 2019-05-22 20:17:37 · 1113 阅读 · 0 评论 -
ASP.Net+Layui前后台对接传回table
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Table.aspx.cs" Inherits="_Default" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"&g...原创 2019-05-22 19:30:35 · 4991 阅读 · 3 评论 -
C#字节转换为字符串
class ConvertStrByte { public static byte[] StringToByte(string InString) { InString = InString.Replace(" ", ""); if ((InString.Length % 2) != 0) ...原创 2019-05-21 18:26:56 · 2934 阅读 · 0 评论 -
Oracle操作的公共类
using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Configuration;using Oracle.ManagedDataAccess.Client;using Oracle.ManagedDataAccess.Types...原创 2019-05-21 18:41:13 · 198 阅读 · 0 评论 -
Sql server 操作的公共类
using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Configuration;using System.Data.SqlClient;namespace DBUtility{ /// <summary>...原创 2019-05-21 18:44:14 · 266 阅读 · 0 评论 -
Excel导入导出
using System;using System.Collections.Generic;using System.Data;using System.IO;using System.Linq;using System.Text;using System.Web;using NPOI.SS.UserModel;using NPOI.HSSF.UserModel;using NP...原创 2019-05-21 18:45:56 · 114 阅读 · 0 评论 -
时间的比较
using System;using System.Collections.Generic;using System.Text;namespace AVW.Main{public class Fun{public static int GetAge(DateTime dtBirthday){string strAge = string.Empty; ...原创 2019-05-21 18:47:40 · 350 阅读 · 0 评论 -
C#正则验证
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI....原创 2019-05-22 19:16:36 · 1477 阅读 · 0 评论