Compiler Error Message: CS0246
We developed an application in 2.0; but our new hosting provider supports 
 
only 1.1. Can anyone point me to a link where we can migrate the application 
 
easily without rewriting the code? When we move the code to 1.1 environment, 
 
we are getting error: Compiler Error Message: CS0246 
 
Thanks 
 
Kumar Bhogaraju
Read Entire Conversation

& in Querystring
Hi, 
 
I need to pass a string having ampersand "&" in the query string like 
 
Company=Johnson&Johnson. 
 
How do I send it and receive it? 
 
TIA, 
 
Tanmaya
Read Entire Conversation

How can I display a runtime image in internet explorer? Please Help me....
Hi, All 
 
I want to develop a runtime image with "Bitmap" object in Asp.Net and then 
 
display it in my browser. 
 
I do it with this code : 
 
----------------------------- 
 
Bitmap bm=new Bitmap(100,100); 
 
Graphics g; 
 
g=Graphics.FromImage(bm); 
 
g.Clear(Color.White); 
 
g.DrawLine(Pens.Red,0,0,50,50); 
 
MemoryStream memo; 
 
memo = new MemoryStream(); 
 
bm.Save( memo, System.Drawing.Imaging.ImageFormat.Bmp ); 
 
memo.Close(); 
 
Response.BinaryWrite( memo.ToArray() ); 
 
----------- ...
Read Entire Conversation

ASP.NET 2.0 <=> Windows NT 4.0
Hi, 
 
I have a client request to build an asp.net application. This application 
 
shall be installed on a machine running Windows NT 4.0 SP 6a. As far as I 
 
found out framework 2.0 may not installed on any NT versions. But I hope I 
 
can at least use ASP.NET 2.0 in combination with Framework 1.1 and Visual 
 
Studio 2003. 
 
This should work but. 
 
- I do not want to convert my older projects (that are still productive) to 
 
ASP.NET 2.0 
 
- I want to have both Versions of ASP.NET side by ...
Read Entire Conversation

user control problem
For developing a portal i m using dot net 1.1 framework with VS2003 . 
 
i Have a datagrid on a usercontrol  i m using the control for displaying 
 
data on a page where a dataset is generated . how can i specify the data 
 
source of the grid (on the User control) from page ... 
 
Plz help 
 
Mukesh Agarwal 
 
mukesh@efextra.com
Read Entire Conversation

User control Problem
For developing a portal i m using dot net 1.1 framework with VS2003 . 
 
i Have a datagrid on a usercontrol  i m using the control for displaying 
 
data on a page where a dataset is generated . how can i specify the data 
 
source of the grid (on the User control) from page ... 
 
Plz help 
 
Mukesh Agarwal 
 
mukesh@efextra.com
Read Entire Conversation

How to access datagrid on web page from user control on the same page
Hi All 
 
have a web page named itemList.aspx. It contains a datagrid (id = 
 
datagrid1). The web form also have a user control named itemSearch.ascx. 
 
This user control have several options to search and a submit button. I 
 
want to change the datasource property of datagrid1 on the click of 
 
submit button. As the datagrid1 is on the itemList.aspx page and the 
 
submit button is on the user control, I connot access the datagrid 
 
directly. Is there any way to acess it from the .vb file of user control? 
 
Thanks 
 
Yanesh Tyagi
Read Entire Conversation

Treeview menu and nodes
Hello, I have a TreeView MenĂº  fullfilling form a web.sitemap file. When 
 
Click on a node its open the node and when I click in a secundary node 
 
calling another page, in this page the Treeview menu appear close, I would 
 
like that the opened node remain opened in the called page. 
 
How could I do this?
Read Entire Conversation

Image control
Hi, 
 
i'm writing a pice of code to fill the image control (in asp.net page) 
 
with a image uploaded on the server. 
 
The way I used is this: 
 
protected void cmdUpload_Click(object sender, EventArgs e) 
 
