15,910,877 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 dinidusoft123 (Top 14 by date)
dinidusoft123
6-Feb-12 12:33pm
View
thnx tousee4pk..
dinidusoft123
31-Jan-12 23:26pm
View
thanx.Hope you have solved the issue.
dinidusoft123
31-Jan-12 23:22pm
View
your welcome.For client retrival you can use jquery or Dojo like javascript library if you use web approach.So, MVC pattern is reccomeneded.But unfortunatly you are developing windows application. :(
dinidusoft123
30-Jan-12 4:21am
View
Yes. it is the solution...
dinidusoft123
24-Jan-12 23:29pm
View
awsome...very good article...you have explain all in all related background..
dinidusoft123
24-Jan-12 1:48am
View
no prob..hope you fix the code.Learners will become teachers one day!!!
dinidusoft123
24-Jan-12 1:45am
View
Deleted
no prob..hope you fix the code.Learners will become teachers one day!!!
dinidusoft123
23-Jan-12 4:09am
View
public DataTable Student
{
get
{
return ViewState["studentdata"];
}
set
{
ViewState["studentdata"] = value;
}
}
assign in data in the first page load
this.Student = dt;
dinidusoft123
9-Jan-12 4:15am
View
this is good article that discrib the solution i have proposed. Please follow this artical if you are using grid paging instead of DataPaging.
dinidusoft123
24-Nov-11 6:11am
View
it happen because of post back. each time any other page load that inherit from master page, master page will load. Please bind the data source and then try what happen.. let post your code and then we can find solution easily.
dinidusoft123
18-Nov-11 1:01am
View
of course.. it will change as.. a
string _strClickedMainMenuName = e.Item.Text;
and i will change it in solution also...
thnkx..
dinidusoft123
16-Nov-11 6:14am
View
have you try this one...
http://stackoverflow.com/questions/4864925/how-can-i-use-ftp-to-move-files-between-directories
dinidusoft123
16-Nov-11 3:12am
View
i think your ftp folder can not access because of credential problems.
Why do'nt you try another user instead of "anonimas"
try this and this is the simplest one
<pre>strDownloadFilepath </pre> is the directory that is store the downloaded file.
<pre> private void downloadFiles()
{
try
{
string strDownloadFilepath = string.Empty;
System.Net.WebClient webClient = new System.Net.WebClient();
//Set Network Credentials
webClient.Credentials = new NetworkCredential("Everyone", "");
//foreach (string strFile in files)
//{
//set full file path to download (Path+fileName)
strDownloadFilepath = @"c:\Newfolder";
//set the URI
System.Uri uri = new Uri("ftp://10.14.21.80/UKSALES/TechM.war");
try
{
//Download in sync
webClient.DownloadFile(uri, strDownloadFilepath);
}
catch
(WebException ex)
{
throw ex;
//write log
// }
// }
}
}
catch (WebException exx) { } //webClient.Dispose(); }
}</pre>
dinidusoft123
16-Nov-11 1:59am
View
convert e in to your object inside the rowbound event
if (e.Row.RowType == DataControlRowType.DataRow)
{
YourObject objYourObject = (YourObject)e.Row.DataItem;
then take its properties of object. for this example i took your CompanyName which you bound to the label. i consider you have object that has company name property.
and the length is how many characters there inside that bound field. if it exist the our maximum limit. then put in to the tool tip
objYourObject.CompanyName
}
Show More