15,908,843 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 madhusudhan.k (Top 23 by date)
madhusudhan.k
29-May-12 2:22am
View
I think the problem is not with the ajax, but Iam not sure.
But this is sure that, while you pass the data from C# to procedure with 'N' Prefix (N'xyz') then it will work, but the table field datatype should be nvarchar.
madhusudhan.k
25-May-12 9:22am
View
use left outer join instead of inner join
madhusudhan.k
25-May-12 8:10am
View
His ques was, with different data types
( I think no need of more details on quen)
good ans of ryanb31, my 5
madhusudhan.k
25-May-12 7:35am
View
I think you need to give the complete path of image
madhusudhan.k
25-May-12 7:13am
View
any time :)
madhusudhan.k
23-May-12 9:20am
View
exec master..xp_cmdshell 'c:\progra~1\intern~1\iexplore.exe www.sqlteam.com'
Change the path to iexplore.exe as per your machine setup
madhusudhan.k
21-Apr-11 9:08am
View
then this site is bullsh*t, it is not good as like other site
madhusudhan.k
21-Feb-11 1:51am
View
I want to write Microsoft exam, which are all the basic certification for web developers
madhusudhan.k
29-Dec-10 8:20am
View
Deleted
Friends, please dont try to make depress others, instead give some suggestions if you know, else shut.
madhusudhan.k
22-Dec-10 6:12am
View
Hi John Simmons,
Still it is throwing the same exception.
When I select the line & go to quick watch means it shows the value as 'Expression cannot contains lambda expressions'.
Regards
Madhu
madhusudhan.k
22-Dec-10 6:00am
View
Hi Al-Farooque Shubho,
thanks for ur post. But still it is showing the same exception.
When I select the line & go to quick watch means it shows the value as 'Expression cannot contains lambda expressions'.
Regards
Madhu
madhusudhan.k
21-Dec-10 0:26am
View
Hi Blesson Mathew,
Thanks a lot, the links which you have sent is useful for me.
Regards
Madhu
madhusudhan.k
16-Dec-10 4:17am
View
Frndz other than this site is there any site to download free vedio tutorial for MVC.Net
madhusudhan.k
16-Dec-10 4:17am
View
Frndz other than this site is there any site to download free vedio tutorial for MVC.Net
madhusudhan.k
16-Dec-10 4:17am
View
Frndz other than this site is there any site to download free vedio tutorial for MVC.Net
madhusudhan.k
15-Dec-10 23:40pm
View
Hi ANSAI
Thanks for your post.
Regards
Madhu
madhusudhan.k
8-Dec-10 4:58am
View
Here they have written in console application, but i want in web application, Iam not getting how to read the excel sheet.
Please if you know then can help me.
Thanks
Regards
Madhusudhan
madhusudhan.k
8-Dec-10 4:47am
View
Thanks Sengupta, I have gone throw this link once before, but im not getting, please can guide me.
Regards
Madhusudhan
madhusudhan.k
7-Dec-10 6:02am
View
Hi Moshu,
This is my conection string:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path + ";Extended Properties=Excel 8.0;HDR=Yes;IMEX=1"
but Im gettg exception as: could not find installable ISAM.
Please can help me.
Thanks
Madhusudhan
madhusudhan.k
7-Dec-10 5:38am
View
Thanks a lot Moshu
madhusudhan.k
7-Dec-10 0:01am
View
Hi Marcus Kramer,
Thanks for ur help, but again its throwing exception as the file path is incorrect. When I give the correct file path means it will throw exception as I said u before.
Regards
Madhusudhan
madhusudhan.k
6-Dec-10 8:41am
View
This is the code what i have written in class library file(TableBS).the below method im calling in controller class using the object. Iam gettg the exception in ("SELECT * FROM [Sheet1$]", conn); as )excepted.
public string getTable()
{
XElement xml = null;
try
{
string strConnectionString ;
string filename = @"C:\Documents and Settings\madhusudhank\My Documents\Visual Studio 2008\Projects\AqumenSport\AqumenSportWeb\Content\Demo.xls";
if (Path.GetExtension(filename).ToLower() == ".xlsx")
{
strConnectionString = string.Format("Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=\"Excel 12.0", filename);
OleDbConnection conn = new OleDbConnection(strConnectionString);
conn.Open();
OleDbCommand dataCommand = new OleDbCommand("SELECT * FROM [Sheet1$]", conn);
OleDbDataAdapter da = new OleDbDataAdapter(dataCommand);
DataSet ds = new DataSet();
da.Fill(ds);
xml = new XElement("Table");
xml.Add(from data in ds.Tables[0].AsEnumerable()
select data);
}
else if (Path.GetExtension(filename).ToLower() == ".xls")
{
strConnectionString = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=Excel 8.0", filename);
OleDbConnection conn = new OleDbConnection(strConnectionString);
conn.Open();
OleDbCommand dataCommand = new OleDbCommand("SELECT * FROM [Sheet1$]", conn);
OleDbDataAdapter da = new OleDbDataAdapter(dataCommand);
DataSet ds = new DataSet();
da.Fill(ds);
xml = new XElement("Table");
xml.Add(from data in ds.Tables[0].AsEnumerable()
select data);
}
return xml.ToString();
}
catch (Exception ex)
{
Log(ex.Message.ToString(), "MenuBS", "getTable");
return "<Table/>";
}
finally
{
xml = null;
}
}
madhusudhan.k
2-Dec-10 7:37am
View
sorry to say that, actually i want to reload a particular control(DropdownList).
Iam designing the page in xslt using HTML.
Hope u understood..
Thanks
Madhusudhan
Show More