13,153 Topics

Member Avatar for
Member Avatar for fradekie

Hi All, I have a problem with this piece of code: [code] string fileName = Label1.Text.Replace(" ","_") + ".jpg"; string localImageUrl = Server.MapPath(@"Images\" + fileName); [/code] The image does not show. When I ommit @Images\ abn move the images to the root of the project the image does show. any …

Member Avatar for fradekie
0
139
Member Avatar for arny1

Hi There, I had this post before,but I have some problems when I add a header for specific charcter set,and also add some additional data, here is my code; [code] Response.Clear(); Response.ClearHeaders(); Response.ClearContent(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=aname.xls"); string header = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<title></title>\n<meta …

Member Avatar for mail2saion
0
111
Member Avatar for progtick

do you find websites written in ASP.NET somewhat slower? are ASP controls like gridview, datagrid etc heavy on page? what are do's and don'ts of ASP.NET if it comes to speed and security?

Member Avatar for mail2saion
0
125
Member Avatar for progtick

I have googled it so many times, and I still feel clueless about what language I should go with. I feel comfortable in ASP.NET, and I have coded some small stuff here and there in PHP too. 1) I do not have visual studio 2008. I have Visual Studio 2005. …

Member Avatar for progtick
0
254
Member Avatar for priyamsc

Hi, I am doing forum project. I have a doubt, tat how to count the value. that is, all the data which displays in gridview. in tat i need to show the reply value [count the value from database].it means in database i hv field lke pid,pstreplyid,uid,tit,sub ...., in tat …

0
67
Member Avatar for nikhil31888

Is it possible to develop a case tool for asp.net like we have case tool for UML? the case tool will guide to generate asp.net based websites or simply asp.net codes. I want it to develop using Asp.Net. Please suggest is it possible to do this?

Member Avatar for Ramesh S
0
125
Member Avatar for jigvesh

Well, frankly I am new to ASP.NET and am required to make a project in it. I dont think that learning it will be tough as I already know ASP. Is ASP.NET just a step further from ASP??? Also could you please suggest me some ideas of which kinds of …

Member Avatar for shwethamadhav
0
144
Member Avatar for Pankaj18

Hi, In Gridview, it have three Auto generated fields and one template fields (CheckBox) which Header text is Select. This Allow to paging true and Page size 10. When we have more than 10 rows, so we have to select second indexing. But i have a problem that when i …

Member Avatar for Pankaj18
0
61
Member Avatar for static

Hello, I couldn't bind subreport's datasource which,itself is a subreport of another report. Can you guys help me out ? Thanks.

Member Avatar for blueidea
0
101
Member Avatar for lroyce

I am entering comments in the source view of my .aspx page and after several times saving, building and browsing, my comments are gone! I know the format is correct: <%-- My GRIDVIEW --%> I think it may have something to do with cut & paste but I'm not sure …

0
20
Member Avatar for riyas_26

Hello experts, I have one page default.aspx.. I inherit one master page Masterpage.master in default.aspx. I want to refresh only my master page but not the content place holder of default.aspx.. pls give me an advice. Thanks in advance..

Member Avatar for textbox
0
62
Member Avatar for riyas_26

I have one page which is placed in the Master Page. In the master page i have 1 dropdown and one GridView, dropdown is display the category , based on the dropdown list selection it will display the list of videos in the Grid. In the content page i have …

Member Avatar for ebookfinder
0
103
Member Avatar for S2009

Hi all, I am beginner learning ASP.NET with C# as the programming language. Currently I am working with HTTPSERVERUTILITY. I have created a web form named as Default.aspx and Default2.aspx: I have written the following coding : Default.aspx: In source view [code] <body> <form id="form1" runat="server"> <div> <asp:Button ID="Button1" runat="server" …

Member Avatar for ebookfinder
0
509
Member Avatar for coollife

Hi i am assigning binary value from sqltable to byte array The error i am getting is Cannot implicitly convert type 'System.Data.DataColumn' to 'byte[]' Byte[] bytes = (Byte[])ds.Tables["Photo_Det"].Columns["Photos"]);

Member Avatar for Ramesh S
0
85
Member Avatar for shabbir.hussain

Hello, I have an ASP.NET website that uses Windows Authentication to authenticate users against Active Directory. How can I implement a "Sign-On as Different User" just like SharePoint 2007? Our SharePoint site uses Windows Authentication as well and when you click to "sign-on as a different user" you are prompted …

