15,991,071 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 .NET 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 sathish.jampala (Top 21 by date)
sathish.jampala
7-Mar-11 7:33am
View
hello sir. thanks for ur quick reply.
this is showing the same output. no files are displaying in gridview.
gridview is displaying empty with heading only.
sathish.jampala
7-Mar-11 0:04am
View
tanks for ur reply.
i have a folder contained multiple textfiles. i want to read those files and bind to gridview. i write following code
string[] files = Directory.GetFiles("E:\\DOTNET APPLICATIONS\\Asp.net\\TextfilestoGrid\\TextFolder\\");
foreach (string file in files)
{
Stream msgStream = File.Open(file, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(msgStream);
string str = sr.ReadToEnd();
//ArrayList al = new ArrayList();
DataTable dt = new DataTable();
dt.Columns.Add("TextFiles");
DataRow dr = dt.NewRow();
dr["TextFiles"] = str;
dt.Rows.Add(dr);
sr.Close();
msgStream.Close();
GV.DataSource = dt;
GV.DataBind();
when ever i debug the application, all files are coming to stream object but they are not binded to gridview. output is displaying only one columnname that is "TextFiles" with no data.
plz help me;
thanking you.
sathish.jampala
6-Mar-11 8:15am
View
thank you sir.
sathish.jampala
1-Mar-11 5:26am
View
thanks for ur quick reply.
how to create a project in my website sir.
sathish.jampala
1-Mar-11 5:25am
View
thanks for ur quick reply.
sathish.jampala
23-Feb-11 3:24am
View
thank you sir.
sathish.jampala
22-Feb-11 7:03am
View
thanks mkgoud and sunasara imdadhusen
sathish.jampala
22-Feb-11 6:07am
View
thank you sir. but the label is displaying fraction of seconds.
sathish.jampala
17-Feb-11 9:54am
View
thank you sir. thanx for your reply.
sathish.jampala
17-Feb-11 5:24am
View
thanks for giving ur reply. forget about my website session timeout period. now i want to set session time out period for a particular control like textbox. how can i change that. this is the question asked TCS.
sathish.jampala
7-Jan-11 8:08am
View
thanks for ur quick reply
sathish.jampala
7-Jan-11 8:08am
View
thanks for ur quick reply
sathish.jampala
7-Jan-11 8:08am
View
thanks for ur quick reply
sathish.jampala
7-Jan-11 8:08am
View
thanks for ur quick reply
sathish.jampala
2-Jan-11 5:48am
View
thank you sir. for ur quick reply.
sathish.jampala
2-Jan-11 5:26am
View
Thank you sir.
i dont understand ur language. but ur reply was make me to get an idea. that i remoe the "" marks. inside the open and close peranthasis. problem is solved.
thankyou very much.
sathish.jampala
1-Jan-11 10:55am
View
thank you sir. thanks for ur quick reply. but it is not working.
i make EnableEventValidation="false" and
protected override void Render(System.Web.UI.HtmlTextWriter writer)
{
ClientScript.RegisterForEventValidation("BtnAdd ");
base.Render(writer);
}
if i tri this page is not postback.
give me another solution please.
thanking you.
sathish.jampala
30-Dec-10 22:55pm
View
hello sir. i tried in this way also. but it is displaying empty in the dataset. string does not displaying on label.
is there any solution plz tell me.
sathish.jampala
30-Dec-10 22:54pm
View
hello sir. thanks for ur reply.
sathish.jampala
30-Dec-10 14:18pm
View
hello sir. i tried what ever u say.
but dataset is displaying empty
sathish.jampala
29-Dec-10 23:57pm
View
thankyou sir.
Show More