Want to build the ChatGPT based Apps? Start here
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Vasanth Jack
1.8k
289
29.9k
When We click a button I want to get the chechbox ChekedID
Jan 31 2017 9:54 AM
When We click a button I want to get the chechbox ChekedID Which is Inside the Row databound
I will create a checkbox inside the Rowdatabound
I have one button When we click a button i want to get the checkbox values.
CheckBox checkBox;
protected void grdBindExcel_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
for (int i = 0; i < e.Row.Cells.Count; i++)
{
checkBox = new CheckBox();
//checkBox.CssClass = "headerCheckBox";
string val = e.Row.Cells[i].Text;
checkBox.Text = val.ToString();
checkBox.ID = Convert.ToInt32(i).ToString();
e.Row.Cells[i].Controls.Add(checkBox);
checkBox.AutoPostBack = false;
checkBox.CheckedChanged += SelectCheckBox_OnCheckedChanged;
}
}
}
Reply
Answers (
1
)
execute .exe from asp.net application on any event and IIS7.
how to decryption this security method( tab code).