|
You will also need permissions on each of the folders of course.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I have permission to access folders.
but..
How to set target folder's permission?
for manually, it always show Connect to.. dialog box for entering username and password. How to do this in c#?
thank
^^
|
|
|
|
|
how to remove access password using c# code
|
|
|
|
|
You ask the same questions over and over, and more often than not, use C# as your header. It's clear you have no idea what you're doing. Tell your boss or your client that they made a mistake hiring you, enrol in a Computer Science course and/or buy some C# books and establish some basic, fundamental programming skills before flooding this forum with your basic questions, over and over again.
The only way I can see to remove the password from an Access file is to use brute force to crack it. You plainly can't jsut remove the password, it's there for a reason.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: ask the same questions over and over
Oh gawd, another one of those
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Are you stupid???
how many times do you have to get shouted at before you realize that this kind of crappy question is not the way things are done here?
And people have told you that YOU CANT REMOVE THE F****ING PASSWORD BECAUSE THAT WOULD DEFY THE POINT OF HAVING ONE IN THE FIRST PLACE!!!!
just because you dont like the answers your getting doesnt mean the answer will MAGICALLY change if you ask the question over and over again!
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
What do you have in mind?
what you say in not enough to understand what you want.
Write down all you want to do ,title your question, and anyone can direct you to an answer!
Maybe showing your code can help!!!
|
|
|
|
|
Hello everyone,
What is the function of "D10" when use it as input parameter to Int.ToString? For example, someIntValue.ToString ("D10")? I can not find any document about this format input parameter from MSDN. Any documents?
thanks in advance,
George
|
|
|
|
|
|
Great Phillip!
I found the answer and the function is padding.
regards,
George
|
|
|
|
|
or:
int value = -16325;
Console.WriteLine("D10: {0:D10}", value);
|
|
|
|
|
Hi All,
i am having this code in c#:
if (type.IsSubclassOf(typeof(SqlDataAdapter)))
{
//doing sth here
}
what i am trying to do with this code is: when the "type" object returns "TableAdapter", the if statement will returns "true" and does certain process. however, when the "type" object does return "spClientSearch_Husband_WifeTableAdapter", but the whole if statement returns false hence it doesn't do the sth that i need the code to do.
can someone tell me is there anything wrong with it?
most appreciated.
Andie
|
|
|
|
|
I'm guessing you have an object and are trying to determine whether or not it's a DataAdapter by first getting its type.
But you don't provide all the code. The simpler solution is to use the is or as operator:
public void Fis ( object o )
{
if ( o is SqlDataAdapter ) ...
}
public void Fas ( object o )
{
SqlDataAdapter s = o as SqlDataAdapter ;
if ( s != null ) ...
}
|
|
|
|
|
Thanks a lot PIEBALDconsult, i had worked out another approach so this problem has been fixed.
|
|
|
|
|
I doubt it's better than is or as .
Care to show your solution?
|
|
|
|
|
First check to see whether "spClientSearch_Husband_WifeTableAdapter" is really a subclass of "SqlDataAdapter" or not.
Judge a man by his questions rather than his answers. - Voltaire
Blogial
|
|
|
|
|
Thanks a lot Blogial, i had worked out another approach so this problem has been fixed.
|
|
|
|
|
Is there a way to use a font with C# without installing it. I'm using C# to write headers into images so i can use different fonts for headers on my website but my web host does not have the font installed that i want. Given that i can't install it is there a way to use it without installing it?
|
|
|
|
|
Look at System.Drawing.Text.PrivateFontCollection .
|
|
|
|
|
I've never been able to get that class to work properly
Regards,
Thomas Stockwell
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.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hi
How Can I store images and retrive them to Data Grid View in database ??
|
|
|
|
|
There's two questions here, both easy to answer using articles on this site, or through google.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I assume that your questions are; "how i can store images in sql and display in C#".
1) you can´t display images in the gridview, but you don´t need it any way! just trigger your store procedure and display string, int or date data in the gridview and display the images in a picturebox .
2) if you want to know more in how to store images in sql just type "sql image store (whatever)" in search article, and you will get some answers! Theres good articles about it. It´s not hard.
Good Luck
|
|
|
|
|
create a folder in your application folder and store images into that instead of storing them into database, in your database store that image's URL.Now to retrieve them in gridview control bind the gridview's column using Eval method.
for example
in between <asp:gridview xmlns:asp="#unknown">....
<asp:image runat="server" id="myimage" imageurl="<%#Eval(" your="" image="" url="" ")#%>"="" xmlns:asp="#unknown">
use all those formatting like columns and itemtemplates and all the stuff this is just a clue,so obviously a bit messy but if u don't understand ask anything...
|
|
|
|
|
Hi,
I have 'SQL Server 2000' on 'Windows Server 2003'.
From my application that installed on another computer (with windows XP), I want to connect to my DB (on first computer) but this error appears :
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections
I don't installed SQL Server 2005 at all!
Best wishes
|
|
|
|