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
Emily Parsons
NA
2
13.1k
Need a C# event for get next record and get previous record etc
Sep 17 2010 4:39 PM
Hi I have a project in ASP it has a SQl database in the background. It connects fine. Unfortunately it has a ButtonEvents file in C# where once the button is pressed the code goes in and performs the button event. What I need is to be able to get the next record from the database and all the other functions which are normally across the bottom of the page in the navigation panel: <asp:Content runat="server" ContentPlaceHolderID="NavigationContent">
<ctrl:NavigationPanel ID="NavigationPanel_" runat="server" ScriptManagerID="AjaxScriptManager" style="position:relative; background-color: #d4d0c8; font-size: 10px; font-family: Arial, Helvetica, sans-serif;" CupiMenya="false" Width="100%" />
<cc1:AlwaysVisibleControlExtender id="AlwaysVisibleControlExtender" runat="server" horizontalside="Center" scrolleffectduration=".1" targetcontrolid="NavigationPanel_" verticalside="Bottom" />
</asp:Content>
Does anyone know the how to get this code in C#?
Here's what I have for the previous ASP button: <asp:Button runat="server" style="COLOR:#000000; POSITION:absolute; TOP:8pt; LEFT:230pt; HEIGHT:30px; WIDTH:25pt; background: url(./images/BGBack.jpg) center no-repeat;BACKGROUND-COLOR:#d4d0c8; FONT-FAMILY:Tahoma; FONT-SIZE:8pt;" id="PreviousRecord" Text="" onClick="PreviousRecord_Click"></asp:Button>
Now I need the code for the C#. Can anyone help? Please and thankyou Emily
Reply
Answers (
1
)
CREATE DATABASE permission denied in database 'master'
Stored Procedure