15,746,813 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 Javascript questions
View C++ questions
View Python questions
View Java 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 Karthik Achari (Top 46 by date)
Karthik Achari
1-Jul-14 2:19am
View
Thanks a lot for spending your valuable time.
consider for bulk data,i want to delete rows having same col2 value
Karthik Achari
1-Jul-14 2:18am
View
consider for bulk data,i want to delete rows having same col2 value
Karthik Achari
5-Jun-14 7:35am
View
Thanks a lot
Karthik Achari
5-Jun-14 6:39am
View
Can you help me how to append hash value in to database because i am a begineer to database and C#
Thanks for your valuable suggestion
Karthik Achari
5-Jun-14 6:21am
View
Ok
Karthik Achari
5-Jun-14 6:15am
View
i am importing data from text file and updated in the grid view and database but i want to know how many new records are imported(irrespective of old records)
Thanks
Karthik Achari
4-Jun-14 7:34am
View
I want to eliminate data row wise
Karthik Achari
4-Jun-14 2:39am
View
Can you give me suggestion,
How can i insert data from text file to database table with out using gridview
Karthik Achari
4-Jun-14 2:38am
View
Can you give me suggestion,
How can i insert data from text file to database table with out using gridview
Karthik Achari
20-Mar-14 2:37am
View
yes i want all the cell of gridview act like buttons
Karthik Achari
13-Mar-14 6:10am
View
okThanks a lot for spending your valuable time.
Karthik Achari
5-Mar-14 3:46am
View
Thanks for spending time to solve this problem.
I am not yet tested the code,after testing the code i can reply.
Karthik Achari
5-Mar-14 2:02am
View
Iam sending sample data please go through it and help me.
Gridview:
01 A aa
02 B bb
03 C ee
After importing from excel,I want to create text document
If record is exists
Status= Already exists
Else
Saved Successfully.
Textdocument:
Column1 Column2 Status
01 A Already exists
02 B Already exists
03 C Already exists
04 D Saved successfully
Karthik Achari
5-Mar-14 1:44am
View
can you help me,i want to write data from gridview.
Thanks.
Karthik Achari
4-Mar-14 5:33am
View
i want in windowsform application,can you help me to solve this problem.
Karthik Achari
25-Feb-14 7:50am
View
I am trying to insert data rowwise i.e.,for row1 insert all column elements, lly for row2
Karthik Achari
25-Feb-14 7:47am
View
can you help me how to insert data from grid view after importing.
I used Insert statement to insert data from gridview but it is showing invalid column names.
Karthik Achari
25-Feb-14 7:44am
View
after importing the data from excel sheet is updated in gridview, but when i open database table it is not updated.
Karthik Achari
20-Feb-14 5:53am
View
Thanks for your support.
Karthik Achari
20-Feb-14 5:06am
View
i am using .Netframework 2.0
Karthik Achari
20-Feb-14 4:42am
View
private void button2_Click(object sender, EventArgs e)
{
OleDbConnection cnCSV = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" + textBox1.Text + "; Extended Properties=\"Excel 8.0;HDR=NO;IMEX=1\";");
//OleDbConnection cnCSV = new OleDbConnection(strConnectionString);
OleDbDataAdapter das = new OleDbDataAdapter("Select *from [Sheet1$]", cnCSV);
DataSet da = new DataSet();
das.Fill(da);
dataGridView1.DataSource = da;
}
This is the code what i have used for my application.
Karthik Achari
20-Feb-14 4:26am
View
OleDbConnection cnCSV = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" + textBox1.Text + "; Extended Properties=\"Excel 8.0;HDR=NO;IMEX=1\";");
when i use this connection string and click on import button.It clears the data from grid view.
Can you help me to solve this issue.
Karthik Achari
20-Feb-14 4:11am
View
Again same error was occured
Karthik Achari
13-Feb-14 3:07am
View
it won't work.
Thanks for your support
Karthik Achari
12-Feb-14 2:33am
View
After writing this line dataGridview.DataBind();
it shows error The name 'dataGridview' does not exist in the current context.
Karthik Achari
12-Feb-14 2:08am
View
I am using .NET framework 2.0 & WindowsFormsApplication.
Karthik Achari
12-Feb-14 2:05am
View
grid is there but it shows error 'dataGridview' does not exist in the current context
Karthik Achari
12-Feb-14 0:48am
View
I am new to C# can you suggest me necessary changes.
Thanks
Karthik Achari
21-Jan-14 5:30am
View
Thanks a lot
Karthik Achari
17-Jan-14 6:22am
View
NO
Karthik Achari
31-Dec-13 0:56am
View
Thanks
Karthik Achari
31-Dec-13 0:49am
View
I am a fresher could you please suggest some Reference books because I don't have any idea about SQL now iam learning
Thanks
Karthik Achari
31-Dec-13 0:41am
View
I tried with that also but it is not working
Insted of changing Status each and every time by specifying particular Emp_id I am trying to update Dynamically
Karthik Achari
30-Dec-13 4:37am
View
Can you tell me where to set @PDate because I am a begineer to SQL
Eg: @PDate between '02-1-13' AND '02-28-13'
Karthik Achari
30-Dec-13 4:28am
View
Thanks
Karthik Achari
24-Dec-13 7:40am
View
datatype for In_Punch & Out_Punch was datetime
datatype for status was varchar(MAX)
Karthik Achari
24-Dec-13 3:54am
View
I used datetime datatype for In_Punch & out_Punch,Convereted to VARCHAR datatype
Karthik Achari
24-Dec-13 3:21am
View
Thanks
Karthik Achari
24-Dec-13 3:20am
View
Thanks
Karthik Achari
17-Dec-13 23:28pm
View
Consider for my database only
Karthik Achari
4-Dec-13 4:34am
View
Thanks Soumitra Mithu
Karthik Achari
4-Dec-13 4:33am
View
Thanks Jain Nishant
Karthik Achari
3-Dec-13 12:23pm
View
Thanks CHill60
Karthik Achari
3-Dec-13 12:22pm
View
Thanks vaibhavimokal
Karthik Achari
3-Dec-13 1:35am
View
Iam using MS SQLserver2008R2
Karthik Achari
18-Nov-13 1:08am
View
How to create stored procedure in sql can any one help me because iam a fresher(begineer)
Show More