Possible Duplicates:
What is the difference between web application and website in asp.net?
ASP.NET: Web Site or Web Application?
To start a new ASP.NET project in Visual Studio 2008 we are presented with two options to go about creating a website,you can either create it as a new ASP.NET Web Site(File > New Website > ASP.N...
A colleague of mine asked me to take a look at some cookie behaviour. He created simple web app that created a cookie and inserted the value of a text field, he then checked the cookie collection on the next page to see it had been inserted and read back correctly.
All simple really.
On the second page however he noted the was more th...
My end goal is to open up a new browser window and display an animated progress gif whilst loading a slow Crystal Report. Using traditional asp.net methods to achieve this always results in the gif not animating during a postback, unless I use update panels but that's when things start getting messy.
I have read lots of articles describ...
Is there a way to transparently pass URL parameters through web pages? I mean situation that when using redirects, already added parameters will be passed to new page without direct action of programmer.
For example:
we entering page myPage1.aspx?param1=test
performing Response.Redirect(myPage2.aspx)
here I would like the parame...
Here's my code
I seem to be getting an error SQL command cannot be converted to string with this code
Dim LogData2 As sterm.markdata = New sterm.markdata()
Dim query As New SqlCommand("Select * from openquery (db, 'SELECT * FROM table WHERE person=@person')")
query.Parameters.AddWithValue("@person", Session("number"))
Dim drCode2a A...
i have a SQL query as follows
String S = Editor1.Content.ToString();
Response.Write(S);
string sql = "insert into testcase.ishan(nmae,orders) VALUES ('9',@S)";
OdbcCommand cmd = new OdbcCommand(sql, myConn);
cmd.Parameters.AddWithValue("@S", S);
cmd.ExecuteNonQuery();
Error: Column 'orders' ca...
I need to put a new CSS from ASP.NET when the image button Control comes dynamically
...
<telerik:RadEditor ToolbarMode="Default"
ID="editor1" runat="server" EnableEmbeddedBaseStylesheet="true">
</telerik:RadEditor>
The editor's using Default skin..when I made changes to Editor.Default.CSS file...they didn't reflect on my page..but when I type the following I can see the changes:-
<link href="Skins/Default/Editor.Default....
actually this code is working well in firfox mozila but it's not working in IE8
<asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="btnPrimary" OnClientClick="return doSubmit('this');"
OnClick="btnSubmit_Click" />
<script type="text/javascript">
function doSubmit()
{
...
i have a SQL query as follows
String S = Editor1.Content.ToString();
Response.Write(S);
string sql = "insert into testcase.ishan(nmae,orders) VALUES ('9',@S)";
OdbcCommand cmd = new OdbcCommand(sql, myConn);
cmd.Parameters.AddWithValue("@S", S);
cmd.ExecuteNonQuery();
Error: Column 'orders...
Hi all, I'm using an AutoCompleteExtender in ASP.NET/C# to retrieve data from my database, along with the primary key of the field. When a name is chosen, the details (name/pk) are retrieved even before clicking submit, and it then passes these onto a hidden field.
The issue I have is that if the user types in an incorrect name, the pk ...
Given a textbox:
<asp:Textbox runat="server" id="txtAddress1" />
This renders as something similar to:
<input name="ctl00$mainContent$txtAddress1" type="text" id="ctl00_mainContent_txtAddress1" />
I don't think browsers autocomplete features recognise this name/ID as a field they can autofill, they are not standard recognised names...
I have a web site project where I need to use the System.Security.Cryptography.Xml.SignedXml class. I added the Dll System.Security as a reference and imported the namespace into my project.
It compiles successfully but when I debug the project I get a compilation error:
Compiler Error Message: BC30002: Type 'System.Security.Cryptograp...
I want to save the contents from HtmlEditor(Ajax Control) into a database field.
If i try to save as VARCHAR than error comes as data too long.
Please help.
...
hi there
i have a form that is generated dynamically.
the plan is to generate it, the user to enter data, and then to save all that lot away.
although a slight variation to this is if the form has previous data associated with it, and then it loads in all pre-populated. - the user may then change any previous selections.
and that is th...
i have a asp.net page. i m writing some words in a question textbox named txtTitle, after moving to another txtbox named txtbox2, i want that it should open a question-suggestion page based on that keyword typed in txtbox1 in the space before txtbox2. i hv tried this but it is not working. can anyone provide me the all the codes which ar...
Hi All,
I have a couple of dropdownlists and a button.when a user selects an item in the 1st dropdownlist,the 2nd dropdown is programmatically bound to a set of items(using an ajax request) depending on the value selected in the 1st dropdown.Then the user will have the ability to choose an item from the 2nd dropdown and click on the but...
What is the right approach when users (authenticated domain admins) should be able to start batch jobs (usually exe files) from an IIS (7.x) aspx (c#) page? This is an intranet site. The batch jobs have to run on the web server as Domain Admins. The website pool is executed by network service or some similar restricted account in AD.
Ap...
I have a sitemap that's pulling its information from a global resource file (because the website is in two languages). That part is working.
Now, I want to make it so that part of the sitemap is dynamically added from the database (product categories).
I found a tutorial here and tried to implement it but it's not working. I can get ...
When a json result is returned by the controller the object name seems to be missing, I normally wouldn't mind but the flexbox jquery plugin requires the json result in a particular format.
Flexcombobox expected format
{"results":[
{"id":"1","name":"Ant"},
{"id":"2","name":"Bear"},
{"id":"3","name":"Cat"},
{...