Click here to Skip to main content
15,559,567 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: GridView Paging Pin
Legor5-May-11 4:44
Legor5-May-11 4:44 
GeneralRe: GridView Paging Pin
fififlowertot5-May-11 5:29
fififlowertot5-May-11 5:29 
GeneralRe: GridView Paging Pin
vanikanc5-May-11 10:23
vanikanc5-May-11 10:23 
GeneralRe: GridView Paging Pin
fififlowertot5-May-11 11:24
fififlowertot5-May-11 11:24 
GeneralRe: GridView Paging Pin
vanikanc5-May-11 11:29
vanikanc5-May-11 11:29 
GeneralRe: GridView Paging Pin
fififlowertot5-May-11 23:02
fififlowertot5-May-11 23:02 
GeneralRe: GridView Paging Pin
Anky20117-May-11 4:37
Anky20117-May-11 4:37 
AnswerRe: GridView Paging Pin
Sneha Bisht6-May-11 0:32
Sneha Bisht6-May-11 0:32 
copy this aspx.cs page

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
BIndgrid();
}


}

void BIndgrid()
{
grid1.Enabled = true;
DataTable dt = new DataTable();
dt.Columns.Add("Name");
dt.Columns.Add("ID");
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
dt.Rows.Add("Jack", 1);
dt.Rows.Add("Jill", 2);
grid1.DataSource = dt;
grid1.DataBind();
}

protected void grid1_PageIndexChanged(Object sender, GridViewPageEventArgs e)
{

grid1.PageIndex = e.NewPageIndex;
grid1.DataBind();
BIndgrid();
}

}
GeneralRe: GridView Paging Pin
fififlowertot6-May-11 1:43
fififlowertot6-May-11 1:43 
Questionhow can get the birthday from database to dropdownlist Pin
lolostar4-May-11 16:39
lolostar4-May-11 16:39 
AnswerRe: how can get the birthday from database to dropdownlist Pin
Not Active4-May-11 16:59
mentorNot Active4-May-11 16:59 
AnswerRe: how can get the birthday from database to dropdownlist Pin
Blue_Boy4-May-11 22:07
Blue_Boy4-May-11 22:07 
GeneralRe: how can get the birthday from database to dropdownlist Pin
lolostar5-May-11 0:41
lolostar5-May-11 0:41 
GeneralRe: how can get the birthday from database to dropdownlist Pin
Blue_Boy5-May-11 0:52
Blue_Boy5-May-11 0:52 
GeneralRe: how can get the birthday from database to dropdownlist Pin
Not Active5-May-11 3:08
mentorNot Active5-May-11 3:08 
GeneralRe: how can get the birthday from database to dropdownlist Pin
Blue_Boy5-May-11 5:49
Blue_Boy5-May-11 5:49 
AnswerRe: how can get the birthday from database to dropdownlist Pin
Sneha Bisht6-May-11 0:21
Sneha Bisht6-May-11 0:21 
GeneralRe: how can get the birthday from database to dropdownlist Pin
lolostar6-May-11 1:23
lolostar6-May-11 1:23 
QuestionLog In Page in ASP.NET with User Type [modified] Pin
GAiXz4-May-11 5:18
GAiXz4-May-11 5:18 
AnswerDuplicate question Pin
thatraja4-May-11 6:26
professionalthatraja4-May-11 6:26 
AnswerRe: Log In Page in ASP.NET with User Type [modified] Pin
Sandeep Mewara4-May-11 7:32
mveSandeep Mewara4-May-11 7:32 
GeneralRe: Log In Page in ASP.NET with User Type Pin
AspDotNetDev4-May-11 7:47
protectorAspDotNetDev4-May-11 7:47 
GeneralRe: Log In Page in ASP.NET with User Type Pin
Sandeep Mewara4-May-11 7:50
mveSandeep Mewara4-May-11 7:50 
Questionhelp me in creating live video chat in asp.net...... Pin
abhijeet66564-May-11 2:29
abhijeet66564-May-11 2:29 
AnswerRe: help me in creating live video chat in asp.net...... Pin
Not Active4-May-11 3:08
mentorNot Active4-May-11 3:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.