Click here to Skip to main content
15,908,172 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Grid view selection problem Pin
Steve Echols25-Mar-08 20:40
Steve Echols25-Mar-08 20:40 
GeneralRe: Grid view selection problem Pin
SreejithAchutan25-Mar-08 22:13
SreejithAchutan25-Mar-08 22:13 
QuestionHow to access an image file located in shared folder Pin
umauppala25-Mar-08 16:55
umauppala25-Mar-08 16:55 
AnswerRe: How to access an image file located in shared folder Pin
Christian Graus25-Mar-08 18:49
protectorChristian Graus25-Mar-08 18:49 
GeneralRe: How to access an image file located in shared folder Pin
umauppala26-Mar-08 10:55
umauppala26-Mar-08 10:55 
GeneralRe: How to access an image file located in shared folder Pin
Christian Graus26-Mar-08 11:41
protectorChristian Graus26-Mar-08 11:41 
AnswerRe: How to access an image file located in shared folder Pin
Abhijit Jana25-Mar-08 19:11
professionalAbhijit Jana25-Mar-08 19:11 
QuestionWeb Forms - Creating a DLL from cmd Pin
rakanishuu25-Mar-08 16:11
rakanishuu25-Mar-08 16:11 
I am a young programmer trying to create a DLL Code-Behind. I have found a lot of information about doing this in VB, but not so much with the command prompt. I think it is an easy fix with the <% informtion %> [this is called....header information, meta data?] but cannot seem to get it. Frown | :(

Here is what I have from the command prompt:
C:\Windows\Microsoft.NET\Framework\v2.0.50727>csc /target:library c:\file.cs

I did make sure the file.cs and file.aspx file are in the c:\ location.

From the .aspx file:
<![CDATA[<%@ Page Inherits="alpha.wp3" Language="C#" Debug="true" %>]]><br />
<br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml"><br />
<head runat="server">...</head></html>



From the .cs file:

using System;<br />
using System.Collections;<br />
using System.Configuration;<br />
using System.Data;<br />
using System.Web;<br />
using System.Web.Security;<br />
using System.Web.UI;<br />
using System.Web.UI.HtmlControls;<br />
using System.Web.UI.WebControls;<br />
using System.Web.UI.WebControls.WebParts;<br />
<br />
using System.Collections.Generic;<br />
using System.ComponentModel;<br />
using System.Drawing;<br />
using System.Text;<br />
<br />
namespace alpha<br />
{<br />
    public class wp3 : System.Web.UI.Page<br />
    {...



The command prompt throws a ton of errors for my values in the aspx file, such as:
c:\file.cs(102,30) error CS0103: The name 'inreal' does not exist in the current context
c:\file.cs(103,31) error CS0103: The name 'inimaginary' does not exist in the current context

These values are in the .aspx file, like these:
<asp:textbox id="inReal" value="0" runat="Server" /><br />
<asp:textbox id="inImaginary" value="0" runat="Server" />


I am sorry this is to long and perhaps scatter-brained. Since I am so new to C# and .net I am trying to be descriptive.
GeneralRe: Web Forms - Creating a DLL from cmd Pin
Christian Graus25-Mar-08 16:18
protectorChristian Graus25-Mar-08 16:18 
Generaldisabled submit button Pin
Xarzu25-Mar-08 15:07
Xarzu25-Mar-08 15:07 
GeneralRe: disabled submit button Pin
Christian Graus25-Mar-08 15:55
protectorChristian Graus25-Mar-08 15:55 
QuestionRe: disabled submit button Pin
Jesse Squire25-Mar-08 15:56
Jesse Squire25-Mar-08 15:56 
QuestionUsing SMTP to send mail Pin
Mike Hankey25-Mar-08 11:23
mveMike Hankey25-Mar-08 11:23 
GeneralRe: Using SMTP to send mail Pin
led mike25-Mar-08 11:36
led mike25-Mar-08 11:36 
GeneralRe: Using SMTP to send mail Pin
Mike Hankey25-Mar-08 11:46
mveMike Hankey25-Mar-08 11:46 
GeneralRe: Using SMTP to send mail Pin
Vasudevan Deepak Kumar25-Mar-08 19:17
Vasudevan Deepak Kumar25-Mar-08 19:17 
GeneralRe: Using SMTP to send mail Pin
Mike Hankey26-Mar-08 1:53
mveMike Hankey26-Mar-08 1:53 
GeneralQuirky Links and Form Pin
ffowler25-Mar-08 7:53
ffowler25-Mar-08 7:53 
GeneralRe: Quirky Links and Form Pin
pmarfleet25-Mar-08 9:39
pmarfleet25-Mar-08 9:39 
GeneralAuthenticating Web App Using AD Pin
dboy22125-Mar-08 7:40
dboy22125-Mar-08 7:40 
GeneralRe: Authenticating Web App Using AD Pin
Abhijit Jana25-Mar-08 19:05
professionalAbhijit Jana25-Mar-08 19:05 
Questionexporting gridview data into excel, i got this error. Help~ Pin
Dong Kim25-Mar-08 6:16
Dong Kim25-Mar-08 6:16 
GeneralRe: exporting gridview data into excel, i got this error. Help~ Pin
Elizma25-Mar-08 18:12
Elizma25-Mar-08 18:12 
QuestionRe: exporting gridview data into excel, i got this error. Help~ Pin
Dong Kim26-Mar-08 3:57
Dong Kim26-Mar-08 3:57 
QuestionHow to read xml data and make it as HTML table data? Pin
chakran25-Mar-08 4:14
chakran25-Mar-08 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.