16,021,041 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 Visual Basic questions
View Javascript 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 mehalanandu (Top 16 by date)
mehalanandu
25-Aug-10 2:02am
View
public partial class Normal_File : Form
{
string fileDes,fileini;
int len;
public Normal_File()
{
InitializeComponent();
}
private void Normal_File_Load(object sender, EventArgs e)
{
btnSend.Enabled = false;
this.openFileDialog1.Multiselect = true;
}
private void btnOpen_Click(object sender, EventArgs e)
{
DialogResult dr = this.openFileDialog1.ShowDialog();
if (dr == System.Windows.Forms.DialogResult.OK)
{
foreach (string file in openFileDialog1.FileNames)
{
txtFilePath.Text = "";
openFileDialog1.ShowDialog();
txtFilePath.Text = openFileDialog1.FileName;
fileDes = openFileDialog1.FileName;
if (fileDes == "openFileDialog1")
{
lblError.Text = "";
lblError.Text = "Select a File first";
txtFilePath.Text = "";
btnSend.Enabled = false;
}
else
{
len = fileDes.Length;
fileini = fileDes.Substring(fileDes.IndexOf("\") + 1);
btnSend.Enabled = true;
}
}
}
this is was i tried,but it is not retrieved the files.......plz,help me.
mehalanandu
24-Aug-10 8:40am
View
n server and client applicatn
mehalanandu
6-Aug-10 3:33am
View
i replace tat but remains t sam pbm..wat i do sir sir
mehalanandu
6-Aug-10 2:54am
View
I attach the code ...
refer tat..plz
mehalanandu
6-Aug-10 2:52am
View
Source code:
<asp:gridview id="GridView1" runat="server" allowpaging="True" autogeneratecolumns="False"
="" cellpadding="3" cellspacing="2" onpageindexchanging="GridView1_PageIndexChanging" onrowcancelingedit="GridView1_RowCancelingEdit" onrowediting="GridView1_RowEditing" onrowupdating="GridView1_RowUpdating" pagesize="3">
<columns>
<asp:commandfield showeditbutton="True">
<asp:boundfield datafield="name" headertext="Name">
mehalanandu
6-Aug-10 2:21am
View
thanks for ur idea...i need the perfect code to updat the gridview ..plz help me
mehalanandu
5-Aug-10 8:47am
View
thanks for gven ... i tried tis code, error s not displayd but it s not updat t value
mehalanandu
5-Aug-10 8:44am
View
thanks for gven ... i tried tis code error s not displayd but it s not updat t value
mehalanandu
3-Jul-10 6:28am
View
thank u..........
mehalanandu
9-Jun-10 5:21am
View
thank u for ur response
mehalanandu
8-Jun-10 8:42am
View
thank u for ur response...actualy ,my Qn is after 6 month the datas are automaticaly deleted from sql2005 ...for tis only i used these codes...plz clarify my Qn
mehalanandu
8-Jun-10 7:48am
View
thanks....but it is not automaticaly generat ..tel me plz
mehalanandu
8-Jun-10 7:47am
View
Deleted
thanks....but it is not automaticaly generat ..tel me plz
mehalanandu
7-Jun-10 3:16am
View
thank u...
mehalanandu
7-Jun-10 3:15am
View
thank u ...
mehalanandu
7-Jun-10 3:11am
View
sorry......
Show More