|
please use google and stop being lazy
|
|
|
|
|
|
http://www.google.co.uk/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=amortization+calculator+asp.net&spell=1
|
|
|
|
|
i'm using visual studio 2008 and try to follow a tutorial using asp.net, when i try to make new connection and choose sql server and then i put server name, next when try to connect database, i want to choose northwind but the list is nothing, then i've download sql server northwind database and attach that database, when i push the button try connection an error occur, and it said default setting sql server does not allow remote connection. (Provider: named piped provider, error:40 - could not open connection to sql server)
anyone can help me why this happen and how to solve it..
thanks in advance.
|
|
|
|
|
Ive had that problem when I tried to connect from out side local network to a sql server in a private network.
Where are you downloading the database to?
Have you got your own sql server?
|
|
|
|
|
You need to get on the SQL Server and run the Surface Area Configuration tool. One of the tabs has the option for Local or Remote connections, as well as Named Pipes or TCP or both.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
iam having a html table where iam placing some controls now how can i add one more dynamically to the existing table using vb.net
|
|
|
|
|
By making it a server control ( runat="server" ) or doing it in javascript on the client.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
OK, then give your table an id so you can use getElementById, then you create and add rows from there. I'm sure there are in depth examples if you google them, they will be tested, anything I type in here will be less reliable than that.
Any of these[^] are probably good.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
i am using webpartmanager.
i write code,
WebPartManager1.DisplayMode = WebPartManager.EditDisplayMode;
it display a error--->
The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user.
Parameter name: value
how to slove the problem.
web config
*************
<configuration>
<appsettings>
<add key="ConnectionString" value="Data Source=Afxisi-05;initial catalog=ss;uid=sa;pwd=sa">
<system.web>
<compilation defaultlanguage="c#" debug="true">
<customerrors mode="Off">
<authentication mode="None">
<authorization>
<allow users="*">
<trace enabled="false" requestlimit="10" pageoutput="false" tracemode="SortByTime" localonly="true">
<sessionstate mode="InProc" stateconnectionstring="tcpip=127.0.0.1:42424" sqlconnectionstring="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="900">
<globalization requestencoding="utf-8" responseencoding="utf-8">
|
|
|
|
|
i need a sample code to rotate the image using ajax animation exteneder.
|
|
|
|
|
I don't believe that HTML can rotate images. I suspect you need to use flash or silverlight, or have a sequence of rotated images you move through. You certainly don't want to use AJAX, although a lot of controls in the AJAX library are really just J controls ( javascript, not asyncronous calls at all )
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
i have one grid view which contains 3 Template columns.
These three columns contains labels in Item template
First two columsn contains text boxes and third column contain fileupload control in edit mode.
In Edit mode, when i upload file(.pdf) up to 3 MB, the application is working fine.
If i upload 5MB file, then click on update button, in browser it displaying that 'The Page Cannot be displayed'.
Why it is happening ? how to rectify this ? How can upload the file with large size?
G. Satish
|
|
|
|
|
Answered more than 1000 times. Why don't you do a search before putting it here ? With the default settings, ASP.NET permits only to upload files with 4MB size. You need to set maxRequestLength in the web.config. Check this KB[^]
|
|
|
|
|
This is Arun, when i use FileUpLoad Control in UpdatePanel , it is not working but without updatepanel the control is working. The Problem is . when i upload a file the Hasfile Property tells the file is not present . The same is working when updatepanel is not used . How to solve this.
ArunVijay
|
|
|
|
|
Hi Arun,
Read this[^] first. And this[^] was my first hit when I googled.
|
|
|
|
|
How can i see the session info added in one ie window from another ie window (Opened independiently and not using ctrl + n)
Im having a problem with this, because users add stuff to their session, when they try to checkout, if they are not registered, they are sent to register, im using email verification (sending them a link to the email they used to register), when they click on the link (from outlook or ie) a new windows opens and sends them to my site again and their account gets activated, the thing is that in the new opened window, there are no things on their session, they would have to close that window and come back to the first window or add items again in the new window
I wouldnt like the user to have to do this, not all wil always do it, some will get confused
Is there any access the session items in either window?
Im using sessions with cookies
Also, im using asp.net membership, if im logged in, when i open a new window, i doesnt logme in automatically, shouldnt it authenticate me?
Alexei Rodriguez
|
|
|
|
|
AlexeiXX3 wrote: How can i see the session info added in one ie window from another ie window (Opened independiently and not using ctrl + n)
AFAIK, session will be shared between multiple windows if second window is opened by the window where session is created. In your case, you are getting totally new window, so you can't share the session.
I think your design is broken. You should not keep the cart items in session. You can keep it in database with user id. When they check out, delete from this table, so that you are able to reload the data back to the cart when they completes the email verification. If you plan to continue with the current design, I have the following suggestion.
Daniel vaughan has written an excellent article here[^] on object serialization. You may follow that approach to serialize your object which is in the session, then append it with the link you send for email verification. When the email verification link is clicked, take value from query string, de-serialize the value and assign to session. But if your object is big, I am afraid this won't work as expected.
Hope this helps.
|
|
|
|
|
Hi All,
I am using C# , asp.net2.0 , Ajax1.0
i am filling dropdownlist using cascading ajax extender. i taken help of ajax site and build a code to fill the control.
my question is how do i get parent selected item value. my web service code to fill target value
<code> public CascadingDropDownNameValue[] GetProd(string knownCategoryValues , string category)
{
StringDictionary kv = CascadingDropDown.ParseKnownCategoryValuesString(knownCategoryValues);
//string subgrp ;
//int sub1;
//if (!kv.ContainsKey("Prod") || !Int32.TryParse(kv["Prod"], out sub1))
//// if (!kv.ContainsKey("Prod"))
//{
// return null;
//}
DsprdTableAdapters.SPGETPRODUCT_GIVENSUBTableAdapter prd = new DsprdTableAdapters.SPGETPRODUCT_GIVENSUBTableAdapter();
Dsprd.SPGETPRODUCT_GIVENSUBDataTable prdgrp = prd.GetProd(kv["Prod"]);
List<CascadingDropDownNameValue> values = new List<CascadingDropDownNameValue>();
foreach (DataRow dr in prdgrp)
{
values.Add(new CascadingDropDownNameValue((string)dr["PM_PRD_NAME"], dr["PM_PRD_CODE"].ToString()));
}
return values.ToArray();
}
</code>
This is giving me no out put as kv["Prod"] is showing null value.
Cascading code in aspx is
<code><ajaxToolkit:CascadingDropDown ID="cddPROD"
runat="server"
TargetControlID="Ddlproduct"
ParentControlID="Ddlsubdiv"
Category="Prod"
PromptText="Choose a Product...."
LoadingText="Please wait ..."
ServicePath="../Prod.asmx"
ServiceMethod="GetProd" />
Please Suggest
</code>
regards
imran khan
|
|
|
|
|
The GridView in question is displaying data correctly.
However, when I pass some of them by using dynamic links on the GridView, they showup as empty strings. Here's my code:
<br />
protected void gvStatus_RowDataBound(object sender, GridViewRowEventArgs e)<br />
{<br />
string fName,stnID,submitBy;<br />
if (e.Row.RowType == DataControlRowType.DataRow)<br />
{<br />
fName = Convert.ToString((gvStatus.DataKeys[e.Row.RowIndex].Values["FILE_NAME"]));<br />
stnID = Convert.ToString((gvStatus.DataKeys[e.Row.RowIndex].Values["STATION_ID"]));<br />
submitBy = Convert.ToString((gvStatus.DataKeys[e.Row.RowIndex].Values["SUBMITTEDBY"]));<br />
LinkButton url = (LinkButton)e.Row.FindControl("lnkAction");<br />
url.PostBackUrl = "statdetails.aspx" + "?File=" + fName.ToString() + "&Station="<br />
+ stnID.ToString() + "&SubmittedBy=" + submitBy; <br />
}<br />
}<br />
I get => "...statdetails.aspx?File=&Station=&SubmittedBy="
I checked the strings and they are empty.
So, data is on the GridView from the same query, but when I try to get them from there, looks like something going wrong.
Any idea?
Thanks.
Ekjon
|
|
|
|
|
You can use datarowview instead
Dim R as datarowview = e.row.dataitem
fName = Convert.ToString((r.item["FILE_NAME"]));
stnID = Convert.ToString((r.item["STATION_ID"]));
submitBy = Convert.ToString((r.item["SUBMITTEDBY"]));
Alexei Rodriguez
|
|
|
|
|
Hi, i'm used Visual Studio 2008 Pro to create and publish
my website. Everything seemed to be successful but when
i tried to go to the page online i get this error:
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
It works fine in my virtual directory but not the server.
This is for a class and your help is greatly appreciated!!
Phivos
|
|
|
|
|
You need to disable custom errors to view the actual error message.
Follow the instructions provided to you in the error message to do this.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|