{ 
 
thumbUpload.SaveAs(Server.MapPath("/public/news/_tmp_news.jpg")); 
 
System.Drawing.Image largeImg = 
 
System.Drawing.Image.FromFile(Server.MapPath("/public/news/_tmp_news.jpg")); 
 
System.Drawing.Image thumbImg = 
 
largeImg.GetThumbnailImage(120, 120, null, IntPtr.Zero); 
 
largeI ...
Read Entire Conversation

Scoll a table cell.
How could I make a cell scroll. I have a cell that contains a datalist and I 
 
want to be able to have just the contents of the cell be scrollable; 
 
everything else for the table should remain constant. 
 
Any ideas how I would do this? 
 
TIA - Jeff.
Read Entire Conversation

Remote logon page like Microsoft passport
Hi, 
 
Our company has a database of users that we use to authenticate users on 
 
various websites. 
 
However, some of our customers want to develop a website on their own and 
 
use the same database authenticate users. 
 
At first I was thinking to create a WebService that accepts username & 
 
password and returns if it's valid or not. But it is *very* important that 
 
our customers don't know the password of these users. Because our customers 
 
could "log" the data send to the webservice ...
Read Entire Conversation

Imagebutton / Image bug?
Hello NG, 
 
Why in Asp.net 2.0 Image  / Imagebutton always renders a style 
 
'border-width:0px' even if Borderwidth is empty ? Is there a workaround ? 
 
thanx
Read Entire Conversation

What to use instead of frames?
I've got a page where I want to have three frames or areas. On the left - 
 
two rows - on the right a single area. Thing is - on the right - I need to 
 
load a web page for preview use. 
 
From what I've read, framesets are a bad thing. What can I do instead? 
 
I'm using .Net 2.0 
 
TIA - Jeff.
Read Entire Conversation

Russian website
Hi group, 
 
my question is both for asp.net. 
 
I have to do a website in Russian. 
 
So far, I have some problems with the russian character. 
 
Can someone give me good tips on how to make non ascii website with asp.net 
 
and C#? 
 
Thank you 
 
Gerald
Read Entire Conversation

How to determinate if a GridView is empty
Hi, 
 
How to determinate if a Gridview is empty?
Read Entire Conversation

GridView: Linked DropDownList
Hello, 
 
I am using a GridView with 2 dropdown boxes.  I would like to update the 
 
second dropdown based on the first dropdown selection.  Any help with this 
 
would be appreciated. 
 
Thanks in advance, sck10
Read Entire Conversation

DataGrid hyperlink field binding?
I am using a DataGrid, and have bound it to some data (not using the quick 
 
design way though -- i hard coded it using sql data adapter, command, etc). 
 
Anyways, I have a column that is a link, and i want it to link to a 
 
javascript function that i've declared in the same page, but in the markup. I 
 
set the field type as Hyperlink, and this is how i set it up: 
 
NavigateUrl: Javascript:showActivityDetails() 
 
DataNavigateUrlField: ActivityID 
 
DataNavigateUrlFormatString: Javascript:s ...
Read Entire Conversation

ApplicationID
Dear Friends, 
 
I was just wondering if there was a method by which I can get/check the 
 
existancy of an Application (aspnet_Applications table) in ASP.NET 2.0 using 
 
the applicationID instead of the ApplicationName?  In essence, I want to pass 
 
the ApplicationID instead of the ApplicationName and veryify whether it 
 
exists or not.  I want to do this so users of our system who sign up for our 
 
subscription service cannot guess the name of the application they will have 
 
access to.   ...
Read Entire Conversation

A symmetry issue
I don't know if this is the right place to post this, but any help regarding 
 
this simple(?) issue is appreciated. 
 
I need some symmetry between my development environment and my running web 
 
site. The root of my web site is http://www.mysite.com/ while the root of my 
 
development environment is http://localhost/myproject/. This means a lot of 
 
trouble since some url rewriting on my site forces me to use absolute 
 
referers in a href and img src attributes, which come to point to diff ...
Read Entire Conversation

How to compile the code behind .cs files
I started recently with asp.net 2.0 and I am currently trying to generate the 
 
mysite.dll by compiling the corresponding code behind .cs files. I am using 
 
the csc tool that displays one  CS0103 error message (The name '...' does not 
 
exist in current context) for every control id that I am using in the .ascx 
 
files ('...' is the id of the control). 
 
From one point of view this is logical since there are no anymore 
 
declarations for the page controls in the code behind file. However  ...
Read Entire Conversation

XmlSerializers, Structs, and Default Constructors
Hi, this is just out of curiosity really. I had a struct, requirements 
 
changed and I needed to inherit from it, so I made it into a class. 
 
After the change, XmlSerializer choked because XmlSerializable classes 
 
require a default constructor. Why don't structs?
Read Entire Conversation

'Procedure or function has too many arguments specified',,,ARGH!
I am using a SqlDataSource with a GridView and stored proc, and I have 
 
specified exactly the same update parameters for the SqlDataSource in 
 
exactly the same order as my stored proc.  Yet I keep getting the error 
 
'Procedure or function <stored procedure name> has too many arguments 
 
specified'.  Has anybody else come across this, and if so how do you 
 
prevent this annoying error? 
 
*** Sent via Developersdex http://www.developersdex.com ***
Read Entire Conversation

HTML Control and ASP.Net control question
Hi is there any way to assing database value to html control like 
 
txtaspcontrol.text=myvalue; 
 
same to html text control 
 
txthtmltextcontrol.text=myvalue through asp.net form i am using asp.net 1.1
Read Entire Conversation

Recent internet explorer update and smart navigation
Recently a new windows update for internet explorer was released which 
 
seems to have broken stylesheets with smart navigation. 
 
The first request for the page works fine, but any subsequent postbacks 
 
when smart navigation is applied results in internet explorer not 
 
applying the style sheet. 
 
Has anyone else had this problem and found a solution as at the moment 
 
I've had to disable smart navigation on the page.
Read Entire Conversation

Problems executing external application (.exe) using Windows service
hi mahesh 
 
i am gaurav from bangalore 
 
i have one problem ,can u please help me out. 
 
i  have one windows application and one windows service. 
 
from windows application i have to call one process "gpg" to encrypt 
 
my text file so i use 
 
system.Diagnostics.process class to make new process. 
 
my code is like this 
 
Process processEncryption = new Process(); 
 
processEncryption.StartInfo.WorkingDirectory = @"c:\Gnu\GNUPg"; 
 
processEncryption.StartInfo.FileName = "gpg"; 
 
processE ...
Read Entire Conversation