Click here to Skip to main content
15,896,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to check a checkbox in the onClick event of an asp:TextBox in a gridview Pin
Abhijit Jana21-Dec-08 21:04
professionalAbhijit Jana21-Dec-08 21:04 
GeneralRe: how to check a checkbox in the onClick event of an asp:TextBox in a gridview Pin
N a v a n e e t h21-Dec-08 20:44
N a v a n e e t h21-Dec-08 20:44 
GeneralRe: how to check a checkbox in the onClick event of an asp:TextBox in a gridview Pin
_AK_21-Dec-08 20:47
_AK_21-Dec-08 20:47 
GeneralRe: how to check a checkbox in the onClick event of an asp:TextBox in a gridview Pin
_AK_21-Dec-08 20:21
_AK_21-Dec-08 20:21 
AnswerRe: how to check a checkbox in the onClick event of an asp:TextBox in a gridview Pin
Parwej Ahamad21-Dec-08 19:41
professionalParwej Ahamad21-Dec-08 19:41 
QuestionC# syntax question Pin
Nostrom021-Dec-08 19:21
Nostrom021-Dec-08 19:21 
QuestionThe type or namespace Couldn't be Loded Pin
dibya_200321-Dec-08 19:21
dibya_200321-Dec-08 19:21 
AnswerRe: The type or namespace Couldn't be Loded Pin
StianSandberg21-Dec-08 19:59
StianSandberg21-Dec-08 19:59 
There are several reasons for this error:

The name of the type or namespace you are trying to use may be misspelled (including the correct case). Without the correct name the compiler is unable to find the definition for the type or namespace you have referred to in your code. This occurs most often because C# is case-sensitive and the correct casing has not been used when referring to the type. For example, Dataset ds; will generate CS0246; notice the s in Dataset is not capitalized.

If the error is for a namespace name, you may not have referenced (/reference) the assembly containing the namespace. For example, your code might contain using Accessibility;. However, if your project doesn't reference the assembly Accessibility.dll then you will get CS0246. See Add Reference Dialog Box for information on how to add a reference in the development environment.

If the error is for a type name, you may not have the proper using directive, or you have not fully qualified the name of the type. Consider the following line of code: DataSet ds;. To be able to use the DataSet type you would need to do two things. First, you need a reference to the assembly that contains the definition for the DataSet type. Second, you need a using directive for the namespace where DataSet is located. For example, because DataSet is located in the System.Data namespace, you would need the following statement at the beginning of your code: using System.Data;.

The second step is not required. However, if you omitted this step then it would require that you fully qualify the DataSet type when referring to it. Fully qualifying it means that you use the namespace and type each time you refer to it in your code. So, if you decided to skip the second step you would need to change your declaration code above to: System.Data.DataSet ds;.

If the error is for a non-type, you may have used a variable or something else when a type was expected. For example, in the is statement, if you use a Type object rather than an actual type, you will get this error.

http://msdn.microsoft.com/en-us/library/w7xf6dxs(VS.80).aspx[^]

---------------
www.serverside.no

GeneralRe: The type or namespace Couldn't be Loded Pin
Christian Graus21-Dec-08 20:03
protectorChristian Graus21-Dec-08 20:03 
GeneralRe: The type or namespace Couldn't be Loded Pin
dibya_200321-Dec-08 21:34
dibya_200321-Dec-08 21:34 
GeneralRe: The type or namespace Couldn't be Loded Pin
Christian Graus21-Dec-08 22:45
protectorChristian Graus21-Dec-08 22:45 
Question[Message Deleted] Pin
Alok Sharma ji21-Dec-08 19:02
Alok Sharma ji21-Dec-08 19:02 
AnswerRe: hi friends i am stuck with file uploading and retrivence, Pin
Christian Graus21-Dec-08 19:11
protectorChristian Graus21-Dec-08 19:11 
GeneralRe: hi friends i am stuck with file uploading and retrivence, Pin
Alok Sharma ji21-Dec-08 19:25
Alok Sharma ji21-Dec-08 19:25 
AnswerRe: hi friends i am stuck with file uploading and retrivence, Pin
Alok Sharma ji21-Dec-08 19:21
Alok Sharma ji21-Dec-08 19:21 
GeneralRe: hi friends i am stuck with file uploading and retrivence, Pin
Christian Graus21-Dec-08 19:27
protectorChristian Graus21-Dec-08 19:27 
GeneralRe: hi friends i am stuck with file uploading and retrivence, Pin
AprNgp21-Dec-08 20:40
AprNgp21-Dec-08 20:40 
GeneralRe: hi friends i am stuck with file uploading and retrivence, Pin
Alok Sharma ji21-Dec-08 21:17
Alok Sharma ji21-Dec-08 21:17 
GeneralRe: hi friends i am stuck with file uploading and retrivence, Pin
Christian Graus21-Dec-08 22:46
protectorChristian Graus21-Dec-08 22:46 
QuestionHow to set background image of button in asp.net? Pin
S a n d y21-Dec-08 18:04
S a n d y21-Dec-08 18:04 
AnswerRe: How to set background image of button in asp.net? Pin
Christian Graus21-Dec-08 19:10
protectorChristian Graus21-Dec-08 19:10 
QuestionQuerystring in Hidden Control Pin
kavitha_blueindia21-Dec-08 14:22
kavitha_blueindia21-Dec-08 14:22 
AnswerRe: Querystring in Hidden Control Pin
N a v a n e e t h21-Dec-08 15:10
N a v a n e e t h21-Dec-08 15:10 
GeneralRe: Querystring in Hidden Control Pin
kavitha_blueindia21-Dec-08 16:51
kavitha_blueindia21-Dec-08 16:51 
AnswerRe: Querystring in Hidden Control Pin
Christian Graus21-Dec-08 16:26
protectorChristian Graus21-Dec-08 16:26 

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.