PC Review


Reply
Thread Tools Rate Thread

Binding Gridview with Sqldatasource control

 
 
Sobin Thomas
Guest
Posts: n/a
 
      26th Aug 2008
Hi All,
How can I bind the Gridview control to Sql Datasource control on a button
click(I see majority of the articles binding datasource at page load) I need
to enable the paging and sorting of the Gridview control also .Actually I am
able to bind the sql datasource control to the Gridview on button Click but
on clicking the GridView for paging or sorting , the Gridview vanishes!!
In short,
I want to bind the GridView control to a Sqldatasource control at run
time(on a button click).Also I want my GridView's paging and sorting working
without any problem.
Hope You have the solution.
Thank you in advance


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with binding Gridview to sqldatasource control Sobin Thomas Microsoft ASP .NET 1 27th Aug 2008 10:03 AM
sqldatasource selectparameters hooked to a control inside a gridview or formview? jobs Microsoft ASP .NET 0 27th Sep 2007 10:15 PM
gridview and sqldatasource - refresh the gridview phil Microsoft ASP .NET 2 14th Nov 2006 06:09 AM
SqlDataSource not binding Mike T Microsoft ASP .NET 3 2nd Feb 2006 08:27 PM
GridView Control in ASP.NET 2.0 is updating/deleting only via SqlDataSource adam222 Microsoft ASP .NET 3 18th Jan 2006 12:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:53 AM.