在gridview中插入更新删除 [英] insert update delete in gridview

查看:85
本文介绍了在gridview中插入更新删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个学校软件项目.我对所有的学生姓名和科目进行了搜索
GridView中来自该类.
基于此,我想为每个主题输入分数并计算
GridView中的总数和平均值,并将其插入到SQL Server数据库中.
问题是我不知道如何在GridView中编辑值.如果有人有
想法并提供一些代码示例.

谢谢

I am doing a school software project. I reterive all the student names and subjects
from that class in a GridView.
Based on that, for each subject I want to enter the marks and calculate
the total and average within the GridView and insert it in to SQL Server database.
Problem is that I don''t know how to edit values inside the GridView. If anyone have
idea inform with some code examples.

Thank you

推荐答案

看看这个;
http://weblogs.asp.net/manojkdotnet/archive/2009/10/11/insert-update-and-delete-using-grid-view-and-objectdatasource.aspx [ GridView中数据库驱动的客户端计算 [ ^ ]
calculating-gridview-total-using-javascript- jQuery [ ^ ]
how-to-add-client-side-calculation [ ^ ]
http://stackoverflow.com/questions/2522750/calculate-total-value-in-gridvew-in-asp-net-c-sharp [ http://www.google.com/support/forum/p/blogger/thread?tid = 78e601cc3a2d17d8& hl = zh_CN [ ^ ]
Have a look on this;
http://weblogs.asp.net/manojkdotnet/archive/2009/10/11/insert-update-and-delete-using-grid-view-and-objectdatasource.aspx[^]
Database driven client side calculations in GridView[^]
calculating-gridview-total-using-javascript-jquery[^]
how-to-add-client-side-calculation[^]
http://stackoverflow.com/questions/2522750/calculate-total-value-in-gridvew-in-asp-net-c-sharp[^]
http://www.google.com/support/forum/p/blogger/thread?tid=78e601cc3a2d17d8&hl=en[^]


您可能要首先开始在ASP.Net上阅读一本书.

但是,有些链接可以帮助您-
使用Gridview插入,更新,删除....简单方式 [ ^ ]
http://ramanisandeep.net/2008/11/16/gridview-insert-update-delete / [^ ]
http://geekswithblogs.net/dotNETvinz/archive/2009/02/22/gridview-insert-edit-update-and-delete--the-ado.net-way.aspx [ http://www.youtube.com/watch?v=MukatG7XnKM [ http://howtouseasp.net /how-to-use-gridview-with-insert-edit-update-delete-the-ado-net-way-c/ [ http://www.csharpaspnetarticles.com/2009/05/gridview-sqldatasource-insert- edit.html [ ^ ]
\http://www.aspsnippets .com/Articles/GridView ---添加-编辑-更新-删除和分页-AJAX-way.aspx [
You might want to start reading a book on ASP.Net first.

However, some links to help you -
Insert, Update, Delete with Gridview....simple way[^]
http://ramanisandeep.net/2008/11/16/gridview-insert-update-delete/[^]
http://geekswithblogs.net/dotNETvinz/archive/2009/02/22/gridview-insert-edit-update-and-delete--the-ado.net-way.aspx[^]
http://www.youtube.com/watch?v=MukatG7XnKM[^]
http://howtouseasp.net/how-to-use-gridview-with-insert-edit-update-delete-the-ado-net-way-c/[^]
http://www.csharpaspnetarticles.com/2009/05/gridview-sqldatasource-insert-edit.html[^]
\http://www.aspsnippets.com/Articles/GridView---Add-Edit-Update-Delete-and-Paging-the-AJAX-way.aspx[^]


这篇关于在gridview中插入更新删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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