|
hi
i select multiple databases from droupdown menu,e.g,if select january,the database of january open,if i select fab,then fab database open,but the table name in all databases is same,i also show 10 records par page,when i click move next,then in droup down menu,first option selected,and error shows,and next page of any months not showa,plz help me,this problem comes only when i click next aur previous record,other wise droupdown menu works.
reply me son on sweetperson65@hotmail.com
thanx
bye
honey
|
|
|
|
|
hi all,
i ve a problem in asp page.
i cant run asp pages nin my localmachine. it show erro like 500 server error
when i typr http://localhost (default page) it also show error.
i dont know what is the pblm??
i installed IIS and dotnet it run without any pblm.
my os is winXP Prof.
All I ever wanted is what others have....
CrazySanker
-- modified at 1:00 Friday 7th April, 2006
|
|
|
|
|
Disable "Show friendly HTML error messages" in the advanced options in Internet Explorer, so that you see the complete error message from the server.
---
b { font-weight: normal; }
|
|
|
|
|
Hello:
I am developing a web service which is consuming data from an MS Access database. I am in trouble when testing the service from a client.
When debuging the web service directly either I define the connection stirng as 1) or 2) it works.
1) connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source='~\App_Data\OVRData.mdb'"
2) connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source='E:\Projects\MyWebService\App_Data\OVRData.mdb'"
But if I try to test the service from my client only writing the Web.config as the option 2) works. Otherwise
try to find the file in something like c:\Documents and Settings\...\VisualStudio\IDE\...
Given I have no control on which absolute path is going to have when I move to the web server. How can I write my connection string to be relative?
Thanks
|
|
|
|
|
|
I am in a design stage for my new web applciation. What should i start looking at if i want my web application to act something like this forum, where u click on a topic it will expand the content?
thx for your suggestions!
|
|
|
|
|
Try this html:
<html>
<head>
<script language="JavaScript" type="text/javascript">
function Expand(name)
{
var elem = document.getElementById(name);
if (elem.style.display == "none")
{
elem.style.display = "block";
}
else
{
elem.style.display = "none";
}
}
</script>
</head>
<body>
<Table >
<tr>
<td>
<a href="#" onclic k ="Expand('content');">click this</a>
</td>
</tr>
<tr>
<td>
<table id="content">
<tr>
<td>
line1<br/>
line2<br/>
line3
</td>
</tr>
</table>
</td>
</tr>
</body>
</html>
-- modified at 0:47 Tuesday 11th April, 2006
|
|
|
|
|
hmmm...this doesnt seem to be working...
|
|
|
|
|
Remove space in "onclick" If I post it without quotes it'll be replaced by "removed" word. Like in this:
<html>
<head>
<script language="JavaScript" type="text/javascript">
function Expand(name)
{
var elem = document.getElementById(name);
if (elem.style.display == "none")
{
elem.style.display = "block";
}
else
{
elem.style.display = "none";
}
}
</script>
</head>
<body>
<Table >
<tr>
<td>
<a href="#" onclick ="Expand('content');">click this</a>
</td>
</tr>
<tr>
<td>
<table id="content">
<tr>
<td>
line1<br/>
line2<br/>
line3
</td>
</tr>
</table>
</td>
</tr>
</body>
</html>
|
|
|
|
|
cool.. this works, now how do i do this part in C#? whats the libary for elem.style.display? or should i make it a server control?
<script language="JavaScript" type="text/javascript"><br />
function Expand(name)<br />
{<br />
var elem = document.getElementById(name);<br />
if (elem.style.display == "none")<br />
{<br />
elem.style.display = "block";<br />
<br />
}<br />
else<br />
{<br />
elem.style.display = "none";<br />
}<br />
}<br />
</script>
|
|
|
|
|
|
I have a listbox "Employee" that is pouplated with a SQL stmt. In the SQL stmt, I can SELECT ID, Name, Dept, Etc. The listbox shows the "ID - 25" and "Value -Name". I do not need to see any additional information in the listbox, but I need a javascript function to populate a textbox "Dept" with the "Dept value" that was retreived with the SQL stmt.
Ernest
|
|
|
|
|
More information required here.. Are you saying that you already have the listbox populated, and that when a users selects one of the items in the dropdown that you want that item's text data to be populated in a separate text box?
|
|
|
|
|
Correct: This list box is already populated using a SQL stmt. User can currently select an item in the dropdown.
The fields in the list box are ID=1d, and Value=Name which is displayed to user. The SQL stmt returns: ID - Name - Dept. I need an onchange event that will populate another text box "Dept" with the 3rd column of the list box "Dept".
Thanks
Ernest
|
|
|
|
|
Ok, if I understand this, what you're saying is that you have three values... the ID, the name and the Department. And now based upon which one they select, you need to populate another area with the department value.
I would create a Javascript array on the page populated when the SQL populates the dropdown. The array would contain the IDs of each dropdown associated with DEPARTMENT. On the OnChange, have the script look up the value of the selected item in the dropdown, get the department value, and populate the other area. Make sense?
|
|
|
|
|
Yep... you understand..... Thanks for the reply.....
Now I just need to find samples or figure out how to do just that..
Thanks
Ernest
|
|
|
|
|
Hi All,
Would u tell me
what are the settings needed under WinCE Registry to work the ISAPI extension DLLS?
How to do it?
Thankx in advance,
Regards,
Ramesh.
|
|
|
|
|
Hi,
I'm writing a web service using ASP.NET in VS.NET 05, I want my web service can receive the request from client and get the response (including HTML, Javascript...) from the web server. It is in the middle of web server & client.
How can I do?
Thanks,
Hung
|
|
|
|
|
Hung,
I'm guessing that no one is replying to this because it's hard to follow. Do you want your web service to simply return HTML and Javascript? What is this HTML and Javascript?
|
|
|
|
|
hi,
i've got a quick javascript question. i don't know if its possible... how can i call a function when text in a textbox is changed?
thanks in advance,
sam kline
|
|
|
|
|
Hi,
For this purpose try writing code in the textchanged event or else use an extended textbox.
Extended textboxes allow you to write delegates and events and on those events javascript functions can be called.
Code for extended text box can be found at the code project site itself.
Thanks.
|
|
|
|
|
hi all,
i got a small problem but its really annoying.
i want to use the new implicit localization feature of asp.net 2.0. i created default resource file in local resources folder say def.aspx.resx thent i created number of resources files with diff languages like def.aspx.fr-FR.resx. the defualt resource file works greate but when i change culture and uiculture to another culture say fr-FR. nothing changes and the resource file def.aspx.fr-FR didn't loaded i dont know why??? it works only when i make it as defualt resource. def.aspx.resx but changing cultrue anf uiculture doesn't work!!!!
Thanks in advance.
marcoryos
|
|
|
|
|
Hi,
I am working on a web application in ASP.net & C# .For one of the utilities on my site, i need to use an available VC++ project.
This VC++ project produces an exe as its output.
I tried changing the output type of the VC++ project to .dll, but it doesn't help and after this, the project itself stops working.
Can someone please tell me as to how to use this VC++ project into my web application?
Thanks.
|
|
|
|
|
EXE in a web page??? looks strange to me.
You can try to re-write the code for .NET itself
"He that is good with a hammer tends to think everything is a nail." - Abraham Maslow
|
|
|
|
|
What i am trying to do seems a little difficult, but i learnt that .net supports language interoperability.
"How" is the point of concern. I've tried a lot but have not been able to accomplish this task.
Using dlls is easy, but with this exe project, i'm at sea... dont know how to use it.
I'll be grateful if you can provide any useful information on this.
I hope you appreciate that rewriting an entire project would be very time consuming and complex.
Thanks.
|
|
|
|