编辑SQL表 [英] Edit SQL table
问题描述
大家好,
如果我想在SQL表中添加行,我可以这样做:
Dim commd As SqlCommand = New SqlCommand(insert into table etc ....)
或者有更好的方法吗?
另外,是有一个最好的实践方法连接到SQL和
编辑表?当我google时,只有很多不同的方式
这样做!
-
Daniel
MCSE,MCP + I,Windows 2000 / NT中的MCP
------------------- -------------------
从我的邮箱地址中删除第二个马德里联系我。
Hi all,
If I want to add rows to an SQL table, can I only do it like this:
Dim commd As SqlCommand = New SqlCommand("insert into table etc....")
Or is there a better way?
Additionally, is there a best pratice method for connecting to SQL and
editing tables? When I google there are just soooo many different ways
of doing it!
--
Daniel
MCSE, MCP+I, MCP in Windows 2000/NT
--------------------------------------
remove the 2nd madrid from my mail address to contact me.
推荐答案
Daniel< da **** @ madridmadridsoleado.com>在新闻中写道:uQkYTKndFHA.3712
@ TK2MSFTNGP09.phx.gbl:
Daniel <da****@madridmadridsoleado.com> wrote in news:uQkYTKndFHA.3712
@TK2MSFTNGP09.phx.gbl:
大家好,
如果我想添加行到SQL表,我只能这样做:
Dim commd As SqlCommand = New SqlCommand(insert into table etc ....)
>或者有更好的方法吗?
Hi all,
If I want to add rows to an SQL table, can I only do it like this:
Dim commd As SqlCommand = New SqlCommand("insert into table etc....")
Or is there a better way?
看一下SQL参数 - 它们有助于保护代码并简化你的
SQl语句。另外一件事 - 看看微软的数据应用程序块(v2或
v3),它将有助于简化您的SQL代码。
-
Lucas Tam(RE********@rogers.com)
请删除删除来自回复时的电子邮件地址。
http://成员。 ebay.com/aboutme/coolspot18/
Daniel,
你对更好的意思是什么? 。在我看来是那些成千上万的方法
一无所获。
如果你需要一个只有一行的表,我肯定会告诉你方法
你现在正在使用并且绝对没有更好的选择。
Cor
Daniel,
What do you mean with "better". In my opinion are those thousands methods
not made for nothing.
If you need a table with only one row, than I surely advise you the method
you are using now and have absolute no better option.
Cor
Daniel< da ****@madridmadridsoleado.com>在新闻中写道:uQkYTKndFHA.3712
@ TK2MSFTNGP09.phx.gbl:
Daniel <da****@madridmadridsoleado.com> wrote in news:uQkYTKndFHA.3712
@TK2MSFTNGP09.phx.gbl:
大家好,
如果我想添加行到SQL表,我只能这样做:
Dim commd As SqlCommand = New SqlCommand(insert into table etc ....)
>或者有更好的方法吗?
Hi all,
If I want to add rows to an SQL table, can I only do it like this:
Dim commd As SqlCommand = New SqlCommand("insert into table etc....")
Or is there a better way?
看一下SQL参数 - 它们有助于保护代码并简化你的
SQl语句。另外一件事 - 看看微软的数据应用程序块(v2或
v3),它将有助于简化您的SQL代码。
-
Lucas Tam(RE********@rogers.com)
请删除删除来自回复时的电子邮件地址。
http://成员。 ebay.com/aboutme/coolspot18/
这篇关于编辑SQL表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!