ultrawebgrid使用技巧
来源:互联网 发布:sql删除表中数据 编辑:程序博客网 时间:2024/06/06 08:29
1.ultrawebgrid客户端行点击事件
function Template_AfterRowActivateHandler(gridId, rowId) {
CurrentRow = igtbl_getRowById(rowId);
CurrentRowIndex = CurrentRow.getIndex();
var aaa= CurrentRow.getCell(0).getValue();
document.getElementById("<%= gamen.ClientID %>").value = strlegid;
}
2.模板列的添加,及从后台取值
<CellTemplate>
<asp:Label ID="aa" Text="<%# Container.Text %>" runat="server" BorderStyle="None" ToolTip='<%#DataBinder.Eval(Container.DataItem,"fieldname") %>' ></asp:Label>
</CellTemplate>
3.pattern页面设置
Pattern="页码:[currentpageindex]/[pagecount] 每页: [pagesize] [page:1:first] [prev] [default] [next] [page:[pagecount]:last] "
4.hidden使用
<input type="hidden" name="pLegId" id="pLegId" title="LEG_ID" runat="server"/>
5.数据保存
UltraWebGrid1.DataSource = dt;
UltraWebGrid1.DataBind();
ViewState["data"] = dt;
6.数据库字段number转化为varchar
convert(varchar, f.field)
7.数据库连接
SqlConnection connection = new SqlConnection(constring);
SqlCommand command = new SqlCommand();
command.Connection = connection;
DataTable dt = new DataTable();
connection.Open();
command.CommandText = strSql.ToString();
command.CommandTimeout = 6000;
DataSet ds = new DataSet();
SqlDataAdapter adp = new SqlDataAdapter(command);
adp.Fill(ds);
- ultrawebgrid使用技巧
- Infragistics NetAdvantage UltraWebGrid使用技巧
- [转]Infragistics NetAdvantage UltraWebGrid使用技巧
- [转]Infragistics NetAdvantage UltraWebGrid使用技巧
- UltraWebGrid使用,注意事项集合
- UltraWebGrid使用,注意事项集合
- Infragistics:UltraWebGrid使用
- UltraWebToolbar+UltraWebGrid使用实例
- UltraWebGrid
- UltraWebGrid
- 使用UltraWebGrid控件分页功能注意事项
- ultrawebgrid在VS2005环境下的使用
- 关于Infragistics.WebUI.UltraWebGrid按钮的使用
- 关于Infragistics.WebUI.UltraWebGrid的使用
- Infragistics:UltraWebGrid:与下拉框使用及模板列使用
- 在客户端使用javascript遍历UltraWebGrid中每个单元格
- 使用UltraWebGrid排序需注意的几处
- UltraWebGrid使用总结1--足够你日常所用~~
- POJ 1011-Sticks 简单搜索DFS
- ASP.NET结合Jquery
- actionscript 加载MovieClip
- linux 访问windows共享文件夹
- JBPM3的对象介绍
- ultrawebgrid使用技巧
- 异步委托的应用(五)文件对比的例子
- EBS概念辨析
- ASP.NET结合Jquery
- document.body.clientWidth;
- linux中用shell获取昨天、明天或多天前的日期
- ORACLE锁机制
- 学习笔记——进程通信IPC之信号量
- 访问修饰符