Member Avatar for Ramesh S
0
118
Member Avatar for anuj_sharma

Hey guys, in my website the user uploads 3 random files. I've uploaded these in a folder on my machine using the FIleUpload Control. But now i want to give a link to the user to download the uploaded files. This is what i've done so far: [CODE]HyperLink link1 = …

Member Avatar for anuj_sharma
0
70
Member Avatar for kprashant1307

I want to send another ajax request when one request is in process to get the status of first request. This is working fine if no session data is set before calling the request. If I set data in session and then call both the request the second request gets …

0
61
Member Avatar for Abhishek_Boga

HI.. I'm Testing a Web application for Pharma Co. Im fresher into this field. So kindly help me out as in the above said title....

0
79
Member Avatar for vairajaig

Hello, How to develop opc com server without and how to detect opc com server list opc foundation? Please advice me Thanks

Member Avatar for kvprajapati
0
54
Member Avatar for ctyokley

Ok so i have a Function that connects to a database and runs the executeschaler() command. the executeschaler is attached to an object. When running the command it will search the database for ceartin information and return certain values, however it returns an error when i use the Try End …

Member Avatar for sknake
0
103
Member Avatar for anuj_sharma

Hey Guys, I have a textbox which had readonly property set to true. This textbox is used to take LongDate as it's input from a pop up calender. When i click on the button, it gives an error "String was not recognised as valid datetime" But when i set the …

Member Avatar for chithrasujith
0
114
Member Avatar for riyas_26
Member Avatar for kameswari
0
309
Member Avatar for coollife

