Click here to Skip to main content
15,913,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionproblem with datagrid-paging Pin
sanaziuse31-Jan-07 22:53
sanaziuse31-Jan-07 22:53 
AnswerRe: problem with datagrid-paging Pin
varshavmane31-Jan-07 22:56
varshavmane31-Jan-07 22:56 
GeneralRe: problem with datagrid-paging Pin
sanaziuse31-Jan-07 23:23
sanaziuse31-Jan-07 23:23 
GeneralRe: problem with datagrid-paging Pin
varshavmane31-Jan-07 23:48
varshavmane31-Jan-07 23:48 
GeneralRe: problem with datagrid-paging Pin
sanaziuse31-Jan-07 23:55
sanaziuse31-Jan-07 23:55 
GeneralRe: problem with datagrid-paging Pin
varshavmane1-Feb-07 0:10
varshavmane1-Feb-07 0:10 
GeneralRe: problem with datagrid-paging Pin
sanaziuse1-Feb-07 1:07
sanaziuse1-Feb-07 1:07 
GeneralRe: problem with datagrid-paging Pin
varshavmane1-Feb-07 1:55
varshavmane1-Feb-07 1:55 
Try this :

private void Page_Load(object sender, System.EventArgs e)
{
if (!IsPostBack)
{
FillDataGrid();
}
}
private void FillDataGrid()
{
string strsql = "Select * from tblupload"
//Open DB Connection here
DataSet ds = con.GetDataSet(SQL,tableName);
DataGrid1.DataSource = ds;
DataGrid1.DataBind();
//Close DB Connection here
}

private DataSet GetDataSet(String sql)
{
string tableName = "tblupload";
SqlDataAdapter da = new SqlDataAdapter(sql, connectionStr);
da.Fill(ds, tableName);
return ds;
}
QuestionGridView Bind with DataTable and Want Dropdown Control in GridView when Edit Pin
varshavmane31-Jan-07 22:52
varshavmane31-Jan-07 22:52 
QuestionajaxToolkit:PopupControlExtender [modified] Pin
srinandan..31-Jan-07 22:12
srinandan..31-Jan-07 22:12 
AnswerRe: ajaxToolkit:PopupControlExtender Pin
badgrs31-Jan-07 22:39
badgrs31-Jan-07 22:39 
QuestionHow to do load balancing in an application Pin
Sylvester george31-Jan-07 21:43
Sylvester george31-Jan-07 21:43 
AnswerRe: How to do load balancing in an application Pin
badgrs31-Jan-07 22:40
badgrs31-Jan-07 22:40 
QuestionProble to clear textboxes Pin
Imran Khan Pathan31-Jan-07 21:36
Imran Khan Pathan31-Jan-07 21:36 
AnswerRe: Proble to clear textboxes Pin
Atul Kharecha31-Jan-07 21:51
Atul Kharecha31-Jan-07 21:51 
GeneralRe: Proble to clear textboxes Pin
Imran Khan Pathan31-Jan-07 22:51
Imran Khan Pathan31-Jan-07 22:51 
AnswerRe: Proble to clear textboxes Pin
szukuro31-Jan-07 22:23
szukuro31-Jan-07 22:23 
Questionprogress bar Pin
248912831-Jan-07 21:29
248912831-Jan-07 21:29 
QuestionFiring ActiveX events in HTML usingVB or javaScript Pin
Tiger45631-Jan-07 21:20
Tiger45631-Jan-07 21:20 
AnswerRe: Firing ActiveX events in HTML usingVB or javaScript Pin
Parwej Ahamad31-Jan-07 21:40
professionalParwej Ahamad31-Jan-07 21:40 
QuestionDrag and Drop Pin
R.Palanivel31-Jan-07 21:19
R.Palanivel31-Jan-07 21:19 
Questiondatabase information Pin
John Gathogo31-Jan-07 21:03
John Gathogo31-Jan-07 21:03 
AnswerRe: database information Pin
Atul Kharecha31-Jan-07 21:45
Atul Kharecha31-Jan-07 21:45 
GeneralRe: database information Pin
John Gathogo31-Jan-07 22:20
John Gathogo31-Jan-07 22:20 
QuestionShort Cut keys with Ctrl and Shift button Pin
Anas Chanawala31-Jan-07 21:02
Anas Chanawala31-Jan-07 21:02 

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.