|
|
Somedays before , I met a strange thing that my IIS stop working itself.I must reboot the system,then it worked again! who can tell me the reason?
My system is win2000 Chinese-simple and IIS is Ver5.0。
thanks a lot!
we can help together in web desingn ?
|
|
|
|
|
|
I have installed SDK and Microsoft.Web.UI.WebControls.
Did a small asp.net to test the tree view control and getting the following error
"Could not load type Microsoft.Web.UI.WebControls.BasePostBackControl from assembly Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35."
Can someone please tell me what is happening here.
Tharanga
|
|
|
|
|
it said that the website is opensource,
but when i download the full project and run it on my pc.
it did not display as the website.
but display 2eNetWorX website.
what's the matter!
does anyone use the source?
thanks!
|
|
|
|
|
How come the folowing code doesn't work?:
<asp:datalist id="DataList1" runat="server">
<itemtemplate>
<%# Container.DataItem("model") %>
But this code works fine:
<asp:datalist id="DataList1" runat="server">
<itemtemplate>
<%# DataBinder.Eval(Container.DataItem, "model") %>
Do you have any ideas???
Thanks.
Steffen Otto Jensen
Denmark.
|
|
|
|
|
hmm... theres some code missing... the two lines of code should sit in a datalist...
|
|
|
|
|
to begin with, still relative newbie to asp here
i'm tryin to make a reminder page, you know, for appoinments, birthdays etc
when the page loads txtRealDate gets the current date how do i read the value of say, txtRealDate and subtract from it the value of a combobox, and show the result in txtWarnDate. any helps really appreciated.
shotgun
|
|
|
|
|
1st it depends on if you're using ASP classic or ASP.NET The logic is basically the same but the syntax is way different.
If classic then see DateValue() and DateAdd()
If ASP.NET see System.DateTime
The methods in particular are:
Parse()
Add()
AddDays()
AddHours()
AddMilliseconds()
AddMinutes()
AddMonths()
AddSeconds()
AddTicks()
AddYears()
(Take your pick )
|
|
|
|
|
I want to add a contact page to my site that allows users to contact me with questions. The form would ask them to enter there Name/Email Address/Phone Number and Message.
Help. Thank you in advance.
sdukart
|
|
|
|
|
I have been using the sample indexserver.asp and modified it a bit, but I can't seem to get "Summary" to work. What I mean by summary is after the Link/URL/File I want a Summary listed below each result so that a searcher can preview each link before clicking on it.
Help. Thank you in advance.
sdukart
|
|
|
|
|
I am not sure which forum CSS questions should go in so I posted it here.
My question is: I have an IFrame and I don't want a border around it. I once saw a CSS style that changed it so the border was the same color as the background.
Thanks if you can help.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
Could you Would you with a goat? - Dr Suess
|
|
|
|
|
You must apply the CSS to the page IN the iframe, not to the iframe tag.
The main frame in IE is the same way... it has the same border around it as that in an iFrame, but if you change the body tag's 'border' attr, it will take the border off.
|
|
|
|
|
Christopher Lord wrote:
You must apply the CSS to the page IN the iframe, not to the iframe tag.
Thats what I was trying to say (obviously didn't do a good job though )
Thats what I wasn't sure of. Thanks!
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
Could you Would you with a goat? - Dr Suess
|
|
|
|
|
Are you looking for the actual css?
Upon rereading that appears to be your question. Sorry if I misunderstood...
If so your looking for
border:1px solid blue;
applied to the body tag.
|
|
|
|
|
Christopher Lord wrote:
Are you looking for the actual css?
I was but a little playing around and I figured it out.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
Could you Would you with a goat? - Dr Suess
|
|
|
|
|
Can you not do it with an HTML attribute...?
border="0px"
or something...?
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
I tried body border=0 but it works to do something like body style="border:0"
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
Could you Would you with a goat? - Dr Suess
|
|
|
|
|
body border=0 worked...???
I thought it would be more like
iframe border="0px" or something...*shrugs*
I haven't used iframe in a long time...so i'l quite rusty...
Cheers!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Hockey wrote:
body border=0 worked...???
Sorry i didnt' explain it well enough. the body border didn't work but the body style="border " did.
The iframe doesn't have a border it uses the border of the page that is in it.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
Could you Would you with a goat? - Dr Suess
|
|
|
|
|
Hey folks:
Im new to this .NET development and have not quite yet understood all the magnificent features that .net provides.I am using the ADODB object for database connection and doing things with my SQL server 2000 database.
Now my problem is:-
I have a stored procedure that accepts 8 parameters and runs well in SQL server.But when i try to use it in my ASP page that submits these 8 values according to the WroxBook for ASP i have to definitely define all the 8 parameters using the adodb.command.createParameter.this literally means i need to write the entire ddl for my sql database.
Now is there someway i can by pass this??
Regards
PradS
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
You don't have to use ADO parameters. It just makes it a little safer (Type checking, quote catching in strings)
You can use Connection.Execute to execute the stored proc just like in SQL Query analyzer.
Set rst = con.Execute("exec myStored proc " & param1 & "," & param2 & ",'" & VARCHARPAram & "',"...
|
|
|
|
|
If you are connecting to a SQL Server database you really should be using the .NET providers for it not ADO
<br />
SqlConnection sqlConn = new SqlConnection("ConnString");<br />
SqlCommand sqlCmd = new SqlCommand("myproc", sqlConn);<br />
sqlCmd.CommandType = Command.StoredProcedure;<br />
sqlCmd.Parameters.Add("@param1", SqlDbType.Int).Value = 1;<br />
sqlCmd.Parameters.Add("@param2", SqlDbType.VarChar).Value = "1";<br />
<br />
sqlConn.Open();<br />
sqlCmd.ExecuteReader();<br />
sqlConn.Close();<br />
|
|
|
|
|
Oops, I guess I glossed over the part where he said .NET development.
|
|
|
|
|
Hi there!
We have a database in a Web-server that give all our offices the information we need.
However, as we are printing in a 40 Column printer some data taken from a web query, I was wondering how to print directly to the local printer.
What I want is:
A) Show the user an HTML page with logos, lay-out and everything he has just consulted
B) Directly to the printer send just part of this query, as we used to do in Basic when assigning content to the printer, not a file, and therefore sending plain data direct to the local printer.
Can anyone help me? I'm a begginner in ASP/ASP.NET but I used Basic in the 80's.
Thanks,
Peter
Peter Berndt de Souza Mello
psmello@akaruvicha.com.py
http://www.akaruvicha.com.py
|
|
|
|