如何编写查询以从cs文件更新sqlserver中的值 [英] how to write a queryto update values in sqlserver from cs file

查看:123
本文介绍了如何编写查询以从cs文件更新sqlserver中的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个包含colums系列,cachefamily,userid,timestamp等的表格。



和另一个表监视器表:app_id,attribute_name,sourcetype等..



第二个表列,attribute_name包含值为cachefamily,line_no等。 。



现在我需要编写一个查询来从basefpository.cs文件中的cachefamily获取该系列..





我怎么能在.cs文件中写这个查询..



我对这个很新。请帮帮我..

Hi,

I have a table base that have the colums family,cachefamily, userid, timestamp etc..

and another table monitor table : app_id, attribute_name,sourcetype etc..

2nd table column ,attribute_name contains the values as cachefamily, line_no etc..

now i need to write a query to get the family from the cachefamily in baserepository.cs file..


how can i write the query for this in .cs file..

I am very new to this one .. please help me any one..

推荐答案

试试以下链接:





C#ASP.net更新数据进入SQL服务器数据库:作业 [ ^ ]
try the following link:


C# ASP.net Update Data into a SQL server database : Homework[^]


这篇关于如何编写查询以从cs文件更新sqlserver中的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