|
linkbuttonname.EventName+=new EventHandler
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Thanks for reply
please write in little about how i write event handler for linkbutton click to display record from database into formview control.
Any Article or link is highly apperciated
i know i have to use data binding but how ? give me hint please.
Regards
Rameez
|
|
|
|
|
Hello
In a website the result of students can be accessed only by their respective ID numbers! there is no other way to access the database. like the website shows a textbox with a submit button and the textbox only accepts a number i.e. the ID of student.
I want to grab all the result that is a way in which ID starting from 1 to 8000 are put in the textbox in a LOOP and data retrieved is SAVED in some file(a text or database file)...
so is there any way?
|
|
|
|
|
Please be concise about your question. After reading again and again i am unable to get your point.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
http://www.etea.edu.pk/uet.asp[^]
check this out! you will see the textbox and the submit button! I need to get to all the result! i dunno may there or some other simple ways but what i am thinking is if we start submitting numbers from 1 to say 10000 and store the data we get in a file? is it possible? or if there is any simple way to get all the result?
|
|
|
|
|
I might be wrong, but it looks like you are trying to get data from that site without their knowledge. We don't entertain such kind of practices here.
|
|
|
|
|
its not some illegal stuff!
i just said if there is some other way and didn't mean like someone hack their database!
I gave my idea like to do iteration! just like if someone sits and start giving ID himself, submitting it and getting the info and thn saving it by himself,,,, there should be a way to do it in programming or scripting! which ll be fast....
|
|
|
|
|
I have a .net web project where we use Crystal report(which comes along with VS 2005) for few of the reports. It works fine in the localhost, but when run in the server it throws the following error
Also i have an XML file which will be read by an dataset and this dataset will be provided as datasource to the report.
Error:
Type 'http://schemas.microsoft.com/sqlserver/2004/sqltypes:varchar' is not declared, or is not a simple type.
Stack Trace:
[XmlSchemaException: Type 'http://schemas.microsoft.com/sqlserver/2004/sqltypes:varchar' is not declared, or is not a simple type.]
System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e) +1081039
System.Xml.Schema.BaseProcessor.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) +67
System.Xml.Schema.Compiler.CompileElement(XmlSchemaElement xe) +2134
System.Xml.Schema.Compiler.Compile() +823
System.Xml.Schema.Compiler.Execute(XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo) +17
System.Xml.Schema.XmlSchemaSet.Compile() +292
System.Data.DataSet.ReadXSDSchema(XmlReader reader, Boolean denyResolving) +301
System.Data.XmlDataLoader.ProcessXsdSchema() +144
System.Data.XmlDataLoader.LoadData(XmlReader reader) +1657577
System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +900
System.Data.DataSet.ReadXml(String fileName) +62
Reports_CrystalPage.Page_Load(Object sender, EventArgs e) +239
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Any help would be of great use.
N.Surendra Prasad
|
|
|
|
|
hi all
i have to display huge data around 1,00,000 records.
My client requirement is not to use paging.
so i have to display this data in one time.
i dont how to display this.
cud we use crystal report for this???
|
|
|
|
|
This can be done in different ways, it depends on how you get the source data.
1) If you can get the source data in XML format, then you can design an XSL and present the XML as such.
2) You can frame html with the source data and render the html to the page.
3) you can use Gridview or datagrid without pagination (but this will be slow).
The best method is the first one.
N.Surendra Prasad
|
|
|
|
|
Im not sure if the number you meant to type was one million or one hundred thousand, but either way if somebody wants you to display that many records on a single page then they are idiots.
Firstly this is slow as hell, secondly no user wants nor needs that number of records in one go. ever.
|
|
|
|
|
its not recomondate to display this amount of data in web page, it will be very slow responsive page.
Better use some filter criteria by which you can at least reduce records.
cheers,
Abhijit
|
|
|
|
|
cant we use crystal report for this??
|
|
|
|
|
You can use any of the methods mentioned by one of the members in an earlier post. But the problem is it won't be efficient or feasible.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
The big problem with outsourcing is that the coders just blindly do what the client asks and never have the guts, or the knowledge, to tell the client that what they want is idiotic and technically not viable.
What the client wants is idiotic and technically not viable. Pages will time out before they send that much data, and users will never want to navigate it. They could export the data via a file download, and view it in Excel or something, but not in the page.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
in gridview runtime I am generating text box to edit fare but I want to validate that text box whether it is numeric or not.
so how can I do it.
if it is possible using CompareValidator more better.
actually I am not able to recognize that text box run time and gridview not supporting CompareValidator inside.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
A regex validator is the obvious choice here
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
hey chris can you take a look at my question teh datagrid and hyperlink dawn here. i need your help in it
The Developer - CEH
|
|
|
|
|
You can use here a regular expression validator
The Developer - CEH
|
|
|
|
|
How can I check valid date format(dd/mm/yyyy) and get difference in number of days only between 2 dates using javascript function.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
|
ok,thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
I have a datagrid with a hyperlink column in it. in the hyperlink i want to send the ID from the grid and the value of the dropdawn list i have that i need to select from to show the grid. So i want to pass the ID and the selected value of the DDL in the link. Any Ideas how to do that?
Thanks
The Developer - CEH
|
|
|
|
|
Pass it as query string.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
it needed lots of work but finally it works
The Developer - CEH
|
|
|
|