|
 |
aspx thread: Some Questions
Message #1 by "Pedro Correia" <pjcorreia.ddlisboa@f...> on Fri, 22 Sep 2000 21:41:57 +0100
|
|
Hi
i have some questions about ASP+
1. When i try to use a stored procedure with several parameters i have to
create each and ever one of them or can i make a "refresh" parameteres
like in ASP
2. Im portuguese and i have ã strange problem: When i fill a combo box
with values taht use special portuguese characters like ã, é, etc, after
the page has been submitted those values change to strange characters. I
allready tried to use several Response.enconding, Culture and Code Page
but nothing seems to work.
sorry about my pour english
Thanks in advance
Pedro Correia
Message #2 by "Fredrik Normen" <fredrik.normen@s...> on Mon, 25 Sep 2000 10:28:39 +0100
|
|
>1. When i try to use a stored procedure with several parameters i have to
>create each and ever one of them or can i make a "refresh" parameteres
>like in ASP
You can use "ResetParameters" this refreshes the collection of Parameters
for the command.
Why do you want to force the providers to update parameter information,
this
operation can be time-consuming.
>2. Im portuguese and i have ã strange problem: When i fill a combo box
>with values taht use special portuguese characters like ã, é, etc, after
>the page has been submitted those values change to strange characters. I
>allready tried to use several Response.enconding, Culture and Code Page
>but nothing seems to work.
Try to add this to the config.web file:
<configsections>
<add name="globalization"
type="System.Web.Config.GlobalizationConfigHandler">
</configsections>
<globalization
requestencoding="us-ascii" <-- You have to change this first
responseencoding="iso-8859-1" <-- You have to change this first
/>
Have you tried to add RESPONSEENCODING into the @ Page ?
/Fredrik Normen
|
|
 |