|
|
I've a comobbox and i'm fill this comobbox like this:
===========================================================================================
oleDbDataAdapter1.Fill(dataSet31);
dpdhead.DataSource = dataSet31.Tables[0].DefaultView;
dpdhead.DataTextField = dataSet31.tbacdes.ac_headColumn.ToString();//Display Heads
dpdhead.DataValueField = dataSet31.tbacdes.ac_idColumn.ToString();// Heads Ids
dpdhead.DataBind();
===========================================================================================
and than i want to get Comobbox select item head id. But when i select the comobbox value page refresh, first time it return head id but when i again select a value i got an javascript error like this:
====================================
Error: Invaild Syntax
Code: 0
====================================
And comobox stop working. and page doesn't work.
Please help me out in this matter (Urgent)
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
http://www.codeproject.com/script/comments/forums.asp?forumid=1649&select=2119873#xx2119873xx
|
|
|
|
|
Please don't cross post, or post again when your original question is still visible. That's just annoying.
Also, as has been said to you, try to come up with intelligent subject lines.
What makes this dataSet31, and not dataSet30 ? Please tell me your page doesn't contain over 30, numbered data sets ?
Are you injecting any jscript into the page ? It's very odd that the auto generated script would create an error.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, thanks and sorry.
Actually I didn't understand what happend to me.
I want to load data in comobox from Database and than get the selecteditem id.
example
=====================================
Department Header //display member : Student fee
Department Id // value member Id: 4
====================================
and on selectedindex_change function i want to get department id, while page refresh. I have successfulyy fill the comobox but when i change value in comobox first time it give the department id while page reload, but after that page got an error (Invaild syntax) and page stop working, comobox stop working.
Please help in this. Thanks and my best regards,
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
The setting of the data source ( the code you posted ) should only occur the first time, that is, in a Not Page.IsPostback block. However, not doing this would typically cause you to lose your selection, not for the page to blow up. Something strange is going on, here. I think you need to post some more of hte code.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
please help me to send e-mail by using html tags without any asp or asp.net command.
my server does not support asp and asp.net
thank you.
Devil
software Engineer
|
|
|
|
|
Then, just put "mailto:" in HTML element.
|
|
|
|
|
I have written all the commands required to do live serach in a method.I am calling that method asynchronously using threads.Although I have created 20 threads and calling the search method from all these 20 threads.(It's Like If have a paragraph with 20 sentences, I want to call my search method 20 times asynchronously without waiting for first one to complete. )The problem is when I moniter my network traffic I can only see 2 connections to the server Instead of 20.Can anybody tell me what is the problem why I can't make 20 connections to MSN Live server.From my programs trace I can see that all 20 treads are being created and callback is also happening for all 20, but what I feel they all are using same 2 connections thus I can't see a boost in performance.
Note I am using synchronous version of MSN web Search method.
|
|
|
|
|
I have figured out the problem, firstly according http RFC we should not make more the two connection to a web server,hence .NET complies with it and by default allows us to make only two connections to the web server,it can be changed fairly easily by making changes to machine.config file.
But there are various other aspects which should be taken care while doing so,in order to get maximum out of your multi threaded application.Please refer to following links they will to remove all doubts.
http://codebetter.com/blogs/steve.hebert/archive/2006/07/14/147371.aspx
http://codebetter.com/blogs/steve.hebert/archive/2006/07/20/147565.aspx
http://blogs.msdn.com/tess/archive/2006/02/23/537681.aspx
|
|
|
|
|
i want to throw error message in ASP code when there are problem connecting to SQL server or there are some blockages...
currently i am trying to call Stored procedure and since the SQL server is donw it takes lot of time to get the response.
how we can achive this quikcly.
|
|
|
|
|
You want to lower the timeout on the connection ? I'd imagine you can do that on the connection string.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I've wrote a program to receive the udp package from remote machine which runs very well,but this time when I installed the IIS Server,the program always report "bind error" and error number means "Only one usage of each socket address (protocol/network address/port) is normally permitted",but the port I've used "netstat -an" and determine the port has not been used.What's the matter?
|
|
|
|
|
I hate posting in this forum, as God is my witness, I will never do web development again...
But, I'm a consultant, I'm here to help, and the dark side is calling me...
I need to test a platform providing VBscript support. Thankfully, I will not have to develop too much s/w in VBScript, but I am responsible for blessing the platform. Can anyone recommend a source for a vbscript confidence check? I'd like to trust MS... but I need to see for myself if things really work on my target platform.
Thanks....
Charlie Gilley
Will program for food...
Whoever said children were cheaper by the dozen... lied.
Overheard in a cubicle: "A project is just a bug under development."
Seeking to rise above the intelligence of a one eared rabbit...
Caught in a vortex of weirdness...
|
|
|
|
|
dear friends
how to add confirmation box like "Do you want to delete ?"
yes /No
in the following ASP code
a href=delete_entry.asp?ID= & rsGuestbook("MemNo")
Thanks and regards
prashant
-- modified at 11:36 Sunday 8th July, 2007
|
|
|
|
|
<a href="..." onclick="return confirm('Do you want to delete?');">
-- modified at 8:05 Monday 9th July, 2007
Forgot to check the ignore HTML tags box
only two letters away from being an asset
|
|
|
|
|
hi i am not able to see the soln
pls send it to my email ID prashantkp@integramicro.com
thanks and regards
prashant
|
|
|
|
|
Don't Cross post in Multiple Forums.
And also make sure that your subject is proper.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
I've a comobbox and i'm fill this comobbox like this:
===========================================================================================
oleDbDataAdapter1.Fill(dataSet31);
dpdhead.DataSource = dataSet31.Tables[0].DefaultView;
dpdhead.DataTextField = dataSet31.tbacdes.ac_headColumn.ToString();//Display Heads
dpdhead.DataValueField = dataSet31.tbacdes.ac_idColumn.ToString();// Heads Ids
dpdhead.DataBind();
===========================================================================================
and than i want to get Comobbox select item head id. But when i select the comobbox value page refresh, first time it return head id but when i again select a value i got an javascript error like this:
====================================
Error: Invaild Syntax
Code: 0
====================================
And comobox stop working. and page doesn't work.
Please help me out in this matter (Urgent)
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
I am a VC++ developer know something of HTML and little DHTML. But time required from me
to develope a web page which will have excel sheet and people from various places place order by filling that excel and I have to get it at server. I can develop a application
as excel sheet within html and take data entered in html in access and then print it.
But I dont understand if this html is on remote machine and it is filled how can I get that
data transfered to server.No doubt my created html I will place on my domain server.
But surely ISP will get copy of it will forward to user. I am little confused of whole mechanism. Can anyone guide me about the same. My countdown is already started for finishing it on or before deadline.
|| ART OF LIVING ||
|
|
|
|
|
Hello,
How can I send feedback form as email to specified email id and in feedback (HTML) form for date selection how can I use calendar control. Any sample code ro URL will be great.
Thanks in advance.
Thanks & Regards,
Kumar
|
|
|
|
|
What are the securities that can be set to the WebServices?
Regards,
LEE
|
|
|
|
|
(1)Windows Authentication and Authorization
(2) Custom Authentication and Authorization (with Soap Headers)
Get it[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Hi,
Please look at the following style:
padding: 1px 10px 8px;
What is exactly set here?? Top, bottom, left or right?
Regards
ma se
|
|
|
|
|
padding: top right bottom left;
(same order to any such element - eg, margin)
|
|
|
|