|
i am using asp in my WEBSITE.
basically i have one option list(papername)
options of this list is retrieved from the database table(papername,code).
i want When the paper name is selected its correponding code should be
filled in the code inputbox automatically.Can you please suggest me something.
|
|
|
|
|
I am having an arraylist with string values
stored in it.I want to access that arraylist
in javascript so that i can manipulate the
values stored in it.
jophin
|
|
|
|
|
That is impossible. The ArrayList exists in the server code, and Javascript is client code.
You can't share objects between server code and client code. There are two reasons for this, which each by themselves makes it impossible:
:: The server code and client code doesn't exist in the same place.
:: The server code and client code doesn't exist at the same time.
The server code runs on the server to create the web page. At this time the client code doesn't exist. The page is sent to the browser, and the client code is executed. At this time the server code is no longer running.
If you want to send data from the server code to the client code, you put the data in the web page that is created. For example by creating Javascript code that recreates the data, or putting it in hidden fields in a form on the page.
You can't send the data back to the server code that sent the data, as that code is no longer running. You have to make a new request to the server so that the execution of the code starts over. You have to send the manipulated data in the request, for example by putting it in hidden fields in a form and posting the form.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi Guys,
I am using ASP.Net 2.0 with VB code-behind page. But I have a problem in displaying the data from excel. It says that - "The microsoft Jet database engine could not find 'A1'. Make sure the object exists and that you spell its name and path name correctly."
And as I check my xls file there is a column for "A1".
Did I missed something in the source code?
Please refer to the source code below
I hope you can help me solving this problem. Thanks
Source Code:
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs)
' Create connection string variable. Modify the "Data Source"
' parameter as appropriate for your environment.
Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" _
& "Data Source=D:\sample\test.xls ;" _
& "Extended Properties=Excel 8.0;"
' Create connection object by using the preceding connection string.
Dim objConn As OleDbConnection = New OleDbConnection(sConnectionString)
' Open connection with the database.
objConn.Open()
' The code to follow uses a SQL SELECT command to display the data from the worksheet.
' Create new OleDbCommand to return data from worksheet.
Dim objCmdSelect As OleDbCommand = New OleDbCommand("Select * From A1", objConn)
' Create new OleDbDataAdapter that is used to build a DataSet
' based on the preceding SQL SELECT statement.
Dim objAdapter1 As OleDbDataAdapter = New OleDbDataAdapter()
' Pass the Select command to the adapter.
objAdapter1.SelectCommand = objCmdSelect
' Create new DataSet to hold information from the worksheet.
Dim objDataset1 As DataSet = New DataSet()
' Fill the DataSet with the information from the worksheet.
objAdapter1.Fill(objDataset1, "XLData")
Dim dr As DataRow
For Each dr In objDataset1.Tables("XLData").Rows
MsgBox(dr("A1"))
Next
objConn.Close()
End Sub
hifiger2004
|
|
|
|
|
Hello everybody,
I have a huge problem with WSE 2.0 on Visual Studio 2005 ... [http://www.microsoft.com/downloads/details.aspx?familyid=1ba1f631-c3e7-420a-bc1e-ef18bab66122&displaylang=en]
"WSE 2.0 SP3 is also supported on .NET Framework 2.0. WSE 2.0 SP3 does not have design time support with Visual Studio 2005 and hence is not supported when used with Visual Studio 2005. WSE 2.0 SP3 only has design time support with Visual Studio 2003."
...still how can I generate all this things? I can't migrate to WSE 3.0 because system requirements.
I can't get the myprojectWSE build without wse2.
it's like this problem:
[http://www.topxml.com/Webservices-Enhancements/rn-240107_WSE-2.0-in-Visual-Studio-2005.aspx]
thanks in advance for replying.
Ps: please help me >.<
ps2: sorry if this post should be in ASP.NET
thnx
thnx
|
|
|
|
|
anything?
thnx
|
|
|
|
|
can two dotnet applications can be hosted in the same host or not
please respond to me
thank u
|
|
|
|
|
Well, it depend on your host that you bought.
For example, your web application is required to have two different databases. so, you have to ask your host whether they allow you to create two databases. The same way for mapping domain name. You have to find out whether it's allowed to map multiple domain to your account.. The limitation are vary from one host to another.... so, we can't say exactly for your question.. We suggest you to contact with the your host.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Salam , how are you guys ? i hope everything is good
well , i'm new in web developement & i'm trying to find out some ASP tutorials or books but i can't cuz when i type ASP or traditional ASP in Google i get the results concerning the new ASP.Net 1.x or 2.0 but i want to try out the traditional one first to know basics then move to this latest versions , can some body help me please ?
thank you very much
try to be good if you can't be the best
|
|
|
|
|
|
In my opinion however, you won't really gain anything from learning ASP first. ASP and ASP.NET are very different animals.
Scott
|
|
|
|
|
Salam , yeh i know but if you can see the ASP.Net ust makes the task easy for ya , for example the authentication & autorization , when i was studiying ASP.Net 2.0 from the asp.net web site i didn't know what is happening bihind scenes , now i know that there is something called cooky & session variable ........ understand ?? this is why i want to start out with classic asp
i know a jewish website that gives great books for free but i don't remember the link !! so baaaad P
try to be good if you can't be the best
|
|
|
|
|
Mohammed Amine wrote: this is why i want to start out with classic asp
This is just plain dumb. ASP was not designed in any way. Learning it will not help you in any way. In fact, you access cookies, the query string, and so on exactly the same way in ASP and ASP.NET.
ASP is a nightmare, all it will teach you is bad habits which will corrupt your attempts to learn ASP.NET.
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 )
|
|
|
|
|
Try these online tutorials. For starter this should be enough:
http://www.w3schools.com/asp/asp_intro.asp
Let me know if you are looking for some advanced topics in ASP.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
... supports 128 bit encryption? Say, you need to do this in your own ISAPI Filter dll?
Any link, sample code, or hint is appreciated. Thanks.
|
|
|
|
|
I'm afraid that there's almost no way to detect it directly. It's by default a version dependent features. For example, IE 6 on Windows XP SP2 and IE 7 now allow you to specify 128-bit strong encryption for use outside US. Previous versions of IE such as IE 5.0 and IE 5.5, can't use strong encryption outside US. They're only allowed to use weaker encryption than 128-bit.
This is the link to MS KB about 128bit encryption on IE:
http://support.microsoft.com/kb/195833[^]
best regards,
Eriawan
|
|
|
|
|
Thanks. I was able to solve this problem by querying server variable "HTTPS_KEYSIZE" within my own ISAPI Filter.
|
|
|
|
|
How can i get the home directory of a website given its port or name ? I am using .net 1.1.
|
|
|
|
|
i am developing a website in which i want two frame. basicaly i want a navigation frame.in this frame the value of links will be accessed from database.all the links will be having same linked page. But i want the page that is going to be opened in another frame should recieve the value of link.
basically my site is site for tests which will access tests data form database.
please give some suggestion.
|
|
|
|
|
hello prachishah!
Though you didnot specify your platform, plz find below my suggestion:-
Use target property of link in navigation frame and set another frame's name as a target of link.
I think it will solve your purpose
Any systematic work reflects its significance for a long time. So let's discuss the best...
|
|
|
|
|
I have a code i.e.:
$dt = '01/02/1950';
$dtsplit = str_split($nr,2);
please explain what is in
$dtsplit[0];
$dtsplit[1];
$dtsplit[2];
Thanks,
Arun Kumar
Arun Kr
|
|
|
|
|
maybe. like that...
<br />
01<br />
/0<br />
2/<br />
Ref:http://sg2.php.net/str_split
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi again,
Thanks,
will you please tell me the length of $dtsplit [array size].
I have a code i.e.:
$dt = '01/02/1950';
$dtsplit = str_split($nr,2);
please explain what is in
Thanks once again
Arun Kumar
Arun Kr
|
|
|
|
|
|
stupid joke i guess
|
|
|
|