Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Connecting link button to database to fetch data
Harsha Eadara
Jul 11 2017 2:27 AM
214
Reply
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.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
how to display database records on lable control..??
Getting error even after setting enableSessionState to true