
自己程序中定义了一个数据库 *** 作的类,用的是Server2000的数据库,仅供参考:
namespace
ComtactManager
{
class
DataBase:IDisposable
{
private
SqlConnection
Sqlconn;
public
static
string
sConn
=
"server=localhost;database=HqCompact;uid=sa;pwd=";
public
void
Dispose()
{
Dispose(true);
GCSuppressFinalize(true);
}
protected
void
Dispose(bool
disposing)
{
if
(disposing)
return;
if
(Sqlconn
!=
null)
{
SqlconnDispose();
Sqlconn
=
null;
}
}
public
void
Open()
{
if
(Sqlconn
==
null)
{
Sqlconn
=
new
SqlConnection(sConn);
SqlconnOpen();
}
}
public
void
Close()
{
if
(Sqlconn
!=
null)
SqlconnClose();
}
public
DataSet
RunSelectSQL(string
sSQLString)
{
thisOpen();
DataSet
SqlDS
=
new
DataSet();
SqlDataAdapter
SqlDA
=
new
SqlDataAdapter(sSQLString,thisSqlconn);
SqlDAFill(SqlDS);
return
SqlDS;
}
public
bool
RunReaderSQL(string
sSQLString)
{
thisOpen();
SqlCommand
cmd
=
new
SqlCommand(sSQLString,
thisSqlconn);
SqlDataReader
reader
=
cmdExecuteReader();
if
(readerRead())
{
readerClose();
return
true;
}
else
{
readerClose();
return
false;
}
}
public
SqlDataReader
getReader(string
strSelect)
{
SqlCommand
cmd
=
new
SqlCommand(strSelect,Sqlconn);
SqlDataReader
reader
=
cmdExecuteReader();
return
reader;
}
public
void
RunDelOrInsSQL(string
sSQLString)
{
thisOpen();
SqlCommand
Sqlcomm
=
new
SqlCommand(sSQLString,
thisSqlconn);
SqlcommExecuteNonQuery();
}
public
void
RunProcedure(SqlCommand
cmd)
{
cmdExecuteNonQuery();
}
}
}
数据库有数据库的语言,不同的编程语言有自己不同的风格
数据库和编程语言有关联,也可以没有关联
如果你是做一个很初级的程序,或是一个根本不用数据库的程序,那你只学编程语言就行了,因为它里面不会涉及到数据库的东西;如果你的爱好是数据库方面,那你也可以只专注数据库,编程语言就不重要了,好像数据库中ORACEL是很强大的,我们班上一个男生,编程比较差,但是他ORACEL相当出色,现在他就在ORECAL公司,还挺不错的呢
当然,如果你是偏向编程这一边,但是你的程序中又会去访问数据库,那你就两者都要会了,不过这种情况的对数据库的要求也不是太高,很容易就会的,但是你是很喜欢数据库那种,要深入研究的话,那个还是很有意思,也比较有难度的,就看你是怎么对待了
所以,具体要先学哪个呢,就要看你更喜欢哪方面些了,我觉得应该不是很重要的吧。不过,学校里面倒是一般都是先学基础的编程语言的
Self-evaluation:
Government and the nearly four years of work experience in the financial industry, has engaged in pre-market software, responsible for the sale, training software engineers work
30-100 people in more than 40 software products training experience Training experience Training that can be independent producers, software instructions, PPT related documentation!
11 domestic provinces and cities more than 3,000 mapping industry mapping units Market development experience
Nearly 100 financial institutions after-sale technical support
Very good organization and leadership skills Pinmao the correct character, cheerful, and with good ethics Rigorous practical work and the very strong sense of responsibility, a strong sense of team, and the good people live, work can withstand greater pressure Like exposure to new things, learn new knowledge
Proficient in Visual Basic, SQL Serer, asp, IIS, Photoshop, Dreamweaver
Familiar with: DB2, such as large-scale database Orecal!
Work experience:
Beijing in Computer System Engineering Co Ltd, soft Rongxin
Domestic listed companies | 500 - 999 people technical support engineers | statistical analysis of the August 2007 - now Location: Beijing
On target: Manager
Work responsibilities and performance:
Responsible for financial software products in pre-market, after-sale technical support work
Customers: state-owned banks, commercial banks, foreign banks, trust companies and other financial and
Technical support for: the software version of the Financial Statistics (CS \ BS) + background SQL, 1104 CBRC system, the financial markets were the head office system DB2 + background
Entry level technical support for three months has been more than two years about the entry level colleagues! In the process of consulting clients can quickly respond to customers, and solve problems related consulting, in the eyes of the establishment, the image of a high!
Separation / transfer reasons: to find their own career planning in line with the posts!
Company simple description:
Beijing Rongxin computer systems in the soft Limited (in the soft Rongxin, English called "RESOFT") is soft in the group specialized in finance, government areas of software development, systems integration, product agents, technology and professional services company, Application development system in the industry and services, and independent product innovation has a strong R & D strength and mature experience
10 years of history of financial information, the company has grown soft Rongxin for China's financial industry application software, integrated solutions and professional consulting services to leading manufacturers
Beijing 4D mentor Information Technology Co, Ltd
Private Private enterprises | 50 - 99 people trained software engineers | Marketing Department in August 2004 - August 2007 Location: Beijing Xuanwu District
On target: Manager
Subordinates: 4
Work responsibilities and performance:
Customer responsible for the whole software market, leading four teams, responsible for the entire software market late application and technical support, and as users of the bridge and R & D departments, responsible for the collation and State Bureau of Surveying and Mapping System Requirements reference to the provinces in research and development departments System After the election of communication with the users until the user satisfaction
If the State Bureau of Surveying and Mapping, or training for the provincial Bureau of Surveying and Mapping, responsible for the entire course of planning and arrangements for the conference Preparation of project plans, in accordance with different training preparation software products targeted training materials, PPT courseware In the training process and the system speaker explain to the user responsible, and demonstrate the "measured signs management software," and "mapping software quality management" and "quality management information system mapping", including: software features background, filled out standardized data, the software in use for attention, how to export reporting of data, data security, and so on, through the training courses so that the user can effectively use the software to work
Training software:
1 Measuring signs management software: VB + MO development of the GIS system
2 Mapping Qualification Management Information Systems: NET + SQL development of the B / S structure of information systems
3 Mapping Qualification Management Software: VC + SQL development of the C / S software running on single
August 2004 - so far Organization has conducted a 35 30-80 people each course
以上就是关于C#web项目是如何连接数据库做判断的全部的内容,包括:C#web项目是如何连接数据库做判断的、数据库与语言先学哪个好、麻烦高手把我的自我评价,工作经历翻译成英文谢谢30分.等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)