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.
No longer a Microsoft MVP, but still happy to answer your questions.
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!!!
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?
//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?
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 ) ...
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?
I've never been able to get that class to work properly
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.
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.
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.
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...
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