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
Tim Tutten
NA
1
985
Changing SQL Datasource stored procedure on button press
Dec 9 2014 9:07 AM
I have two different stored procedures i'd like to run to populate a datagrid. The first one as listed will run on start up and display all entries in a database. The 2nd one i want to only run on a button press, which shows only specific entries. Running them both like this may not be the best idea, but I've tried a few different things and no luck so far. Any advice?
<asp:SqlDataSource ID="sqlDevRequestHistory" runat="server" ConnectionString="<%$ ConnectionStrings:TrackIt %>"
SelectCommand="DevRequestHistory_SEL2" SelectCommandType="StoredProcedure" />
<asp:SqlDataSource ID="SqlDevReqestHistory" runat="server" ConnectionString="<%$ ConnectionStrings:TrackIt %>"
SelectCommand="DevRequestHistory_SEL" SelectCommandType="StoredProcedure" />
Reply
Answers (
1
)
Skill Bar how to data retrive from database by using asp.net
DropdownList who has all world's countries