I have datagrid dg1, paging is true and at a time it is displaying 10 records.I want to export this to excel.Whatever the data is displaying the datagrid at a time that will only export to excel.I dont want to display all the data from database.Is there any solutions .
I am using C#.
Thanks is advance
on my project i need to carry the value of datagrid to next page.
the datagrid i have is edited by me and i want the value of link to next page
(the datagrid contains a linklabel and a imagebutton)
i tried it with sessions but dont know about fecthing value of selected row
maybe i dont put the clear message
well i have a datagrid view extracting values name(linklabel) and imagename(imagebutton) from database
the paging is enabled i just want the value of linklabel to get fecthed for use in next page.
OK, I think you need to drop your tools, buy a BASIC ASP.NET book and READ it. You need to do EXACTLY what I said. Your link to the next page should put whatever you want to pass, on the URL. If you want to pass lots of things, you're better off passing an Id and reading the whole record from the database, in the page.
hi frnds i am a beginner of ajax controls in asp.net c# .so as it is i am having so much problems in using advance controls like mouserover, accordian etc.....
can youy help me with articles or refer books .
i tried some asp.net books but they are not so much helping for all ajax controls
If u r a beginner or not ur question has no urgency for us.It wont get any special attention if u use "urgent" or "i am dying".So b4 posting the question read and learn how to post the question decently.
I want to develop simple antivirus which scan files from pc with virus names and if it found virus then that can be deleted.
So can any one help me for logic behind that and how can I compare files.
Where I have to store virus database.
i have 4 textboxes.
when the length of text in first textbox is equal to 4 then it should "automatically" change its focus to next textbox. i have set the autopostback to true but i need to click on screen to make a postback.
i used onKeyPress, onKeyUp, onTextChanged but nothing is working for me... or is there any mistake in my code..
What do you mean by 'not working' ? I'd write a method that takes the id of the textbox you want to move to, the textbox you're in, and the length you're looking for, so you can reuse it. onkeyup="myfunc(this)" would pass the control instance, then you only need to look up the other one.
Make sure that the client side id is 'TextBox2', it probably isn't. You use the ClientID property of the server control to get the client side Id.
Never use a control you got with getElementById without checking first if it's null.
You can also install firebug for firefox and step through your script to make sure it's called, and see how it's working. Or use alerts to tell you when they get called, if you want something less functional but easier to set up.
Driven to the arms of OSX by Vista.
Last Visit: 31-Dec-99 18:00 Last Update: 21-Sep-23 3:43