在Windows Phone 8中,我想将图像放在一个圆圈中.是否有一个像网格一样的圆形容器?我知道有椭圆位,它不是一个容器
我正在尝试使用一些引导类在我的表单中的必填字段中添加左边的包.
<div class="input-group input-group-sm">
<span class="input-group-addon label-danger" style="max-width:10px;"></span>
<input id="Name"maxlength="30"/>
</div>
Run Code Online (Sandbox Code Playgroud)
这给了我在IE11以外的所有浏览器中查看的显示.在IE11中,宽度保持不变,就像我没有添加max-width属性一样.这是必需的结果:

这就是我在IE11中得到的(宽度不一样)

我有一个简单的存储过程,有参数
CREATE Procedure GetSupplierForTesting
(@SupplierId INT)
AS
SELECT SuppLabel
FROM Supplier
WHERE Supplier.SupplierId = @SupplierId
Run Code Online (Sandbox Code Playgroud)
我可以使用exec命令在另一个存储过程中调用它
exec GetSupplierForTesting @SupplierId = 10
Run Code Online (Sandbox Code Playgroud)
我发现了一篇文章,解释了如何sp_executesql更快exec.我的问题是我不知道如何调用具有参数的存储过程sp_executesql.我试过这段代码
DECLARE @SupplierId INT = 10;
EXEC sp_executesql N'GetSupplierForTesting', N'@SupplierId INT', @SupplierId
Run Code Online (Sandbox Code Playgroud)
但我收到一个错误:
过程或函数'GetSupplierForTesting'需要参数'@SupplierId',这是未提供的
我在Windows Phone 8中工作,我在Pivot控件中有两个枢轴项.如何检测我是向右还是向左滑动?