AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 Formview
Posted by Srinivas Peteti on  7/11/2008 6:44:10 AM Category: ADO.NET
Add to my favorites
Email to friend
How to write code for paging in formview

Post Your Reply Post New Question

 Viewer's Reply
Try it,
Answered By boda.raju on 8/25/2008 8:51:17 AM
SqlDataAdapter da = new SqlDataAdapter("select *from bookslist where books='" + TextBox1.Text + "' ", con);
DataSet ds = new DataSet();
da.Fill(ds);
FormView1.DataSource = ds;
FormView1.DataBind();
con.Close();
its enter book id, its displayes details of th ebook in formview.

but change in properties step1: drop @ drag fromview, and click on edit template, and properties of formview in datakeys.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Washington Technology
The Art & Science of JavaScript - Free 100 Page Preview!
Many .NET teams are underperforming, is yours?