Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Page Refresh Question Pin
Guffa30-Dec-08 10:01
Guffa30-Dec-08 10:01 
Questiondetailsview problem need help Pin
dream_liner_7e723-Dec-08 6:38
dream_liner_7e723-Dec-08 6:38 
QuestionMultiPart/Form-Data Pin
hammerstein0523-Dec-08 6:34
hammerstein0523-Dec-08 6:34 
QuestionHow to share NETCOBOL dll in .NET Framework2.0/3.5 in windows server 2003. Pin
kkb_200123-Dec-08 3:55
kkb_200123-Dec-08 3:55 
AnswerRe: How to share NETCOBOL dll in .NET Framework2.0/3.5 in windows server 2003. Pin
Christian Graus23-Dec-08 7:57
protectorChristian Graus23-Dec-08 7:57 
GeneralRe: How to share NETCOBOL dll in .NET Framework2.0/3.5 in windows server 2003. Pin
kkb_200123-Dec-08 21:30
kkb_200123-Dec-08 21:30 
QuestionDataGrid paging + SqlDataSource Pin
Blumen23-Dec-08 3:49
Blumen23-Dec-08 3:49 
AnswerRe: DataGrid paging + SqlDataSource Pin
ToddHileHoffer23-Dec-08 4:46
ToddHileHoffer23-Dec-08 4:46 
I wouldn't change select command via code. On every postback the select command is going to back to the select command that you set in the markup.

How you should do this is write one stored proc for example...

create proc dbo.search (@nameValue varchar(10) = null)

select * from yourTable where nameField = isnull(@nameValue, nameFeild)


Something like the above will return all records if the parameter is null. You should not have to change the select command.

Actually, though if your original query pulls back all the records then you could save all the data in a databale and store it in session, viewstate or cache depending on the size and use a dataview to filter.


I didn't get any requirements for the signature


GeneralRe: DataGrid paging + SqlDataSource Pin
Blumen24-Dec-08 3:08
Blumen24-Dec-08 3:08 
GeneralRe: DataGrid paging + SqlDataSource Pin
ToddHileHoffer24-Dec-08 4:07
ToddHileHoffer24-Dec-08 4:07 
Questionmasterpage code Pin
gopinagam23-Dec-08 3:15
gopinagam23-Dec-08 3:15 
AnswerRe: masterpage code Pin
Abhijit Jana23-Dec-08 3:25
professionalAbhijit Jana23-Dec-08 3:25 
Questionhow to set Title Page Dynamically in Master Page? Pin
mr_muskurahat23-Dec-08 2:02
mr_muskurahat23-Dec-08 2:02 
AnswerRe: how to set Title Page Dynamically in Master Page? Pin
Abhijit Jana23-Dec-08 2:11
professionalAbhijit Jana23-Dec-08 2:11 
AnswerRe: how to set Title Page Dynamically in Master Page? Pin
Brij23-Dec-08 2:16
mentorBrij23-Dec-08 2:16 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
mr_muskurahat23-Dec-08 2:33
mr_muskurahat23-Dec-08 2:33 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
Brij23-Dec-08 2:37
mentorBrij23-Dec-08 2:37 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
mr_muskurahat23-Dec-08 2:43
mr_muskurahat23-Dec-08 2:43 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
Brij23-Dec-08 2:47
mentorBrij23-Dec-08 2:47 
QuestionHow to Prepare help File Pin
ais0723-Dec-08 0:58
ais0723-Dec-08 0:58 
AnswerRe: How to Prepare help File Pin
Brij23-Dec-08 1:14
mentorBrij23-Dec-08 1:14 
AnswerRe: How to Prepare help File Pin
Abhijit Jana23-Dec-08 1:23
professionalAbhijit Jana23-Dec-08 1:23 
Questionsmall question but not getting Pin
Satish - Developer23-Dec-08 0:09
Satish - Developer23-Dec-08 0:09 
Answer[Message Deleted] Pin
surender.m23-Dec-08 0:21
surender.m23-Dec-08 0:21 
GeneralRe: small question but not getting Pin
surender.m23-Dec-08 0:22
surender.m23-Dec-08 0:22 

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.