Click here to Skip to main content
15,914,071 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwinform login control Pin
daviperke2-May-07 2:39
daviperke2-May-07 2:39 
AnswerRe: winform login control Pin
Blumen2-May-07 3:05
Blumen2-May-07 3:05 
GeneralRe: winform login control Pin
daviperke2-May-07 3:10
daviperke2-May-07 3:10 
AnswerRe: winform login control Pin
Tarakeshwar Reddy2-May-07 3:39
professionalTarakeshwar Reddy2-May-07 3:39 
GeneralRe: winform login control Pin
daviperke2-May-07 3:46
daviperke2-May-07 3:46 
GeneralRe: winform login control Pin
Tarakeshwar Reddy2-May-07 4:15
professionalTarakeshwar Reddy2-May-07 4:15 
AnswerRe: winform login control Pin
Tarakeshwar Reddy2-May-07 4:24
professionalTarakeshwar Reddy2-May-07 4:24 
QuestionPaging in a grid view troubles Pin
Senseicads2-May-07 2:27
Senseicads2-May-07 2:27 
I am currently having a few problems with a grid view I am working with. The gridview is set up to display a list of calls that have been received. This is populated via a view on the sql server database. I have a number of options on the page that I can filter the gridview on. The ides is that the user can click on a dropdown list and select some options and then click a button ‘apply’ which then composes a new query I then set this string (msg) to be the select command of the gridview using…

sqlGridView.SelectCommand = "SELECT * FROM [uvw_supportcalllist] " & msg <br />
GridView1.DataBind()


This applys the filter brilliantly…all is well and good so far. However I have set the paging attributes to true and set the pages length thing to be 20 now if I apply my filter like above and then go to the next page I lose my applied filter.

I realise I am missing something somewhere, I have attempted to call databind again in the paging event of the page but that doesn’t work. Can someone help me out? Am I applying my filter wrongly? Or is there a better of paging the gridview? Any help would be most appreciated.

Cheers

Ian Caddick
AnswerRe: Paging in a grid view troubles Pin
kubben2-May-07 2:56
kubben2-May-07 2:56 
GeneralRe: Paging in a grid view troubles Pin
Senseicads2-May-07 3:18
Senseicads2-May-07 3:18 
QuestionAccess denied...... Pin
NetBot2-May-07 2:19
NetBot2-May-07 2:19 
AnswerRe: Access denied...... Pin
Christian Graus2-May-07 2:34
protectorChristian Graus2-May-07 2:34 
GeneralRe: Access denied...... Pin
NetBot2-May-07 2:54
NetBot2-May-07 2:54 
GeneralRe: Access denied...... Pin
Christian Graus2-May-07 10:29
protectorChristian Graus2-May-07 10:29 
QuestionGridview checkbox problems Pin
pauliehaha2-May-07 1:21
pauliehaha2-May-07 1:21 
AnswerRe: Gridview checkbox problems Pin
Senseicads2-May-07 2:37
Senseicads2-May-07 2:37 
GeneralRe: Gridview checkbox problems Pin
pauliehaha2-May-07 3:22
pauliehaha2-May-07 3:22 
AnswerRe: Gridview checkbox problems Pin
RSArockiam2-May-07 3:17
RSArockiam2-May-07 3:17 
GeneralRe: Gridview checkbox problems Pin
pauliehaha2-May-07 3:27
pauliehaha2-May-07 3:27 
Questionhow to show cursor on selected row of a grid in postback [modified] Pin
Sachin M Narangale2-May-07 1:10
Sachin M Narangale2-May-07 1:10 
AnswerRe: how to show cursor on selected row of a grid in postback Pin
N a v a n e e t h2-May-07 3:32
N a v a n e e t h2-May-07 3:32 
QuestionSession value is Reset in IE 7 Pin
Blumen2-May-07 0:23
Blumen2-May-07 0:23 
AnswerRe: Session value is Reset in IE 7 Pin
Guffa2-May-07 1:13
Guffa2-May-07 1:13 
QuestionRe: Session value is Reset in IE 7 Pin
Blumen2-May-07 1:56
Blumen2-May-07 1:56 
AnswerRe: Session value is Reset in IE 7 Pin
Psycho-*Coder*-Extreme2-May-07 2:10
Psycho-*Coder*-Extreme2-May-07 2:10 

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.