使用这个http://hertcloud.cnblogs.com/archive/2005/12/21/301327.html这个该如何绑定Repeater,并同时使用存储过程中的两个Output请多帮忙,多谢多谢!
解决方案 »
- Button添加事件委托问题
- 这种情况是用DataReader好还是DataSet好?
- gridview 的update参数问题
- 服务器端控件不显示,客户端控件显示,请问这是什么问题(该机器上安装了.NET系统必备,没装开发环境)
- 对路径“C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\newprj\93b468af\b03b9be7\hash.web”的访问被拒绝。急
- 在线等::::AspNetPager上Assemblyinfo.cs中一些信息表示什么意思?
- Web页中用Response.WriteFile(strFilePath)输出一个MS-Word 文档,编辑word文档后,我要写哪些代码(C#/vb)来保存该文档(到服务器/数据库)
- 【高手来】如何禁止另存文件?
- ASP.NET调试程序成功,在浏览器中没有显示是什么问题啊??,上午还能用呢急在线等啊。
- asp.net怎样才能像ASP分页?不用三大控件
- 一个超简单的问题,可就是弄不出来,好郁闷
- 在线等。关于DataGrid小问题
SqlCommand comm=null;
string ConnectionString=System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"];
SqlConnection conn=new SqlConnection(ConnectionString);//......其他需要传入的参数//调用
CutPageData(conn, ref comm, "VOX_CDSinger", "id, cdsinger, cdsingertype, area, cdsingerreadme", 15, page, "id", 1, strFilter, "id", ref dr);//绑定
this.Repeater1.DataSource=dr;
this.Repeater1.DataBind();
http://community.csdn.net/Expert/topic/4503/4503864.xml?temp=.4542505
{
……
_dr = comm.ExecuteReader();
result1=sqlcmd.Parameters ["@Counts"].Value .ToString ();
result2=sqlcmd.Parameters ["@pageCount"].Value .ToString ();
}调用时public static void CutPageData(conn, ref comm, _tblName, _fldName, _pageSize, _page, _fldSort, _Sort, _strCondition, _ID, ref _dr,out result1,out result2)