13,936 Topics

Member Avatar for
Member Avatar for Rageela

Please anyone tell me how can i modify a cookie. I have tried to overwrite it. But it shows the old cookie. How can i modify it.

0
51
Member Avatar for qwedster

Folks! What is the difference between PostBack and IsCallback ( !IsPostBack and if(!IsCallback)) Like in the following Code Snippet: [CODE] public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { } if(!IsCallback) { } } }[/CODE] As far as I know, when I …

0
58
Member Avatar for qwedster

Folks! The following is a "Hello World" kind of code for ViewState. I just want to know how to retain the ViewState 1) while Page Refresh when using UpdatePanel and also 2) While I reverting back to the page after round trip when using UpdatePanel? Code Snippet: // Default.aspx [code=asp.net]<%@ …

0
60
Member Avatar for gtyagi

I know what is absolute & Relative URLs theoritically.Frnds can u explain me in with regard of coding?

0
44
Member Avatar for shankbond

Hi, I am making a form in asp.net 3.5 which will send an email to the recipient Initially I was using system.web.mail as it is obvious whenever you send an email to some recipient a display name appears instead of theemail id of the sender consider: mail_sender=mail@gmail.com display_name="my name" in …

Member Avatar for shankbond
0
117
Member Avatar for umairraja52
Member Avatar for kekkaishi
0
59
Member Avatar for labelle

