- 博客(5)
- 收藏
- 关注
原创 无刷新联动下拉框
在Page_Load里面:if(!IsPostBack){ if(this.Request["getDataSet"] != null) { SqlConnection conn = new SqlConnection("server=localhost;database=pubs;uid=sa;pwd=;"); SqlDataAdapter da = new SqlDataAdapter
2006-04-08 13:38:00 1073
原创 JavaScript合并单元格
function SpanGrid(tabObj,colIndex){ if(tabObj != null) { var i,j; var intSpan; var strTemp; for(i = 0; i { intSpan = 1; strTemp = tabObj.rows[i].cells[colIndex].innerText; for(j = i + 1; j
2006-03-10 16:54:00 2865 6
原创 上传文件并插入数据库中
public class myUpFile{ //"server=.;uid=sa;pwd=;database=pubs"; private static string scn = ConfigurationSettings.AppSettings["strcn"].ToString(); private static SqlConnection cn = new SqlConnection(
2006-03-08 07:37:00 1341
原创 temp
function FilllstTest2(){ var tmpParentValue = Form1.lstTest1.item(Form1.lstTest1.selectedIndex).value; if (tmpParentValue == 0) { Form1.lstTest2.disabled = true; } else { Form1.lstTest2.disabled = f
2006-03-05 16:32:00 493
原创 用JavaScript操作和控制标签的资料
New Page 1function getrow(obj){ if(event.srcElement.tagName=="TD"){ curRow=event.srcElement.parentElement; alert("这是第"+(curRow.rowIndex+1)+"行"); }}
2006-03-05 16:30:00 1010
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人