TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sanjay Kumar
NA
5k
4.4m
GridView Row Button_Click database table updatevalue
Oct 1 2013 2:03 AM
Hi
how to active & deactive two Button and Button_Click update value database in GridView
<
asp
:
GridView
ID
="grdUserList"
runat
="server"
AutoGenerateColumns
="False"
DataKeyNames
="UserID"
OnRowCommand
="grdUserList_RowCommand"
>
<
Columns
>
<
asp
:
BoundField
DataField
="UserID"
HeaderText
="UserID"
InsertVisible
="False"
ReadOnly
="True"
SortExpression
="UserID"
/>
<
asp
:
TemplateField
HeaderText
="CurrentStatus">
<
ItemTemplate
>
<
table
>
<
tr
>
<
td
align
="center"
style
="
width
:
78px">
<
asp
:
Button
ID
="Button2"
runat
="server"
Text
="Active"
/></
td
>
<
td
align
="center"
style
="
width
:
76px">
<
asp
:
Button
ID
="Button3"
runat
="server"
Text
="Deactive"
/></
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
asp
:
TemplateField
>
</
Columns
>
</
asp
:
GridView
>
Reply
Answers (
7
)
Could not load file or assembly 'Microsoft.SharePoint.Client
Cannot access web reference .