Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Search Record Display in DetailsView1
Vindhya Yadaav
Nov 9 2015 6:11 AM
285
Reply
SqlDataAdapter sda = new SqlDataAdapter("select * from student_login", con);
DataTable dt = new DataTable();
sda.Fill(dt);
int c = dt.Rows.Count;
if (dt.Rows[0][4].ToString() == TextBox1.Text)
{
DataTable dt = new DataTable();
sda.Fill(dt);
DetailsView1.DataSource = dt;
DetailsView1.DataBind();
}
when recrod found its show
only 1St record show
of the Table.
please help to show column 2 and 3 4 .....ext...
and how to use ISPOSTBACK option.... of this page...
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Regarding freshers interview
Authorization