|
It is databound.
Looks like this
;
All Lakes
<% IF ISARRAY(aryreg2) THEN%>
<% for j=0 to ubound(aryreg2,2)%>
]]>
<%next%>
<%END IF%>
I think I understand what you are saying about the dynamic building of the select page.
Hmmmmm Sounds like it may not be possible with the databound select list.
|
|
|
|
|
Is this ASP.NET, or ASP ? It looks like ASP to me. You are indeed building a list, and doing it the hard way, if this is ASP.NET, which I doubt. You're going to lose your selections, because you're rebuilding your list.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
OK. I would heartily recommend you abandon ASP if you can. You can get free dev tools for ASP.NET and it's a whole different world. It's actually nice to work with. I'm sorry, I hated ASP when forced to use it and I've not used it since it became obsolete, in 2002. I would recommend you try the web development forum, that's where ASP questions belong. Even then, there's not many people who still use it. Broadly speaking, you need some way of setting which objects are selected as you write them into the list ( that part is easy, it's knowing which parts are selected that is hard ). I suspect you'd write javascript to store the ids of selected lakes into a hidden field and then you'd pull that value out of the post data when the form reloads. I do recall having to do that with ASP.
Sorry I can't help more. Why are you stuck with ASP ? Is it a legacy project ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thank you so much for your help.
I will see about switching to .net. Unfortunately, I am neck deep in other stuff right now so I won't be able to get to it for a while.
thanks again - your help is very much appreciated!
|
|
|
|
|
hello ,
I want to know that how to createa log file of soap reueat and soap response in web service.
i make a dll which s mentionin msdn(SoapExtension Class)
but i am not able to understand how it's use in our web method?
how ProcessMessage invoke ?
how we will pass a soapmessage in ProcessMessage?
if you have any idea or having any code so please sent me on my id rohitnegi09@gmail.com
Thanks
|
|
|
|
|
I developed on my PC a Website on .Net 2.0 and i am using SQL 2000.
After putting the files on the Host and trying to open the page i am getting:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
If i am putting in my pc connectionstring the IP of the SQL Server 2000 prodcution then its working fine with my DB that i have uploaded.
this is my connectionstring:
connectionString="Data Source=XX.XXX.XXX.XX;Initial Catalog=MYDB;User id=MyUser;Password=MyPWD;
1.Why while running it from the production i am getting this error?
2.I have under App_Code the file Dal.cs. while this file holding my connection to the DB. when i am doing a temp Website without the DAL and connecting to the SQL Server Production directly then its working fine. do i need special treatment when its under Dal.cs?
3.Any other ideas????
Thanks,
Roy
|
|
|
|
|
Very common SQL 2005 error - has it been configured to allow remote connections (like the error says). google this error for loads of info...
|
|
|
|
|
this is my coding (in VB)
<code><%
Dim i
Dim j = 10
for i = 0 to j
%>
<asp:TextBox ID="txt<%= i %>" runat="server"></asp>
<%
Next
%></code>
it not working
can any one tell me why?
and how to make it work ?
|
|
|
|
|
I bet the code is doing exactly what it says. I expect you are trying to add textboxes. Try doing it in the code behind and adding the controls to the page.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Just do it from codebehind ,
Create object of TextBox Class.
Give an ID.
Add with your page.
That's All.
|
|
|
|
|
can you tell me code behind reference or where to look because i never use it before
thx...
|
|
|
|
|
hi there,
i have a gridview, with alternate row of diff color.
i have div as one of template item.
how to change the color of scrollbar of that div to it's row's color.
for example;
say odd numbered rows are of white color and even numbered rows are blue color.
i have a div in all the rows.
i want div of white colored row to have scrollbar of white color and div of blue colored row to have scrollbar of blue color.
any help...
Thank u.
|
|
|
|
|
AFIK :Gridview has a AlternativeRowColor Property , please check it.
you can do it also using CSS .
Sorry!!! I have just misunderstand your question !!!
BenitaDSouza wrote: i want div of white colored row to have scrollbar of white color and div of blue colored row to have scrollbar of blue color.
You want Div Scroll color will be based on Row color. But i dont think so it is possilbe. You can chage your Div Scrollbar color in a single color but one Scroll having different color
|
|
|
|
|
hey its not one scrollbar having different color...
my gridview has a column with header comment..
and the templatefied for that column is a div..
that means each row wil have different div....
now i want the scrollbar of this div to have color of its row's backcolor...
hope u understood..
|
|
|
|
|
Check the Link
[^]">
Cheers!!
Brij
|
|
|
|
|
Hi I need help i made RDLC Report in .net3.5.
but the problem is that iam using IE7 when i deploy that application on IE6.i donot get reports on IE6.
can any one tell me wats problem
|
|
|
|
|
Hi all,
I want to know is there any difference in the functioning of static variables defined
inside a class library to that defined in a codebehind class.
I came across such a situation when both of these are working differently.The codebehind one
maintains single copy for all instance of that page and changes made at 1 place are being reflected in all the other places.
where as the class library's one doesn't reflect the change smade to it except for the MOzilla browser.
Is there somebody already faced and foud the solution to this problem.Please be kind enough
to tell me answer.
Thank you
|
|
|
|
|
Static variables stay in memory until the application domain where it is hosted unloads. So the static variables declared in a code behind file and a separate class library should work similarly. Is this library creates a new app domain?
joindotnet wrote: where as the class library's one doesn't reflect the change smade to it except for the MOzilla browser.
Browsers don't have any role in this. static variables are kept on servers memory and managed by the runtime. Make sure your ASP.NET process is not recycling frequently.
|
|
|
|
|
Hi thanks for replying.Could u plz tell me why changes I make to the static variable are not reflected on IE but reflected on Mozilla???
I am confused.
|
|
|
|
|
joindotnet wrote: Could u plz tell me why changes I make to the static variable are not reflected on IE but reflected on Mozilla???
I don't know. Have you tried pressing Ctrl + F5? Sometime IE's cache will be making problem.
|
|
|
|
|
As the browser has nothing to do with how the static variable is stored, you are looking for the problem in the wrong place. The variable is changed just fine, it's just that you don't see the current value in the browser, probably because you are looking at a cached page.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi Guffa,
Thanks for bothering.But I have set my browser to refresh every time a page is requested.It never sees the cached value....What might be the problem here I don't understand.
Has this something to do with dll and AppDomain???'coz 1 variable is defined in the dll,other 1 is in normal codebehind.
|
|
|
|
|
A static variable is a static variable regardless of where in the application it is. There is only one instance of each static variable in the application, shared between all threads. If you change the value in a static variable and don't see the change, it's because you are not reading the variable at all.
Static variables are usually not useful in a web application, as it's a multi threaded application, and all threads share the same static variable. If one user changes the variable, all users see the change.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Please any one help me
i want to add new image into the new Div control by every button click in asp.net please help me.
modified on Wednesday, December 10, 2008 7:30 AM
|
|
|
|