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
kevin Thomas
NA
1
5.2k
ASP.NET Gridview Databind
Jul 12 2010 9:31 AM
I have written the following code to databind a gridview control on an asp website. When I step through the code the dataview shows that it had rows and columns the databind method executes but the gridview is not visible on my webpage.
if
(!IsPostBack)
{
DataSet
ds = GetData();
if
(ds.Tables.Count > 0)
{
DataView
dv =
new
DataView
(ds.Tables[0]);
GridView1.DataSource = dv;
GridView1.Visible =
true
;
GridView1.DataBind();
}
}
Reply
Answers (
2
)
Posting of data on other url
Cannot get result from Process.Start ...