|
Need we to give code for paging in server side???
i set AllowPaging=true and in template coloum i add a check box...
i get an error "The GridView 'GridView1' fired event PageIndexChanging which wasn't handled."
Thks
|
|
|
|
|
You need to handle the pageindexchange event for the gridview.
something like this:
Gridview1.pageindex = e.newpageindex
Gridview1.selectedindex = -1
Bind the Gridview (need to bind the grid with the datasource)
Apurva Kaushal
|
|
|
|
|
how can i use paging without binding datasource.
|
|
|
|
|
You can have a look at this[^] to get an idea of paging in gridview.
Apurva Kaushal
|
|
|
|
|
also e.newpageindex showing error
|
|
|
|
|
ypki wrote: e.newpageindex showing error
What error?
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
What is that error?
Apurva Kaushal
|
|
|
|
|
all sorts of codes are there in paging...go through them im sure it wont be dificult!!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
in 2003 datagrid.CurrentPageIndex = e.NewPageIndex is used
how in 2005 e.NewPageIndex showing syntax error
i need the gridview with out binding datasource
|
|
|
|
|
Use
gridview.PageIndex = e.NewPageIndex;
Best regard
Pathan
Plz vote if u got solution
-- modified at 1:51 Wednesday 11th July, 2007
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
ypki wrote: i need the gridview with out binding datasource
wat do you mean by that?? Is it that you want to bind the grid with coding???
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
i want to fill dataadapter with more then one table what will be the syntax for it and binding more then one datamembers(tables) with grid
$h@ma!|@
|
|
|
|
|
well leave it i did it....
$h@ma!|@
|
|
|
|
|
Dear,
I have a shopping cart. There are very customer orders. Should i delete a product? Because if i deleted a product, the Orders will not show items which bought the customer before. or Should i inactive the out of product?
Thank in advance,
Kiet
vtkiet05
|
|
|
|
|
What exactly do you want? Do want to inactivate the product which customer has already selected in that case you need to store the productID in session and don't display the same.
Apurva Kaushal
|
|
|
|
|
I have more experiences. I would to get your ideas.
Do you allow admin of site delete or inactive product?
I assume that you allow admin delte product. what does it happen if product has already in Order?
Thank in advance
vtkiet05
|
|
|
|
|
That depends on the requirement. I don't think admin should not be allowed to delete the product which is already been used in some order. But in case if the product is not supposed to be displayed to the user then it can be deactivated and thus the product will be available for your records and will not be available for the customers to select.
vtkiet05@hotmail.com wrote: I have more experiences.
Apurva Kaushal
|
|
|
|
|
I have more experiences. I would like to get your ideas.
Do you allow admin of site delete or inactive product?
I assume that you allow admin delte product. what does it happen if product has already in Order?
Thank in advance
vtkiet05
|
|
|
|
|
greetings to you all...
i need help, on how to make the use of the embeded export control on crytal report viewer in asp.net 2003..
my problem is everytime i click export, yes it give me a page to choose in which format but when im going to save or open, it does not show the correct content of the report...
someone pls i need your help very badly... sample codes or link sites is very highly appreciated thank you...
start a new beginning in every ending; thats what life for......
|
|
|
|
|
I have an ASP.NET database that lives online. I would really love to be able to run a local version and do "batch updates" or to synchronise them daily, but our developer says it's in the too hard basket?
regards
Max
|
|
|
|
|
What do you mean by ASP.NET database?
Database name should be something like MSSQL, MySQL or etc...
|
|
|
|
|
It's an online database built using asp.net technology - cannot expand on this as that's all the developer said.
regards
Max
|
|
|
|
|
>>It's an online database built using asp.net technolog
ASP.NET is a programming language for developing Web Application on Microsoft Platform.
Okay. Anyways..
Let's say you have MSSQL database which is hosted on Live Server. You also have another database in local machine.Your goal is that you wanna do synchronization or batch-update from Local Database to Live Database. You wanna know whether it's easy to achieve this goal or not.
The answer is that it's not that difficult if you have reliable and high-speed internet connection. There are some build-in features for this purpose in the most of databases. But you have to think about security issue very seriously.
|
|
|
|
|
Hi,
I am a student and making a final project on web development, my project is on House decoration but my problem is i want my website to have its own amail id like info@housedecoration.com, so that if the company wants to send any newsletter or and reply of the request made by the user he can.
My supervisor is out of country and i need an help I am using ASP.NET and VB.NET for my project. Now plz can anyone help me in giving code that how can i implement it
Regards,
fiaz_khawaja@hotmail.com
Khawaja
|
|
|
|
|
So you want someone to write an SMTP server and give you the code? Wow.
See if your hosting provides email boxes, otherwise you need a server with MS Exchange, postfix, or some other SMTP server on it.
|
|
|
|