15,900,511 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Hawkeye101 (Top 32 by date)
Hawkeye101
19-Aug-13 0:50am
View
I updated the Question Can u check on it and Help me out??
Hawkeye101
19-Aug-13 0:35am
View
Yes i have a unique id for #mainbox...i aded this to the click event!
Hawkeye101
18-Aug-13 23:59pm
View
@Sergey I tried this!
$("#mainbox").click(function () {
$("#mainbox").animate({
width: "70%",
opacity: 0.4,
marginLeft: "0.6in",
fontSize: "3em",
borderWidth: "10px"
}, 1500);
});
But it doesnt animate!
Hawkeye101
18-Aug-13 14:46pm
View
Ill check on it and get back asap
Hawkeye101
13-Aug-13 6:07am
View
I did it like this!
function clearCircle() {
$('.circle').css('background-image', '');
the backgroud image goes of...but i need to get the circle to the same size as it was..how do i code that??
Hawkeye101
13-Aug-13 5:45am
View
Can you show me a example for this relevant code! i would really appreciate it!
Hawkeye101
13-Aug-13 5:36am
View
Is it possible to do it using a variable???
Hawkeye101
30-Jul-13 7:04am
View
Thanks but i dont need to read an external xml file i need to hard code the values and display them in a string list! thats it!
Hawkeye101
30-Jul-13 6:02am
View
I mean for to handle with the XML file
i need to only use XElement when handling with the XML file!
Hawkeye101
30-Jul-13 1:38am
View
@SAKryukov Any Help??
Hawkeye101
29-Jul-13 5:36am
View
There wasnt any other way to interpret this question! Anyway ill try this! Thanks!
Hawkeye101
25-Jul-13 0:42am
View
I updated the question just check a bit! :)
Is this format ok???
FileSystemWatcher watcher = new FileSystemWatcher();
watcher.Path = "yourpathhere";
watcher.NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite
| NotifyFilters.FileName | NotifyFilters.DirectoryName | CreationTime;
watcher.Filter = "*.csv"
Hawkeye101
24-Jul-13 6:12am
View
Thanks!
Hawkeye101
24-Jul-13 5:23am
View
Need a Help!
How do i write this data into a SQL database....
this is SQL query...
SELECT TOP 1000 [id]
,[code]
,[buying]
,[selling]
FROM [test].[dbo].[Currency]
This is the Code! i need to submit the [0] element to code column,[1] Element to buying column and [2] Element to Selling column.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace ConsoleApplication10
{
class Program
{
static void Main(string[] args)
{
var reader = new StreamReader(File.OpenRead(@"c:\users\afshandc\documents\visual studio 2012\Projects\ConsoleApplication10\ConsoleApplication10\ex.csv"));
List<string> headers = new List<string>();
while (!reader.EndOfStream)
{
var line = reader.ReadLine();
var values = line.Split(',');
Console.WriteLine(values[0].ToString() + "," + values[1].ToString() + "," + values[2].ToString());
}
Console.ReadLine();
}
}
}
Hawkeye101
24-Jul-13 3:04am
View
Thanks!!
Hawkeye101
24-Jul-13 1:02am
View
Diddnt work mate!
This is my csv format!
USD,125.49,132
CAD,124.47,135.98
BHD,325.84,686.98
DKK,21.72,23.84
SEK,15.7,16.75
CHF,134.24,147.11
JPY,1.5493,1.6625
KWD,417.01,934.14
ZAR,11.14,28.18
NOK,21.24,23.35
HKD,15.97,17.06
OMR,316.59,670.88
QAR,33.76,71.14
SAR,27.78,58.62
AED,33.02,70.52
NZD,100.63,109.81
SGD,85.37,89.5
INR,0,3.0896
MYR,39.33,85.3
GBP,203.03,215.54
AUD,129.59,138.96
THB,3.3,7.16
BND,99.22,209.26
EUR,164.59,175.44
JOD,158.81,344.08
CNY,17.38,21.43
Hawkeye101
24-Jul-13 0:59am
View
It didnt work! This is my csv format!
USD,125.49,132
CAD,124.47,135.98
BHD,325.84,686.98
DKK,21.72,23.84
SEK,15.7,16.75
CHF,134.24,147.11
JPY,1.5493,1.6625
KWD,417.01,934.14
ZAR,11.14,28.18
NOK,21.24,23.35
HKD,15.97,17.06
OMR,316.59,670.88
QAR,33.76,71.14
SAR,27.78,58.62
AED,33.02,70.52
NZD,100.63,109.81
SGD,85.37,89.5
INR,0,3.0896
MYR,39.33,85.3
GBP,203.03,215.54
AUD,129.59,138.96
THB,3.3,7.16
BND,99.22,209.26
EUR,164.59,175.44
JOD,158.81,344.08
CNY,17.38,21.43
Hawkeye101
23-Jul-13 4:40am
View
I updates the question! Ok now i can Read the Excel file in the console window! Ill try writing it to the SQL database! Ill let u know if help is needed Thanks!
Hawkeye101
23-Jul-13 3:59am
View
Thanks!
Hawkeye101
23-Jul-13 3:57am
View
Any help??
Hawkeye101
23-Jul-13 3:27am
View
Alright Sorry! Ill edit the question
Hawkeye101
23-Jul-13 3:20am
View
Thanks ill check it out!
Hawkeye101
23-Jul-13 3:19am
View
I didnt Except anyone to do my work! I did it using OLEDB but cannot get it done with this!
Hawkeye101
23-Jul-13 2:54am
View
@manikandan Your example is for web application, i prefer Console or windows form application example! And i dont prefer to use other libraries only the ExcelDataReader v2.1 Library. Any help?
Hawkeye101
18-Jul-13 4:08am
View
Thanks but i already got a solution! Appreciate your help! :)
Hawkeye101
18-Jul-13 4:07am
View
It is not doing Homework! I tried something over and over again, but cldnt thats why i posted my code and asked for help! and yes there is lot more work to do!
Hawkeye101
18-Jul-13 2:41am
View
Alright! :)
Hawkeye101
18-Jul-13 2:36am
View
Thanks a lot!!!! :) :)
Hawkeye101
18-Jul-13 2:26am
View
Yup Needed to get it perfectly as i wanted :( Thats the reason! Any help??
Hawkeye101
18-Jul-13 1:44am
View
@midnight_ Thanks got it done! :)
Hawkeye101
17-Jul-13 5:24am
View
Still ddnt work!Throws an XML exception unhanded error!!
Hawkeye101
17-Jul-13 2:35am
View
This is My code but it isnt writing the info to the text document!
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
namespace ReadXMLfromFile
{
///
/// Summary description for Class1.
///
class Class1
{
static void Main(string[] args)
{
XmlTextReader reader = new XmlTextReader ("Visitors.xml");
while (reader.Read())
{
switch (reader.NodeType)
{
case XmlNodeType.Element: // The node is an element.
Console.WriteLine (reader.Value);
break;
case XmlNodeType.Text: //Display the text in each element.
Console.WriteLine (reader.Value);
break;
}
}
Console.ReadLine();
var xmlContent = File.ReadAllText(@"C:\Users\Geeth\Desktop\First Project\ConsoleApplication1\ConsoleApplication1\Visitors.xml");
File.WriteAllText(@"C:\Users\Geeth\Desktop\First Project\ConsoleApplication1\ConsoleApplication1\Written XML.txt", xmlContent); }
}
}
Show More