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
Harsha Eadara
NA
45
8.4k
Connecting link button to database to fetch data
Jul 11 2017 2:27 AM
I had created a LinkButton in Asp.Net.I want to Fetch Data from DB using LinkButton.So if i click on LinkButton the data from DataBase should be displayed.I'm posting my webform1.aspx.cs and webform1.aspx page.
This is my webform1.aspx.cs page:-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Link1
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void LinkButton1_Click(object sender, EventArgs e)
{
}
}
}
This is my webform1.aspx:
i had named my LinkButton as Admin.
Admin .
Can anyone help me with this.
Reply
Answers (
1
)
how to display database records on lable control..??
Getting error even after setting enableSessionState to true