Here i am converting image to binary and saving it in sqltable , i got this code from some website but NOW I DONT KNOW THE WAY TO RETRIEVE THE BINARY DATA FROM SQL TABLE AND CONVERT IT BACK TO **IMAGE FORMAT** AND DISPLAY IT IN WEBPAGE public byte[] FileToByteArray(string …

Member Avatar for peter_budo
0
117
Member Avatar for anuj_sharma

Hey guys, I'm trying to run a javscript on a page which also has a master page but it won't run. Please tell me the procedure for it.

Member Avatar for peter_budo
0
91
Member Avatar for anuj_sharma

I have a TextBox and a button in y asp.net page which also has a mster page file inherited. When i click on the button a calender pops up in a new window which does not have any master page file inherited. i want the selected date to go into …

Member Avatar for peter_budo
-1
98
Member Avatar for riyas_26

I have one page A . in that page i bind flash player in datalist. it plays all the video for 20 sec which are available in Data base.. if i click one video it redirect to page B playing the video.. I tried .. I want to know how …

0
64
Member Avatar for riyas_26

hello experts, Can u tel me what is .net framework in 2 lines? and also definition for INTROPERABILITY, ABSTRACT, METADATA, MANIFEST ?

Member Avatar for riyas_26
0
122
Member Avatar for suhasinishinde

Hello, i am designing a music site where i need to play the songs on click on the songname as we see in diffrent sites so can i get an help how can i get the song url using database. Thanks, Suhasini.

Member Avatar for Ramesh S
-1
215
Member Avatar for f_atencia

Hey peoples, im a complete newbie to ASP.NET. Basically i just need to validate a textbox so that only a 4 digit number can be inserted. Wat code should i use (im using VB as my source language and it's not a code-behind). This is the asp textbox validation attributes: …

Member Avatar for kameswari
0
147
Member Avatar for gsknaveen

how to capture keypress or keydown in textbox using asp.net with c#.net. can any one give me some help

Member Avatar for Ramesh S
0
45
Member Avatar for nikichu

asp.net c# sql server I have a web form that I use to insert data into a sql database. I want to know how to prevent inserting duplicate records into the database. Thanks. Ichu

Member Avatar for sknake
0
72
Member Avatar for Haimanti

hi, I'm trying to get daya into a new table via form. two fields in new table will pick up data based on look up tables. pls guide as to how do i proceed . The code is flashing conversion of Data type error. To avoid the datatype error, i …

Member Avatar for sknake
0
116
Member Avatar for mIssy_ricco

i've created a stored procedure to display a gridview. but in my DDL i only want to display the whole column instead of the whole row. can anyone help me?

Member Avatar for mIssy_ricco
0
86
Member Avatar for etm9413

Hi, this is really a beginner question: when I start debuging an ASP.net projet in VS, IE opens up to display the Default.aspx webpage and the following URL is in the adress bar: [url]http://localhost:52480/Default.aspx[/url]. My page including C# codebehind controllers works fine. If I stop debbuging and I try to …

Member Avatar for Ramesh S
0
365
Member Avatar for maurya_alld

Hi All, I have an asp.net page containing an image of size 200x200. Now I want that on click of this image open a new pop up window that show image of size 400x500. Please tell me this problem is in asp.net. Thanks in advance.

Member Avatar for DangerDev
0
44
Member Avatar for coollife

Hi here image is getting converted into binary and getting inserted into sqltable . [B]Now I want the opposite of it i mean i want to retrieve the binary data and display it as image. [/B] [code]protected void btnupload_Click(object sender, EventArgs e) { // set temporary variable for database connection …

Member Avatar for peter_budo
-1
156
Member Avatar for coollife

I have to do this in 3 hours. I know it calls for a good loud laugh , but i am a newbie. Question is I have to browse and upload images in the design part of sample.aspx page and in the code behind before uploading(inserting) into the sql table …

Member Avatar for Ezzaral
0
82
Member Avatar for Donish

Hi All, It's me again with another question! I have a table in .aspx file on each row inside each cells I have controls such as Label, TextBox and Field validator. So what I want to do is give a user a CheckBox control if the user checks the CheckBox …

0
86
Member Avatar for riyas_26

i have an another web config file inside another folder.. How can i get the connection string From the above web config file?

Member Avatar for sknake
0
63
Member Avatar for q8_dreamy

Hi I created web application using visual studio and I want to link it to html page using front page when I run the HTML page I got the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and …

Member Avatar for kameswari
-1
89
Member Avatar for ishamputra

Hello, some help here.. I have a gridview, at my home page, binded to a dataset. On the first column is a hyperlink, on which, if click it will go to another, page, Viewer Page, and passes the data to display on the other page pls advise, preferably in c#.. …

Member Avatar for kameswari
0
771
Member Avatar for anitha joe

Hello, I am just starting to do few web application and I have 2 questions to ask..Does anyone know how to count the number of files inside a folder? I am currently creating an application where I can upload images to my website. Whatever the image name is, it has …

Member Avatar for manojvit
0
1K
Member Avatar for thewebhostingdi

I have recently developed one website. After uploading this website to the server, I have received a few security exception on errors on some of my pages. I contacted my hosting provider on this and they have told that "it seems that your website is requiring asp.net full trust environment. …

Member Avatar for Webhost4life
0
154
Member Avatar for nverma

Hi I m using asp.net as front end and MS Access as backend,,,,,and most of the help on internet is regarding asp.net and SQL Server,,,,,from where can i get help reharding asp.net and MS Access

Member Avatar for Ramesh S
0
94
Member Avatar for progtick

Suppose I am using the code below to display image [CODE]<img runat = "server" width = "50px" height = "50px>[/CODE] However, the original size of the picture is 500 * 500. So, in terms of bandwidth load, would it be same as displaying the picture in 500*500 dimension or do …

Member Avatar for rblackmond
0
143
Member Avatar for riyas_26

I have done a project in .Net 2008 with .Net Framework3.0 and ajax3.0. I have to integrate SubText blog in my project.. But the Subtext blog has Framework1.0 and Ajax1.0. How can i integrate this SubText blog with my Project.. Help me in this regard.. Thanks in advance..

Member Avatar for riyas_26
0
76
Member Avatar for phper

I'm new to ASP.NET so i'm probably asking a very stupid question so apologies!! I have 4 pages in my site so far. I want all of them to display the same page title. E.g My Website Title > A Small Description of the page Do i need to create …

Member Avatar for riyas_26
0
290
Member Avatar for Antinaris

I want to use ASP.NET to do video stream. But I didn't know how to start. Any sugestions? Thanks

Member Avatar for Ramesh S
0
890
Member Avatar for mcgarry101

Hi, hopefully someone can help with this as it has been driving me crazy for a few days now. On my master page I have a databound (from oracle) menu. This menu will always be same when the user logs into my site. The other menu however is created on …

Member Avatar for Ramesh S
0
95
Member Avatar for etm9413

Hi, I want to display the result of a XLS transform to an ASP web page. The C# codebehind I actually have (triggered from button in the ASPX webpage) displays the result of a transform "sample1.xslt" to an HTML file "result.html"... I wonder what can I use instead of XmlTextWriter …

0
75

The End.