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
B M Suchitra
NA
507
418.1k
Can we make the cell invisible in gridview?
Aug 25 2011 12:40 AM
Hi all,
How can i make the cell value(which is a textbox) in a gridview invisible? i have attached the file please see it and tell me what can be done..
For the add new row button the code is as below
DataSet DSLoadMaster = new DataSet();
DSLoadMaster = cb.DSLoad("city", "city_master");//obj.LoadDataSet("Select * from city_master");
// Here we'll add a blank row to the returned DataTable
DataTable DT = DSLoadMaster.Tables[0];
DataRow DR = DT.NewRow();
DT.Rows.InsertAt(DR, 0);
//Creating the first row of GridView to be Editable
GVDetails.EditIndex = 0;
GVDetails.DataSource = DT;
GVDetails.DataBind();
((LinkButton)GVDetails.Rows[0].Cells[0].Controls[0]).Text = "Insert";
Attachment:
invisible cell.rar
Reply
Answers (
1
)
What is Delegate
How to Create DataGridView Dynamically