|
Search engines don't like (or at lest didn't like in past) links like
/products.aspx?product=12345&category=15
What they do like, however is
/products/televisions/myCoolTV.html
There is no way for spider to know that behind second link is actualy dynamic content just as in first case. It's called URL rewriting and it's one of Search Engine Optimalization techniques. Google for SEO, and you will get some more info (and sh*tload of bs too, good luck ).
[ My Blog] "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Hi,
I am still using VB.NET 1.1. I have to modify existing code. There is a datagrid. And the price column is bound like this:
<asp:BoundColumn DataField="Price" HeaderText="Price" DataFormatString="{0:c}"></asp:BoundColumn>
And the code behind looks like:
Me.dgVolumeDiscounts.DataSource = ds.Tables(0)
There is about 50 million methods calls just to the details from the database. I need to add 20% to the price column. How do I do this?
Please can someone help me?
Regards,
ma se
|
|
|
|
|
First you have to decide if you want to change the value when you read it from the database into the DataTable, or if you want to change the value when you display it.
ma se wrote: There is about 50 million methods calls just to the details from the database.
What do you mean to say by that? Is it that there is a lot of code to change, a lot of data in the database, or that the data is used frequently?
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi Guffa,
Looking at:
Me.dgVolumeDiscounts.DataSource = ds.Tables(0)
THis goes through about 10 mothod calls just to get the values, which I am thinking not to change the DA classes as I am scared it messes things up in the rest of the core section.
I'm using a DataSet. The best way would be to change it when it is displayed?
Here is the rest of my code:
Dim ds As DataSet = CatalogServices.ProductVolumeDiscounts.GetForProduct(productID)
If Not ds Is Nothing Then
If ds.Tables.Count > 0 Then
If ds.Tables(0).Rows.Count > 0 Then
Me.pnlVolumeDiscounts.Visible = True
Me.dgVolumeDiscounts.DataSource = ds.Tables(0)
Me.dgVolumeDiscounts.DataBind()
End If
End If
End If
Please help.
Regards,
ma se
|
|
|
|
|
ma se wrote: I'm using a DataSet. The best way would be to change it when it is displayed?
That depends. Have you considered changing the data before it gets into the DataSet?
Does "dg" stand for DataGrid? Then you have an ItemDataBound event that you can use to manipulate each item after they have been databound.
---
single minded; short sighted; long gone;
|
|
|
|
|
Looking for some pointers on how best to accomplish the following task:
I'm building a time sheet/time tracking page for our department to track hours logged against various projects and whatnot - not necessarily a full-in timesheet app, but some of the basic principles anyway.
I have a vertical table that stores the time entries for each day. It is structured as follows:
PersonID
ProjectID
HoursLogged
DateLogged
What is the best approach to display and edit this info? Ideally, I'd have a 'grid' layed out on the page: projects in a dropdown and a 7 columns (one for each day of the week) with a textbox for entering/editing the hours logged. Users need to be able to enter time logged for any number of projects for a given week - say 5-10 total rows.
Currently, I've got an Access database handling this task and it builds a multi-column array, displays it on the page, and after updates are made, rebuilds the array, deletes the existing set of records, and inserts the new. Kind of FUBAR'd, but it works.
Really struggling how to go about this with ASP.NET. Any pointers or examples? Tried searching, but really don't know where to start.
|
|
|
|
|
How create formatted textbox in javascript so that i can use different format for example bold,italic,hyperlink and etc
|
|
|
|
|
Hi Friends
plz give me the good link in AJAX with asp.net 1.1
regards
saravanan
|
|
|
|
|
Here[^] you go.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I want the user to be able to download a file from a link..
Can anyone help me about how to do this?
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
A hyperlink to the file will do the job
|
|
|
|
|
|
Hello Everyone,
Can anybody let me know how to add RichTextBox control in Web Application
If it is not possible is there any other control in which i can use formatting of the text like bold, font-size, providing a hyperlink to a particular text in the bunch of the text of the TextBox
Thnx in advance
|
|
|
|
|
Web application don't have any RichEditor controls. You need to make use of IFrame and Javascript to create one. Or you will get lot of opensource editors which can be customized for your requirement. Check FckEditor[^]
|
|
|
|
|
Make a user Control, few days back even I wanted to do the same task and I made a user control.
|
|
|
|
|
Ya i'm using a user control how a text box or label text can be formatted
If u have way plz let me know
|
|
|
|
|
The Knowledge wrote: text box or label text can be formatted
Easy way would be using IFrame component as I said in my previous post. Alternatively you can create something like Codeproject message editor. You need to create custom tags for bold, italic etc. For eg, [bold][/bold] tag can be called as a custom tag for making text in bold. But when rendered on page this should replaced to normal HTML <b> </> tag.
|
|
|
|
|
I m trying to add a new SQL Server 2005 Express Edition Database to my Asp.Net project, But I m unable to do so.
I m getting Following error:
{"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"}
Pls help me out of this problem.
Thanx in Advance.
Paramhans Dubey.
|
|
|
|
|
Hi,
IS that SQL Server 2005 Express Edition is there in your system or your connecting to that database remotely?
Regards,
Sandeep Kumar.V
|
|
|
|
|
Hi Sandeep,
Thanx for ur reply. The SQL Sever 2005 Express edtion I m using is on my System only.
Regards
Paramhans Dubey
|
|
|
|
|
hi all,
i got stucked in parsing input and parametrs from a wsdl file. I can extract all the operations .in the operation tag i will get the message ane and in the message part we are getting the part name.but in the case of soap we are geting the input paramers only in schmea tag.anybody please send me the code for extracting input,ouput parameter using soap protocol in c#.net
FriendlyCoding
|
|
|
|
|
hi everybody
How to make dropdownlist readonly in asp.net 2.0?
Raghvendra Kumar Roy
|
|
|
|
|
Web dropdown list is not editable. It's readonly. To stop it's change, you can set Enabled = false ;
|
|
|
|
|
Hai to all,
Here i have a problem that,i have to add two different dropdownlist into a single dropdownlist and the first item shd always disable.(item may from any of the 2 dropdownlists)
How to do this using vb.
If any one had some idea,plz send me
Thnks in advance
kissy
|
|
|
|
|
Kissy16 wrote: two different dropdownlist into a single dropdownlist
Dropdownlist is not a container. You can't add controls into it.
|
|
|
|