腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
6
回答
将所选值从dropdownlist
转换
为
int
、
我有一个下拉列表,我希望将选定的值放入一个
int
变量中,然后在我的aspx页面中,我想将它分配给一个rowspan。这是我的C#代码,用于获取值并
转换
它: {
int
a =
Int
32.Parse(drop.SelectedValue.ToString()); <
asp
:TableHeaderRow&g
浏览 1
提问于2012-03-29
得票数 4
回答已采纳
3
回答
“输入字符串的格式不正确”错误
、
、
TabIndex="0" Font-Names="Verdana" Font-Size="11px" ForeColor="#2D2D2D" AutoPostBack="true"> </
asp
:DropDownList> <<
浏览 4
提问于2011-12-19
得票数 0
回答已采纳
2
回答
如何导航到
ASP
.NET中向导控件的特定步骤
、
我在
ASP
.NET页面中有一个Wizard控件。我正在尝试提供指向各个WizardStep%s的链接。我找不到有关此操作的任何信息。下面是一些代码,可以帮助将我的问题可视化 <HeaderTemplate>
浏览 4
提问于2012-03-06
得票数 1
4
回答
任何人都可以告诉我如何比较var
、
客户端代码如下所示 <ItemTemplate> </ItemTemplate>
浏览 1
提问于2013-12-27
得票数 0
回答已采纳
1
回答
Gridview求值条件未正常工作
、
="server" Checked='<%# Convert.ToBoolean((
int
)Eval("hour"))%>' Enabled='<%# Convert.ToBoolean((
int
)Eval='<%#Convert.ToBoolean((
int
)Eval("hour"))%>' Enabled='<%# Convert.ToBoolean((
int
)Ev
浏览 0
提问于2015-07-20
得票数 3
3
回答
调用方法的ItemTemplate
、
、
我有以下几点: <
asp
:Label ID="lblFixtureType" runat="server" Text='<%# FixtureType(DataBinder.Eval("FixtureType")) %>'></
asp
:Label>我喜欢做的是传递FixtureType的值,然后在它后面添加"A“。我得到
浏览 6
提问于2013-11-13
得票数 1
回答已采纳
2
回答
将网格视图列显示为行
、
AllowSorting="True" > <
asp
<EditItemTemplate> </ItemTemplate>
浏览 1
提问于2011-02-04
得票数 0
回答已采纳
2
回答
sql server从两个表中获取字符串中的最大值整数。
、
、
、
下一个查询是:FROM SELECT nrt from
asp
where nrt != ' ' and nrt is not null SELECT nrt from
asp
_historic where nrt !
浏览 5
提问于2016-10-18
得票数 0
1
回答
更新边界字段中的数据(输入字符串格式不正确)。
、
、
、
、
以下是我的html代码: <
asp
:LinkButton ID="LinkButton1" Text="Edit" runat="server" CommandName="Edit" /> <EditItemTemplate> <
asp
:LinkButton ID="LinkButton2
浏览 7
提问于2016-06-01
得票数 0
回答已采纳
3
回答
是否可以将
asp
:GridView绑定到List<T>?
、
、
、
> <
asp
:BoundField DataField="ContainerType" HeaderText="Type" /> <
asp
:BoundField DataField="ReleaseDate" HeaderText="Date"
浏览 4
提问于2011-07-07
得票数 6
回答已采纳
2
回答
索引在拆分字符串中超出了异常范围。
、
、
int
1 = Convert.ToInt32(exp[0]);} <
asp
:DropDownList ID="DropDownList2" runat="server" AutoPostBack:ListItem>&l
浏览 5
提问于2013-02-27
得票数 2
1
回答
无法将值NULL插入'module_desc‘列
、
、
asp
:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:UniStringModule_Description, <
asp
:Parameter Name=&qu
浏览 2
提问于2015-11-03
得票数 0
2
回答
asp
:边界字段查看带条件的值
、
我有一个数据视图:可以用下面这样的条件隐藏每个值 Visible=<%# ((
Int
32
浏览 0
提问于2009-12-03
得票数 2
回答已采纳
3
回答
将逗号分隔值传递给SelectCommand的问题
、
我的.cs文件中有以下代码:我的.aspx文件中有以下代码 <SelectParameters> <
asp
:Parameter Name="LocId" /></SelectParam
浏览 1
提问于2013-11-04
得票数 0
1
回答
枚举类型字段上的EntityObjectDatasource和where子句
、
、
这是我到目前为止尝试过的:CONVERT(it.MyEnumProperty AS
INT
) = @MyParam // Still does not work我知道这可能很简单,但我在谷歌
浏览 0
提问于2013-01-17
得票数 2
回答已采纳
2
回答
具有Guid参数的SqlDataSource
<
asp
:SqlDataSource ID="dsProfit" runat="server" ConnectionString="<%$ ConnectionStrings:DefaultConnectionvalue) as suma from AllProfitView where IdUser=@userId group by name order by sum(value) desc"> </
asp
浏览 2
提问于2013-07-27
得票数 3
回答已采纳
1
回答
为一行抓取SelectedIndex --点击按钮
、
:CommandField> SortExpression="type" > </
asp
Sort
浏览 0
提问于2013-11-12
得票数 0
回答已采纳
2
回答
.NET核心网络API:多重[FromBody]?
、
、
、
、
我正在将用
ASP
.NET MVC编写的代码
转换
为
ASP
.NET Core。在
转换
代码时,我遇到了一个问题。我们使用的方法有多个参数,如下所示:public class Search(List<
int
> ids, SearchEntity searchEntity) //
ASP
.NET MVC
浏览 2
提问于2018-05-27
得票数 11
5
回答
将Textbox字段检索为整数,可在<for>循环中使用
、
<
asp
:TextBox ID="txtrandom" runat="server"></
asp
:TextBox>
int
random; for (
int
i = 0; i < random;i++)
浏览 2
提问于2013-10-24
得票数 0
回答已采纳
1
回答
RadioButtonList将值
转换
为
int
(Id)
、
、
、
、
我有个问题:但是我不能把无线电按钮表的值
转换
为id <
asp
:ListItem Text="2" Value="2">Archi</
asp
Value="4">Fun</
asp<
浏览 4
提问于2013-11-10
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券