如何将变量插入Gridview25 [英] How I Can Insert Variable To Gridview25

查看:63
本文介绍了如何将变量插入Gridview25的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在代码下面写下它显示错误时,我怎么能这样做



when i write below code it showing error, So how i can do this

(GridView25.Rows[2].Cells[0].Text) = (variable)





这是向我显示的错误:

((赋值,调用,递增,递减和新对象表达式可用作语句) )



this is error which is showing to me:
(( assignment, call, increment, decrement, and new object expressions can be used as a statement ))

推荐答案

看看这里:在ASP.NET中编辑单个GridView单元格 [ ^ ]在这里:如何编辑/更新gridview中的特定单元格,asp.net / c#? [ ^ ]



没有太多信息可以帮到你...
Have a look here: Edit Individual GridView Cells in ASP.NET[^] and here: how to edit/update specific cell in gridview,asp.net/c#?[^]

There is not many information to help you...


仍然没有解决,任何人都可以帮助我

谢谢,,,
still not solved, Can any body help me
thanks,,,


我找到解决方案< br $>


i find solution

this.GridView25.Rows[0].Cells[0].Text





i不是为什么它不起作用,Thnaks ,,



i don't why it was not working, Thnaks,,


这篇关于如何将变量插入Gridview25的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