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
Priyank Khare
NA
256
75.9k
grid view problem
Jul 26 2012 7:10 AM
can i use following code without gridview_rowdatabound event? how and where?
protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
string hotelname = e.Row.Cells[4].Text;
string roomtype = e.Row.Cells[5].Text;
string AminID = e.Row.Cells[10].Text;
string Aminitiesval = " ";
Aminitiesval = Aminitiesval + "<a href='Amenities.aspx?Aids=" + AminID + "&HotelName=" + hotelname + "&RoomType=" + roomtype + "'>" + AminID + "</a>" + ",";
e.Row.Cells[10].Text = Aminitiesval;
}
}
Reply
Answers (
0
)
dynamic template columns to a gridview
client side validation for wizard control in asp.net?