posts - 8, comments - 1, trackbacks - 1, articles - 1

05 2006 档案

摘要: protectedvoidsetRowToRow(DataRowdataRow,DataRowtempRow){tempRow["CMCode"]=dataRow["CMCode"];tempRow["CMName"]=dataRow["CMName"];tempRow["UniteName"]=dataRow["UniteName"];tempRow["OrderPrice"]=dataRow[...阅读全文

posted @ 2006-05-22 14:09 ansonchou 阅读(469) | 评论 (1) 编辑 |

摘要: vartableObj=document.getElementById("tableName");varstr="";for(vari=0;i<tableObj.rows.length;i++){for(varj=0;j<tableObj.rows[i].cells.length;j++){//str+=tableObj.rows[i].cells[j].innerHTML+"";fo...阅读全文

posted @ 2006-05-22 13:46 ansonchou 阅读(745) | 评论 (0) 编辑 |

摘要: 如果你想多页传递参数 如:text2.aspx 的 textBox1.Text 取 text1.aspx 的textBox1.text//text1.aspx页<%@PageLanguage="C#"%><scriptrunat="server"><html><headrunat="server"><title>UntitledPage&...阅读全文

posted @ 2006-05-10 17:46 ansonchou 阅读(389) | 评论 (0) 编辑 |

摘要: 不知是不是微软的一个BUG ,DataGrid 可以直接设某列的Visible=false.但如果在GridView中把Visible=false就找不到这一列.解决方法是在GridView的 RowDataBound 方法中动态把某列的Visible=falseprotectedvoidGridView1_RowDataBound(objectsender,GridViewRowEventArg...阅读全文

posted @ 2006-05-09 12:42 ansonchou 阅读(193) | 评论 (0) 编辑 |