首页 \ 问答 \ 用于sql express 2008的sql profiler,显示带参数信息的查询(sql profiler for sql express 2008 that shows the query with parameter info)

用于sql express 2008的sql profiler,显示带参数信息的查询(sql profiler for sql express 2008 that shows the query with parameter info)

重复: sql profiler是否显示传入的参数值? (由同一个用户询问。)

嗨,

我需要一个sql profiler,它将显示调用到数据库的所有sql(原始sql或sproc),以及传递给查询的参数。

如果有试用,我不介意商业产品。


Duplicate of: Does sql profiler show you the paramater values that were passed in? (Asked by same user.)

Hi,

I need a sql profiler that will show all the sql (raw sql or sproc) that are called to a database, along with the parameters passed into the queries.

I don't mind a commercial product if it has a trial.


原文:https://stackoverflow.com/questions/646127
更新时间:2023-10-17 21:10

最满意答案

请尝试以下方式:

<label id="lblDisplay">
 @Html.Raw(HttpUtility.HtmlDecode(@Model.IncidentDescription))</label>

参考


Please try the below:

<label id="lblDisplay">
 @Html.Raw(HttpUtility.HtmlDecode(@Model.IncidentDescription))</label>

Reference

相关问答

更多
  • Razor和ASPX(WebForm),都是一种前端页面的引擎,你只要知道和aspx是一回事就行了。相比aspx这种引擎来说编写代码更简练更方便而已。
  • 你的混淆了html / code混合的“流”。 您正在关闭不同级别的tr标签,而不是html中的不同级别,但在代码内部。 你应该把剃须刀变成输出html,它不会自己解析。 你可以像这样包含它们: @: 要么 @Html.Raw("") 结果: if (counter % 2 == 0) { @:
  • 我已经使用了JQuery UI对话框插件并使用JQuery通过ajax加载模式对话框,并且对此非常满意。 我不得不破解我的代码给你一些有用的东西,所以任何语法错误的道歉,但我使用这个jQuery, $('#MyAtag').click(function () { // Add a container for the modal dialog, or get the existing one var dialog = ($('#ModalDialog').length > 0) ? $('#M ...
  • 您将值分配给“_firstName” ViewData["_firstName"] = _model.NameFirst; 然后尝试显示“FirstName” @Html.TextBox("FirstName", ViewData["FirstName"]) 尝试将其更改为: @Html.TextBox("FirstName", ViewData["_firstName"]) 另一种方法是避免这样的错误,即定义一个包含所有视图数据键的新类。 这样,您的字符串就包含在一个位置,从而使维护和更改变得更容易 ...
  • 您将匿名对象列表传递给您的视图: select new { Email = x.ParentEmail, UserName = y.Username } 虽然该视图期望IEnumerable : @model IEnumerable 您应该将您的选择更改为: select y 为了代码工作。 更新 以下是您如何使用视图模型模式。 首先,创建一个视图模型类,这样你就不会将匿名类型传递给你的视图。 我们 ...
  • 请尝试以下方式: 参考 Please try the below: Reference
  • 在这里你有一个完整的教程: http://weblogs.asp.net/haithamkhedre/archive/2011/03/13/openid-authentication-with-asp-net-mvc3-dotnetopenauth-and-openid-selector.aspx Here you have a full tutorial: http://weblogs.asp.net/haithamkhedre/archive/2011/03/13/openid-authenticati ...
  • 也许你可以创建一个模仿XML结构的ViewModel。 那样......你不依赖于ViewBag ......并且可以遍历viewmodel属性和集合以使用Razor生成HTML。 应该在控制器上创建viewmodel,加载XML然后使用xpath加载viewmodel。 然后,在Razor中,使用ViewModel生成HTML。 希望你的XML不是太复杂。 您的ViewModel: public class MyViewModel{ public ParsedXMLDoc myXmlData {ge ...
  • 这是一个可以帮助您入门的示例: 楷模: public class PopularTutorial { public int ID { get; set; } public int NumberOfReads { get; set; } public string Title { get; set; } } public class Blog { public int ID { get; set; } public string Head { get; set; } ...
  • 不应该是: @model IEnumerable @{foreach (DomainModel.aspnet_Membership m in Model) { @(m.aspnet_Users.UserName) }} ? 我在foreach语句中添加了大括号( {和} )。 否则编译器会认为您的页面上需要foreach值,这是一个编译时错误。 我还在m.aspnet_Users.UserName周围添加了括号( (和) ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。