Click here to Skip to main content
15,897,891 members
Home / Discussions / Database
   

Database

 
AnswerRe: DotNet Nuke Pin
John-ph2-Nov-07 20:26
John-ph2-Nov-07 20:26 
AnswerRe: DotNet Nuke Pin
Paul Conrad3-Nov-07 5:37
professionalPaul Conrad3-Nov-07 5:37 
QuestionStatic Ip Problem with sql server Pin
cm pandian2-Nov-07 19:02
cm pandian2-Nov-07 19:02 
AnswerRe: Static Ip Problem with sql server Pin
Ghazi H. Wadi2-Nov-07 22:24
Ghazi H. Wadi2-Nov-07 22:24 
AnswerRe: Static Ip Problem with sql server Pin
Paul Conrad3-Nov-07 5:38
professionalPaul Conrad3-Nov-07 5:38 
QuestionFileDialog assistance needed... [modified] Pin
new_phoenix2-Nov-07 7:21
new_phoenix2-Nov-07 7:21 
AnswerRe: FileDialog assistance needed... Pin
pmarfleet2-Nov-07 13:18
pmarfleet2-Nov-07 13:18 
QuestionRemembering the Query ResultsSet across Pages in a GridView Pin
Brian C Hart2-Nov-07 6:53
professionalBrian C Hart2-Nov-07 6:53 
Hello folks,

I have a SqlDataSource wired up to a GridView. I let the user filter by typing a value in a text box and invoking a parameterized FilterExpression. The GridView is set to have paging enabled and display, e.g., 10 records/page.

When I do a filter by typing an expression in a TextBox and clicking Submit, the GridView changes to display my query. Say for example the query returned 24 rows, so with my paging the GridView displays 3 pages. When I click a page in the Pager, the GridView 'forgets' my query and reverts back to displaying the entire table bound to it with the SelectCommand property.

How do I make a GridView 'remember' its filter results set between pages? I assume I handle GridView1_OnPageIndexChanging however I am a newbie, and it's not immediately appearent to me what sort of code I might use to ensure the query is remembered, so I could click 'Page 2' and actually get Page 2 of my filter instead of Page 2 of the whole table...

Thanks in advance.

Sincerely Yours,
Brian Hart
Department of Physics and Astronomy
University of California, Irvine

AnswerRe: Remembering the Query ResultsSet across Pages in a GridView Pin
Brian C Hart2-Nov-07 7:18
professionalBrian C Hart2-Nov-07 7:18 
QuestionGetting the length of a TextBox in VBA... Pin
new_phoenix2-Nov-07 6:21
new_phoenix2-Nov-07 6:21 
AnswerRe: Getting the length of a TextBox in VBA... Pin
Paddy Boyd2-Nov-07 6:44
Paddy Boyd2-Nov-07 6:44 
GeneralRe: Getting the length of a TextBox in VBA... Pin
new_phoenix2-Nov-07 7:33
new_phoenix2-Nov-07 7:33 
AnswerRe: Getting the length of a TextBox in VBA... Pin
BrokenS2-Nov-07 11:59
BrokenS2-Nov-07 11:59 
AnswerRe: Getting the length of a TextBox in VBA... Pin
anthoy4-Nov-07 21:25
anthoy4-Nov-07 21:25 
QuestionCreate Table Query Pin
sindhutiwari2-Nov-07 2:53
sindhutiwari2-Nov-07 2:53 
AnswerRe: Create Table Query Pin
Ghazi H. Wadi2-Nov-07 22:12
Ghazi H. Wadi2-Nov-07 22:12 
QuestionSQL DATABASE BACKUP Pin
kibromg2-Nov-07 0:51
kibromg2-Nov-07 0:51 
AnswerRe: SQL DATABASE BACKUP Pin
Hesham Amin2-Nov-07 1:15
Hesham Amin2-Nov-07 1:15 
GeneralRe: SQL DATABASE BACKUP Pin
kibromg2-Nov-07 1:55
kibromg2-Nov-07 1:55 
GeneralRe: SQL DATABASE BACKUP Pin
Hesham Amin2-Nov-07 23:00
Hesham Amin2-Nov-07 23:00 
Questionhow can i Insert Multiple rows from frontend through a single query Pin
Amit.Amit.Amit...1-Nov-07 23:15
Amit.Amit.Amit...1-Nov-07 23:15 
AnswerRe: , Pin
r a j u u1-Nov-07 23:16
r a j u u1-Nov-07 23:16 
GeneralRe: , Pin
joemonvarghese1-Nov-07 23:20
joemonvarghese1-Nov-07 23:20 
GeneralRe: , Pin
Amit.Amit.Amit...1-Nov-07 23:48
Amit.Amit.Amit...1-Nov-07 23:48 
AnswerRe: how can i Insert Multiple rows from frontend through a single query Pin
r a j u u1-Nov-07 23:30
r a j u u1-Nov-07 23:30 

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.