|
Is that dots are primarily a very small fish. Thus the wholes for a dot net need to be really small. This causes more resistance when dragged through the water, however. So when considering the purchase of a dot net look at the rigidity factor of the pole, the UV resistance of the netting, the size of the holes in the netting, as well as the inverse viscosity measure.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
1. georgemathew2@hotmail.com View details
Status Bronze. Member No. 4493066
View Member's Blog.
Awards
Messages Posted
6 - Poster
Articles Submitted
0 - Browser
Biography I am a biggner and I am focused on C# and Asp.Net
Birthday Sunday 21st February, 1982
Location India
Occupation Software development
Interests COM, C#, ASP.NET, VB.NET, Javascript
Member since Friday 7th September, 2007
(2 months)
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Have you ever bothered to visit
1) http://msdn.microsoft.com/net/[^]?
or
2) At least know what is the latest version of .NET currently that is available?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
what a namespace and can we use the namesoaces we create in other projects
|
|
|
|
|
Don't be helpless, use a search engine to find out what are namespaces. I quick google search revealed this good one[^].
|
|
|
|
|
|
A namespace is a space for names.
|
|
|
|
|
Really a humorous definition.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
it is one of the features of .NET;
the documentation will tell you all about it.
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use PRE tags to preserve formatting when showing multi-line code snippets
|
|
|
|
|
Going by a few latest of your forum posts, I guess you are looking at answers for a few beginners' interview questions. I would suggest you a read at
http://www.questpond.com/[^] since it hasa good comprehensive set of them.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
I want check connection.state in 50 milisecond.If connection.state not open in 50 miliseconds my programe will close.I use connection timeout=1 in connection string.But connection time out not to be useful.How connection check open or not open in 3 miliseconds???
Thanks...
|
|
|
|
|
What connection?? Connection to what??
YOu want it to connection in 50 milliseconds or less?? For most connection types that I know of, you're asking alot. 3 milliseconds?? Depending on what you're connecting to and what's between the two components, the connection is, most likely, not going to be made in that time.
|
|
|
|
|
If you want to tiemout a connection in milliseconds, then you're going to have to open the connection in it's own thread and use a timer that supports the resolution you want to kill that thread if the time limit is reached. The "Connection Timeout" property on the connection string can only handle seconds.
|
|
|
|
|
hi
I need a code for find all file and directory in specific directory
Can you help me?
regard
|
|
|
|
|
Take a look at Directory.GetDirectories (I think) and Directory.GetFiles.
Regards,
Rob Philpott.
|
|
|
|
|
|
mahdiehIR wrote: Can you help me?
Sure, why not. Read the top (first) post in the form titled "How to get an answer to your question". Pay attention to item #2.
|
|
|
|
|
Try this method:
public List<fileinfo> getAllFiles(DirectoryInfo currentDir)
{
List<fileinfo> collection = new List<fileinfo>();
foreach (FileInfo file in currentDir.GetFiles())
collection.Add(file);
foreach (DirectoryInfo dir in currentDir.GetDirectories())
collection.AddRange(getAllFiles(new DirectoryInfo(dir.FullName)));
return collection;
}
for example:
DirectoryInfo dirInfo = new DirectoryInfo(@"C:\exampleDest");
List<fileinfo> newList = getAllFiles(dirInfo);
newList now contains all FileInfo objects from the files in Directory exampleDest and it's subDirectories.
|
|
|
|
|
If you're only getting the subdirectories to parse files in all the subdirectories of a root directory, then I would suggest this.
DirectoryInfo rootDirectory = new DirectoryInfo(@"c:\Windows");
FileInfo[] fileList = rootDirectory.GetFiles("*.*", SearchOption.AllDirectories);
this will fill fileList with all the files found in rootDirectory and all the files in the subdirectories under rootDirectory.
So everything in C:\Windows and C:\Windows\*
|
|
|
|
|
Hey guys,
I m trying to emport some data from excel using Oledb.
wen i use this connectionstring everything works fine:
string sConnectionString = @" Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Book1.xls;Extended Properties=""Excel 8.0;HDR=YES;"" ";
Bud wen i try to pass the data source as parameter like this:
string sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;"+"Data Source="+ datasource+";"+"Extended Properties= Excel 8.0;"+"HDR=YES;";
then i get the error:
Could not find installable ISAM.
any idea how to pass the data source parameter in this case?
|
|
|
|
|
Djavid j wrote: string sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;"+"Data Source="+ datasource+";"+"Extended Properties= Excel 8.0;"+"HDR=YES;";
So you are already developing solutions even though you have not yet found the String.Format(...) function. Hmmm... interesting boring
|
|
|
|
|
You could always try:
string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|\\"
+ TheExcelFileYouNeed + "; Extended Properties = 'Excel 8.0;HDR=Yes;IMEX=1'"
As Mike said..you need to learn a bit more about strings...
Regards
Mick Curley
A craft is an enemy if not well learned.
|
|
|
|
|
I try to use the automatically arrange the edit box by putting it in a Tablelayoutpanel, but it does not work at all!
why? it is strange to me.
I want to confirm it works or not in VC#2005. It seems it works in VC++2005.
THANKS
|
|
|
|
|
Hi all
i have implemented a small application in which a button is placed named addRow when user clicks tht button a row is added in a grid view,whever user clicks it row will be added to the existing gridview i have done this with the following code now the problem is when i refresh the page the row is added or when i click any server control the row is also added bt i dont want this i just want the row shud be added when the button name addRow is clicked only.
any help will be greatly appreciated.thanks in advance
Code: ( cpp )
1.
protected void Page_Load(object sender, EventArgs e)
2.
{
3.
if (!Page.IsPostBack)
4.
Session["dt"] = null;
5.
6.
}
7.
protected override void OnPreInit(EventArgs e)
8.
{
9.
base.OnPreInit(e);
10.
if (Request.Form["hf"] == "true")
11.
addGVRow();
12.
hf.Value = string.Empty;
13.
}
14.
15.
16.
private void addGVRow()
17.
{
18.
DataTable dt = (DataTable)Session["dt"];
19.
int counter = 0;
20.
if (dt == null)
21.
{
22.
dt = new DataTable();
23.
dt.Columns.Add("seq");
24.
}
25.
else
26.
counter = dt.Rows.Count;
27.
DataRow dr = dt.NewRow();
28.
dr[0] = counter + 1;
29.
dt.Rows.Add(dr);
30.
gv.DataSource = dt;
31.
gv.DataBind();
32.
Session["dt"] = dt;
33.
}
and on aspx page for the button
<asp:button id="btn" runat="server" text="Add" onclientclick="javascript:document.getElementById('hf').value='tr ue';return true;">
|
|
|
|
|
Hi all
How i can read xls file with out using standard COM library of Excel(Microsoft Excel x.0 Object Library), because it work very slow. I try to export data from XLS file to XML file first and after
read this XML file, but unfotunately Excel 9.0 library has not this functionality.
Any idea please.
-- modified at 9:22 Thursday 29th November, 2007
|
|
|
|