|
Hi all'
I have added a New item (class named class1.cs) with the same namespace.when I used the code below
"class1 s=new class1()"
the object can't be created
ERROR:error(class1.cs is inaccessible due to protection level)
reply me HURRY!.
Regards,
chanzeb chaudhary.
|
|
|
|
|
Please paste the class1 code...
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Filing
{
partial class fetchSchema
{
fetchSchema()
{
}
}
}
Regards,
chanzeb chaudhary.
|
|
|
|
|
The class needs to be public I reckon.
public partial class fetchSchema
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Instead of partial class fetchSchema
public class fetchSchema
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
Hi All
How can I programming an button by click it the user will open a file written in .html stord on a computer
>>>>>>>>>>>>>>>>>>THANKS<<<<<<<<<<<<<<<<<
|
|
|
|
|
paste the code below in the click event of the code....
"System.Diagnostics.Process.Start("Full Path Of The File Along With Extension");"
|
|
|
|
|
You might want to err... remove some of that blank space there
My current favourite word is: PIE!
I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for.
-The Undefeated
|
|
|
|
|
i have two dataadapter and i need to execute method update by transaction .
if hase one error reject all update?
123
|
|
|
|
|
If both DataAdapters use the same Connection they can use the same Transaction.
|
|
|
|
|
Hello experts...
I make a function and above that I write too many comment about it. like
//**********************************************
//Purpose :
//Input :
//Output :
//Created By :
//Creation date :
//**********************************************
private function ABC(.....)
{
...
..
...
}
When I enable the outlining then my code looks like...
+//********************************[...]
+private function ABC(.....)[...]
I want the function should close but the comment not how to achive this...?
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
You would need to activate the XML commenting by using the triple slash /// instead of the comment double slash //
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
It doesn't solved my problem. Still same problem is occurred. Any other suggetion...?
I'm using Ctrl+M, M
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
You would have to manually navigate to the comments and close their outlining.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|
|
Any other solution. Because same as every programmer I have Copy/paste power with me. And I am working in .NET so ctr+M, M automatically pressed after some time
Actually It is in my habit.
Either I have to change my habit or you suggestion is help full.
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
|
Hi!
Did you look at the documentation about CAS and security attributes/permissions?
One of them could be relevant for you: StrongNameIdentityPermission[^]
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Ya I see it but dosen't seems to prevent the code for unauthorized use.
I want to protect my DLL's.
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
Pankaj - Joshi wrote: I see it
Did you understand it as well? Using this permission you can make sure that only callers with a certain strong name signature can call your code. You'll have to sign all your assemblies with this strong name, so they are allowed to use the code.
Someone else doesn't have the same private/public key pair neccessary for signing, so it seems to be exactly what you want.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Sorry for previos post.
I read it but I wans unable to create the code for this. I read too many articles but those all are bit confusing.
Any simple link to visit...?
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
i am having one gridview in my application where i am displaying one linkbutton column in it. By clicking on the link some xxxx.wav will be downloaded and directly played in the media player.
Code:
<ItemTemplate>
<a href='feedback/<%#Eval("Filename")%>' target="_self"><%# Eval("FeedbackTitle") %></a>
</ItemTemplate>
what i want is, to show some xxx.gif image to the user at the time of downloading it will be useful for larger files.
if anybody has a solution for this please do let me know.
with warm regards
sunilwise
-- modified at 0:08 Saturday 1st December, 2007
|
|
|
|
|
I have to create a relationship line in c# windows application. Like Microsoft Access Relationship tool creates line when we drag items it creates a line to show the relationship
Avaneet Kumar
Software Engineer
|
|
|
|
|
You need to draw that stuff yourself. Handle the paint event, draw stuff, handle mouse events, it's all on you.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am developing an application here i need to implement triggers using C#.NET and SQL Server 2000 so i want to know how to implemet these triggers
|
|
|
|
|
These are 2 completely different paradigms. Database triggers are implemented purely as SQL statements on the database. C# "triggers" would be events and again these are in the realm of C# and C# applications/libraries alone. Mixing the two would only work on the downstream by triggering an event in your C# application that would perform a certain task/ call a certain procedure on the DB (C# -> DB).
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
"There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib
"Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"
|
|
|
|