Click here to Skip to main content
15,890,415 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow I display an increment number on the same web pages (.asp) Pin
Curious 200913-Mar-10 11:49
Curious 200913-Mar-10 11:49 
AnswerRe: How I display an increment number on the same web pages (.asp) Pin
Not Active13-Mar-10 12:51
mentorNot Active13-Mar-10 12:51 
GeneralRe: How I display an increment number on the same web pages (.asp) Pin
Curious 200913-Mar-10 13:56
Curious 200913-Mar-10 13:56 
Questionhow to retrieve 100000 record from sqlite (Mobile Applications) ????!!!!!!! Pin
Yajjoj13-Mar-10 4:53
Yajjoj13-Mar-10 4:53 
AnswerRe: how to retrieve 100000 record from sqlite (Mobile Applications) ????!!!!!!! Pin
Not Active13-Mar-10 5:43
mentorNot Active13-Mar-10 5:43 
QuestionGridview Paging and Data Filtering. Pin
VikashGohil13-Mar-10 1:28
VikashGohil13-Mar-10 1:28 
AnswerRe: Gridview Paging and Data Filtering. Pin
Sandeep Mewara13-Mar-10 1:47
mveSandeep Mewara13-Mar-10 1:47 
GeneralRe: Gridview Paging and Data Filtering. Pin
VikashGohil14-Mar-10 19:58
VikashGohil14-Mar-10 19:58 
Hello, Sandeep.

Thanks for the reply.

I have Used an SQL DataSource to Bind Data to the Gridview.

Initially I had written the Select Command for DataSource in Page_Load event as follows:

Page_Load(...)

if not page.Ispostback then
SDS.ConnectionString = <ConnectionString>
SDS.SelectCommand = <SQLQuery>
GridView.DataSourceID="SDS"
GridView.DataBind
end if

Now the problem here is when first time the page is loaded, the grid displays properly.

But when the page postback happens the gridview disappears, bcoz there is no selectcommand in the DataSource.

So I have to compulsorily write the above code as below.

Page_Load(...)

SDS.ConnectionString = <ConnectionString>
SDS.SelectCommand = <SQLQuery>
GridView.DataSourceID="SDS"
GridView.DataBind
if not page.Ispostback then
end if

And what do you mean by saying Filtering Client-Side or Server-Side, could you explain a bit about both types.

Thanks in Advance, awaiting a reply soon.
GeneralRe: Gridview Paging and Data Filtering. Pin
Arindam Tewary14-Mar-10 21:08
professionalArindam Tewary14-Mar-10 21:08 
Questionhow to open ms word from asp.net with c# Pin
developerit13-Mar-10 0:37
developerit13-Mar-10 0:37 
AnswerRe: how to open ms word from asp.net with c# Pin
Sandeep Mewara13-Mar-10 0:52
mveSandeep Mewara13-Mar-10 0:52 
GeneralRe: how to open ms word from asp.net with c# Pin
developerit13-Mar-10 18:30
developerit13-Mar-10 18:30 
AnswerRe: how to open ms word from asp.net with c# Pin
Om Prakash Pant14-Mar-10 19:00
Om Prakash Pant14-Mar-10 19:00 
Questionhow to send the automatic email as a reminder using asp.net with c# Pin
developerit12-Mar-10 20:13
developerit12-Mar-10 20:13 
AnswerRe: how to send the automatic email as a reminder using asp.net with c# Pin
Sandeep Mewara13-Mar-10 0:50
mveSandeep Mewara13-Mar-10 0:50 
AnswerRe: how to send the automatic email as a reminder using asp.net with c# Pin
saanj18-Mar-10 23:57
saanj18-Mar-10 23:57 
AnswerRe: how to send the automatic email as a reminder using asp.net with c# Pin
pakisatan4-Jul-11 0:04
pakisatan4-Jul-11 0:04 
GeneralRe: how to send the automatic email as a reminder using asp.net with c# Pin
pakisatan4-Jul-11 0:06
pakisatan4-Jul-11 0:06 
QuestionVisual Studio 2008 Acting Weird Pin
bgates197012-Mar-10 11:14
bgates197012-Mar-10 11:14 
QuestionASP.NET SETUP and Deployment project: Specifying HOST HEADER Pin
gartnerj12-Mar-10 10:31
gartnerj12-Mar-10 10:31 
QuestionCalling a js function from a different aspx.cs page problem. [modified] Pin
betreyal12-Mar-10 9:02
betreyal12-Mar-10 9:02 
AnswerRe: Calling a js function from a different aspx.cs page problem. Pin
Sandeep Mewara12-Mar-10 10:00
mveSandeep Mewara12-Mar-10 10:00 
QuestionRe: Calling a js function from a different aspx.cs page problem. [modified] Pin
betreyal12-Mar-10 10:25
betreyal12-Mar-10 10:25 
AnswerRe: Calling a js function from a different aspx.cs page problem. Pin
Sandeep Mewara12-Mar-10 19:05
mveSandeep Mewara12-Mar-10 19:05 
GeneralRe: Calling a js function from a different aspx.cs page problem. Pin
betreyal15-Mar-10 4:22
betreyal15-Mar-10 4: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.