greetings to you all! I want to insert a flash object in my code.and i get validation errors. what is the best way of doing things.here is the code and below it the errors. pliz let me know how i can correct it. [COLOR=#0000ff][code] [COLOR=#0000ff] <[/COLOR][COLOR=#800000]object[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]width[/COLOR][COLOR=#0000ff]="200"[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]height[/COLOR][COLOR=#0000ff]="200"> <[/COLOR][COLOR=#800000]param[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="movie"[/COLOR][COLOR=#000000] …

Member Avatar for darshanjeet
0
511
Member Avatar for sonia sardana

[code] <connectionStrings> <add name="ConnectionString" connectionString="Data Source=(local);Initial catalog=sonia;User ID=sonia;Password=sonia;" providerName="System.Data.SqlClient"/> </connectionStrings> [/code] [code] public partial class Frmgrid : System.Web.UI.Page { SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlDataAdapter da; DataSet ds; protected void Page_Load(object sender, EventArgs e) { try { da = new SqlDataAdapter("SELECT * FROM Products", conn); da.Fill(ds, "tb1"); DropDownList1.DataSource = ds.Tables["tb1"]; …

Member Avatar for guru_sarkar
-1
103
Member Avatar for Athersgeo

I'm in the process of trying to convert a website from classic ASP to .NET and while most of it has actually gone pretty well, this one particular page is driving me insane. It should, in theory, be simple: One input box and three dropdown lists (for day, month and …

0
68
Member Avatar for venkates.99

Hi, for one of trading application Im working for, my issue is that. Presently, data storage from online application to Excel is happen here(using TIcker for ex:{=BDDE|TKR!'\\<DEFAULT>\in@GLDM.1/FLD_BF_TE_HIGH,FLD_ASK_HIGH'} ). means we are storing data( data is not constant, its need to update for every change in online application to Excel sheel …

Member Avatar for venkates.99
0
113
Member Avatar for Pankaj18

Hi, I have problem, i have designed a web page in asp.net 3.5. I have a TextBox and a button, the User is expected to write some comment in the TextBox. The TextBox can also have a comment pattern including a (') on the click of button the data in …

Member Avatar for Kusno
0
86
Member Avatar for detasat

I have installed Microsoft Visual Studio 2008 , trial version and I am running it on VISTA SP1. The IIS server is up and running: I am able to run .php files and .asp files. In the C# tab , I am choosing File->New -> Project -> .NET Web Application. …

Member Avatar for Ramesh S
0
270
Member Avatar for mIssy_ricco

im using a datalist that display things that is called from datasource. in this list i have 2 panels and 2 buttons. the button is meant to hide the other panel. can anyone help me? i tried using itemcontrol but cant work..

0
65
Member Avatar for anup.maverick

HI, I am creating a Forum System, this is a small system, I want to know where to store the forum data(Messages posted by users), Should I store it in SQL database or a Text File. Please suggest something. Thanx....

Member Avatar for Ramesh S
0
70
Member Avatar for pt0909

do you have any good web site for how to develop reports in vs2003. I have a procedure ready in oracle.. What to do nex?? Pl. help Thaks

0
77
Member Avatar for EddieC

Keeping pace with Microsoft's latest releases, Xenocode this week unveiled Virtual Application Studio 2010, an update to its virtualization engine that supports Windows 7, simplifies app-publishing to the Web, and permits deployment to multiple platforms using a single executable, the company said. Microsoft this week began shipping Windows 7, and …

0
167
Member Avatar for diya0076

hello i am developing e-shopping website after adding items in cart.aspx...n by clicking on "FINALE PURCHASE" button control goes to the card.aspx --->click method of cart.aspx [CODE] protected void final_Click(object sender, EventArgs e) { Session["total"] = lbltot.Text.ToString();Response.Redirect("card.aspx"); } [/CODE] by clicking on submit in card.aspx [ICODE] protected void object sender, …

0
58
Member Avatar for Vampdee

I have an accelerator plugin that I downloaded and set up to run with my existing CRM system. This is an ASP.net project and when I run it on my computer from my VS2005 environment, it runs fine. It also runs fine in IIS on my machine that my development …

0
70
Member Avatar for shankbond

Hi, I have just switched to IIS 6.0 in windows server 2003 sp2 from IIS 5.1 in Windows xp ,I have problems with configuring the website on the IIS , I have given the directory path, given it IP address ,given default document. but when I try to access the …

0
55
Member Avatar for anup.maverick

Hi, I want to create a Forum System in asp.net 2.0, Its better that i download the open source from microsoft, if anybody has Link for this source code, then please give it to me.. Or Suggest what should i do? Thanx...

Member Avatar for Ramesh S
0
84
Member Avatar for Ana D.

Hi, I have the following code: [CODE=ASP.NET]<asp:FormView ID="myFormView" runat="server" SkinID="DetailsFormview"> <ItemTemplate> <table width="400"> <tr> <td align="right"> <b>This is the label: </b> </td> <td align="left"> <asp:Label ID="myLabel" Text="Label Text" runat="server" /> </td> </tr> </table> </ItemTemplate> </asp:FormView>[/CODE] And in the code behind (VB.NET): [CODE=VB.NET]Protected Sub BindFormView() Dim myLabel As Label = myFormView.FindControl("myLabel") …

Member Avatar for Ramesh S
-1
895
Member Avatar for mariaseban123

Dear programmers, My name is Thomas . I am a really bad situation now . Plz help me becoz i dont know VB .net . But suprisingly i had to look after a telephone call capturing system in a famous hotel in dubai . The s/w is developed using vb …

0
63
Member Avatar for gbhatnagar

Hi there, i have a sample aspx page, and my 2 users from different location are accessing the page at same time. On this page i did a response.write [code]sPrintString = sName & "_" & DateTime.Now.ToString("yyyyMMddHHmmssffffff") & "_" & objRandom.Next(1000, 999999) & "_" & objRandom.Next(1000, 999999) Response.Write(sPrintString)[/code] Sometimes it happens …

Member Avatar for Ramesh S
0
57
Member Avatar for Oskowich

I have a DataGrid that I create dynamically in codebehind. I add events to the datagrid, it works fine except of the SortCommand event. It will not fire. If I change my page_load to create and bind the datagrid everytime when a postback it works. But I don´t want to …

Member Avatar for Oskowich
0
260
Member Avatar for lancyb

Hi, I am new bee to asp.net. Can anyone help me in my project? I am stucked at one point. I am preparing one project for one retail shop. For billing purpose, as the user adds new items at the same time the program is generating rows dynamically whereas at …

Member Avatar for lancyb
-1
111
Member Avatar for fawadkhalil

Hi experts On my page i have displayed several ADs.When user click on specific AD details of that AD are displayed.How can i count number of times an AD being viewed and show count.

0
56
Member Avatar for sandeep_1987

Can somebody tell me how to set a cookies & how to retrive cookie values on the other page???? Why cookies are used???? If we have to pass info from one page to another,for dat we can use QuerySTring,y Cookies???

Member Avatar for sandeep_1987
0
105
Member Avatar for ejazmusavi

Hi! i have an asp.net project developed. Now i want to run it on lan. I mean i want to store all the asp files on the server and access it from the clients through browsers. what is the mechanism used for it vry vry vry urgent plz thnx in …

Member Avatar for jbennet
0
103
Member Avatar for sharad_85

hi i want that if i click on a particular row of a datagrid then rows lying below and above the clicked one, should swap.i mean to say that the row lying below the clicked one must reach above the clicked one and the rows lying above the clicked one …

Member Avatar for mail2saion
0
83
Member Avatar for sdamlo

Hi all, I'm working on little website and need help creating an if/then state to display different images. I want to have that if/then display one thing if rows where returned on the query and display something else if nothing was returned My database query is working and is running …

Member Avatar for mail2saion
0
83
Member Avatar for murali2joy

Hi I've a web application in ASP. I'm planning to develope the future pages in ASP.Net. Is there any way to use the same old ASP pages (without converting them to .aspx) and built the future pages in ASP.net.

Member Avatar for jimib
0
90
Member Avatar for RunTimeError

Hello, I've made a website but I've run into a problem. The site looks great when the user has the browser window maximized but when the browser is minimized an image I have on the right side of the screen is pushed over onto my background image. This is what …

Member Avatar for RunTimeError
0
176
Member Avatar for dvprez

I have a client that is posting a gzipped xml file on their site for me to download. I wrote the code the will unpack the gzip file. I'm stuck on how I copy the file from [url]http://www.ClientSite.com/feeds/20091020.xml.gz[/url] to my server. The file is 4mb, not sure if that makes …

Member Avatar for dvprez
0
109
Member Avatar for twilitegxa

I have the following form, but my data is not getting inserted into my database. Can anyone help? [code] <%@ Page Title="Dorknozzle Help Desk" Language="C#" MasterPageFile="~/Dorknozzle.master" AutoEventWireup="true" CodeFile="HelpDesk.aspx.cs" Inherits="HelpDesk" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <h1>Employee Help Desk Request</h1> <asp:Label ID="dbErrorMessage" ForeColor="Red" runat="server" /> <p> Station …

Member Avatar for Ana D.
0
213
Member Avatar for scvinod

Hi All, Well I have a WCF service in which I query an SQL datatable that is there in the LINQ to SQL class. While querying i used the select statement for eg: from c in db.sample1 select new{c.col1,c.col2} I'm not able to covert this into a List which i …

0
50
Member Avatar for prince23

hi, i need to group data for 2 groups in the report like: project name is dependent on client name , task name, start date is dependent on project name , i tried but we cannot do grouping more than 1 group in the report if any solution on it …

0
54
Member Avatar for gtyagi

hey friends, I want to ask that Request.MapPath and Server.MapPath are same or not???? Can u explain me it with the help of coding?

0
51
Member Avatar for san_crazy

I have following grid view control [CODE] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" style="z-index: 1; left: 59px; top: 1px; position: absolute; height: 158px; width: 658px" BorderColor="#0066FF" BorderStyle="Solid" PageSize="20" onselectedindexchanged="GridView1_SelectedIndexChanged" DataKeyNames="application_id"> <PagerSettings NextPageText="Next" PageButtonCount="20" /> <Columns> <asp:HyperLinkField NavigateUrl="view_forms.aspx" DataNavigateUrlFormatString="" DataTextField="application_id" HeaderText="Application ID"> <HeaderStyle Font-Names="Verdana" Font-Size="Small" HorizontalAlign="Center" /> <ItemStyle Font-Names="Verdana" Font-Size="Small" HorizontalAlign="Center" /> </asp:HyperLinkField> …

0
80
Member Avatar for neomatrix2

i am trying to wrap my validation summary for createuserwizard to a modalpopup but dont knw hw to to call the javascript on createuserwizard1_createusererror event javascript code on aspx [CODE] <script language="javascript" type="text/javascript"> // <! Javascript to show the modalpopup function ShowModalDialog() { Page_ClientValidate(); if(!Page_IsValid) $find('<%=AddUserVS_ModalPopupExtender.ClientID%>').show(); } </script>[/CODE] and i …

Member Avatar for Dhaneshnm
0
277
Member Avatar for nixx

Hi! I was wondering if anybody here could help guide me in the right direction for creating a gridview that contains rows that collapse with another gridview inside. I know we're not supposed to actually ask for codes but I haven't written one yet, I'm just asking for pointers :) …

Member Avatar for nixx
0
197
Member Avatar for drspock

Hi, I am developing an ASP .NET website that needs to create images using a custom font. Obviously, to do this, I need the font installed on the web server. As I am using a hosting site, and I have no direct access to the server the site will be …

Member Avatar for sknake
0
601
Member Avatar for Calvin Nguyen

Hi, Do you know a way of doing this? Namely, customize the look and size of the AsyncFileUpload's 'Browse' button while hiding its textbox. Thanks, Calvin

0
46
Member Avatar for EddieC

With the release of any new OS release, the question facing developers is whether or not to port existing applications. Often the answer hinges on two major factors: Will the operating system be widely adopted and what's downside of doing nothing? In the enterprise the decision is often made for …

Member Avatar for Shade01
3
648
Member Avatar for the_shark

[B][COLOR=DarkSlateBlue] Hi everybody, I am developing my senior project using ASP.NET. This project has basically a calendar subsystem to be used by the users of the system which will be designed (the calendar) as .aspx code. My concern is as follows: Since most of us are using the Microsoft Outlook …

Member Avatar for inspirekarthick
0
363
Member Avatar for balajicodeit

Hi, I have a C++ code which reads a file [vtk file - its similar to text file only]. and try to store it in string. here's the code: [code]String^ ParallelProjectionRenderer::GetVolumeDataAsString(String^ FileName) { vtkSmartPointer<vtkDataSetWriter> sWriter = vtkSmartPointer<vtkDataSetWriter>::New(); String^ FileName = "D:\\Users\\..."; char * sptName = static_cast<char *>(Marshal::StringToHGlobalAnsi(FileName).ToPointer()); sWriter->SetFileName(sptName); sWriter->Register(nullptr); sWriter->SetInput(this->dataSource); …

0
45
Member Avatar for Mongz

Hi guys, i've deployed asp application, now the problem im facing is it doesn't connect sql database. At first the database was attached with the application and it failled to connect the database, secondly i attached the database on SQL server and configured connection string still it doesnt connect. When …

Member Avatar for sknake
0
223
Member Avatar for mIssy_ricco

i want to store into a store procedure where a hyperlink from the gridview ir datalist can also function as a save button. the problem is that the list is from the database aswell. and there is a parameter from the table that i do not know how to pass.

Member Avatar for miracle007
0
60
Member Avatar for rajaseeth

Hi, I am showing a list of files for a user in an i frame. I getting all the files from the user's folder and the i use the <a href> tag like [CODE]<a href="http://localhost/files/filename.txt">filename.txt</a>[/CODE] When i click on the link, i am able to see the file contents in …

Member Avatar for reach_yousuf
0
116
Member Avatar for sanjanaa
Member Avatar for sanjanaa
0
121
Member Avatar for rtcary

I have ~10 years with PHP coding and for the apps I have constructed in recent times, I use a class for each table. These contain the connection and queries. I would like to follow the same approach, however I am not sure where to create them. Global.cs? Another question …

0
43

The End.