Click here to Skip to main content
14,578,986 members
   

ASP.NET

 
QuestionHow I display an increment number on the same web pages (.asp) Pin
Curious 200913-Mar-10 11:49
MemberCurious 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
MemberCurious 200913-Mar-10 13:56 
Questionhow to retrieve 100000 record from sqlite (Mobile Applications) ????!!!!!!! Pin
Yajjoj13-Mar-10 4:53
MemberYajjoj13-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
MemberVikashGohil13-Mar-10 1:28 
AnswerRe: Gridview Paging and Data Filtering. Pin
Sandeep Mewara13-Mar-10 1:47
mentorSandeep Mewara13-Mar-10 1:47 
GeneralRe: Gridview Paging and Data Filtering. Pin
VikashGohil14-Mar-10 19:58
MemberVikashGohil14-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
Memberdeveloperit13-Mar-10 0:37 
AnswerRe: how to open ms word from asp.net with c# Pin
Sandeep Mewara13-Mar-10 0:52
mentorSandeep Mewara13-Mar-10 0:52 
GeneralRe: how to open ms word from asp.net with c# Pin
developerit13-Mar-10 18:30
Memberdeveloperit13-Mar-10 18:30 
AnswerRe: how to open ms word from asp.net with c# Pin
Om Prakash Pant14-Mar-10 19:00
MemberOm 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
Memberdeveloperit12-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
mentorSandeep 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
Membersaanj18-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
Memberpakisatan4-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
Memberpakisatan4-Jul-11 0:06 
QuestionVisual Studio 2008 Acting Weird Pin
bgates197012-Mar-10 11:14
Memberbgates197012-Mar-10 11:14 
QuestionASP.NET SETUP and Deployment project: Specifying HOST HEADER Pin
gartnerj12-Mar-10 10:31
Membergartnerj12-Mar-10 10:31 
QuestionCalling a js function from a different aspx.cs page problem. [modified] Pin
betreyal12-Mar-10 9:02
Memberbetreyal12-Mar-10 9:02 
AnswerRe: Calling a js function from a different aspx.cs page problem. Pin
Sandeep Mewara12-Mar-10 10:00
mentorSandeep Mewara12-Mar-10 10:00 
QuestionRe: Calling a js function from a different aspx.cs page problem. [modified] Pin
betreyal12-Mar-10 10:25
Memberbetreyal12-Mar-10 10:25 
AnswerRe: Calling a js function from a different aspx.cs page problem. Pin
Sandeep Mewara12-Mar-10 19:05
mentorSandeep Mewara12-Mar-10 19:05 
GeneralRe: Calling a js function from a different aspx.cs page problem. Pin
betreyal15-Mar-10 4:22
Memberbetreyal15-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.