Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
EmpPhotoData.cs
Package: ASP[1].NET.rar [view]
Upload User: autodoor
Upload Date: 2022-08-04
Package Size: 9973k
Code Size: 1k
Category:
.net
Development Platform:
Others
- using System;
- using System.Data;
- using System.Data.SqlClient;
- namespace qminoa.Common.Data
- {
- /// <summary>
- /// EmpPhotoData 的摘要说明。
- /// </summary>
- public class EmpPhotoData :DataSet
- {
- //定义表名
- public const string EMPPHOTO_TABLE_NAME = "mrPhoto";
- public const string CONTENT_FIELD = "Content";
- //创建表结构
- private void BuildTable()
- {
- DataTable table = new DataTable(EMPPHOTO_TABLE_NAME);
- DataColumnCollection cols = table.Columns;
- for(int i=1;i<6;i++)
- {
- cols.Add(CONTENT_FIELD+i.ToString(),typeof(System.String));
- }
- Tables.Add(table);
- }
- public EmpPhotoData()
- {
- BuildTable();
- }
- }
- }