本文介绍了Gridview问题(对我来说很复杂)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,这里遇到了问题.如您所见,我的gridview包含到目前为止我的数据库中所有数据,而即时消息仍使用滚动条,这是因为我的数据库记录很长.这是我的问题,是否有可能当我水平移动滚动条时,gridview的第一列保持不变,而第二列和其他列则向左移动.我的意思是我的第一列已设置好,以便当我修改gridview时,我可以看到即时修改的内容.我的第一列是标题.谢谢,还有更多功能
Hi guys, got a problem here. As you see my my gridview contains all the data from my database ans so far im using a scrollbar cause the records of my database is long. Heres my question, Is it possible that when i move my scrollbar horizontally the first column of the gridview stays while the second and the other columns moves to the left. I mean my first column is set so that when i modify the gridview i could see what im modifying with. My first column is the title. Thanks and more power
推荐答案
< asp:gridview datasourceid ="SqlDataSource1" id ="GridView1" runat ="server" onrowcreated ="GridView1_RowCreated" onrowdatabound ="GridView1_RowDataBound" xmlns:asp =#unknown">
<asp:gridview datasourceid="SqlDataSource1" id="GridView1" runat="server" onrowcreated="GridView1_RowCreated" onrowdatabound="GridView1_RowDataBound" xmlns:asp="#unknown">
这篇关于Gridview问题(对我来说很复杂)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!