15,910,411 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 sanomama (Top 44 by date)
sanomama
22-Oct-13 0:54am
View
https://epplus.codeplex.com/
Nice library to create excel in C#.
sanomama
22-Oct-13 0:40am
View
Problem occurs when the header-text exceeds the excel's print margin.
Is there any way i could check the header-text with the page margin in epplus ?
sanomama
21-Aug-11 16:10pm
View
actually the strings in my Array r dynamic. I gues this process won't work. but i really appreciate your time and help :)
sanomama
21-Aug-11 15:17pm
View
i had solved with int i %2 way :)
thanks for the reply
sanomama
21-Aug-11 12:59pm
View
i had used the set tooltip tooltip property bt was unable to show in two columns. Thanks anyway :)
sanomama
21-Aug-11 12:59pm
View
thanks.
sanomama
21-Aug-11 12:21pm
View
i want all the strings combined but in two columns as
book-1 book-4
book-2 book-5
book-3 book-6
sanomama
10-Aug-11 23:11pm
View
thanks a lot for your time :)
sanomama
10-Aug-11 22:24pm
View
thanks for ur time. i really appreciate it.
sanomama
10-Aug-11 22:23pm
View
thanks. it works perfectly.
Can we get difference of "abcd-0001,abcd-0002"
and "abcd-0002" as "abcd-0001"
sanomama
10-Aug-11 22:08pm
View
i tried but the items didn't appear
i'm trying in windows form.
do i have to add any namespace?
sanomama
10-Aug-11 22:05pm
View
var result = string.Join(",", test1.ToArray().Where(item =>
in above code,
where(items =>
items is a keyword? or it sud be defined somewhere??
sanomama
10-Aug-11 21:58pm
View
i couldn't get item after where in above code.
what am i missing? :(
sanomama
10-Aug-11 21:18pm
View
i have splitted the string on , but couldn't compare the results too. Could would provide some code snippets or link.
sanomama
8-Aug-11 7:25am
View
thanks for the ideas.I implemented the static class :)
sanomama
8-Aug-11 3:09am
View
thanks. i'll check it out.
sanomama
2-Aug-11 1:50am
View
5 up
sanomama
1-Aug-11 3:21am
View
thanks.
sanomama
1-Aug-11 3:20am
View
thanks worked as a charm.
sanomama
1-Aug-11 3:19am
View
but i need the output as shrestha only not as shrestha)
sanomama
1-Aug-11 3:18am
View
shakun is just a string.
sanomama
24-Jul-11 0:57am
View
thanks!
sanomama
13-Jul-11 0:46am
View
thanks :)
sanomama
13-Jul-11 0:18am
View
microsoft sql server 2008
sanomama
12-Jul-11 20:43pm
View
thanks. bt checkboxlist.items.count-1 is needed.
sanomama
7-Jul-11 1:08am
View
thanks :)
sanomama
6-Jul-11 21:14pm
View
thanks for the links.
sanomama
6-Jul-11 21:05pm
View
thanks all for the replies.
sanomama
6-Jul-11 21:02pm
View
yes my database is microsoft server 2008. my database is accessed my one another one person.Ok i try to increase the size of db n check.
can give more info about sql profiler??
sanomama
6-Jul-11 20:57pm
View
my first form is login form which just need validation for user n pass. this query is also taking more than 2 sec. I am using vs2010 and microsoft sqlserver 2008.
sanomama
5-Jul-11 2:51am
View
i solve it. thanks for the forloop code :)
sanomama
4-Jul-11 22:27pm
View
i hardcoded the items from windows form n used the loop. it works but when i populate the combobox from database n use the loop, counts say null. but the items are in combox box. can suggest what i might be doing wrong.
sanomama
4-Jul-11 22:25pm
View
SqlConnection con1 = new SqlConnection(str);
SqlCommand cmd = new SqlCommand("SELECT * from department ", con1); SqlDataReader DR = cmd.ExecuteReader();
while (DR.Read() && DR.HasRows) { comboBox_dept.Items.Add(DR["name"].ToString()); //name is the table department column from database }
i have added i like this.
sanomama
4-Jul-11 22:19pm
View
i had addded item in above way. my combo box contains multiple items now. i need the check the items whether it exist in combobox ur not n gets its index too . can you provide some hints?
sanomama
4-Jul-11 22:16pm
View
SqlConnection con1 = new SqlConnection(str);
SqlCommand cmd = new SqlCommand("SELECT * from department ", con1);
SqlDataReader DR = cmd.ExecuteReader();
while (DR.Read() && DR.HasRows)
{ comboBox_dept.Items.Add(DR["name"].ToString()); //name is the table department column from database
}
sanomama
4-Jul-11 17:50pm
View
using sqldatareader.
sanomama
4-Jul-11 17:39pm
View
the loops return indexes if we have hard coded the items in combobox. but i have added the items from database using datareader.
sanomama
4-Jul-11 17:33pm
View
items in the combobox are from database. so while looping counts give result zero.
sanomama
4-Jul-11 12:10pm
View
couldn't find anything. i'm in desperate help. can u post some code snippet.
sanomama
4-Jul-11 5:51am
View
can you provide some examples or link regarding this. I'm new to database nt familiar with many queries.
thanks for reply!
sanomama
4-Jul-11 4:20am
View
i had no idea about culture info!!
thanks all.
sanomama
3-Jul-11 22:20pm
View
ya chritian is right. i want to change the label when the key is pressed. well thanks sakryukov. i will try that :)
sanomama
3-Jul-11 21:53pm
View
i had used the windows api to call the user.dll N i was able to check the status only on form load :(
if the caps in on before the form is open. the label shows casps on.
but i need whenever the caps button is pressed :)
sanomama
3-Jul-11 9:00am
View
thanks i will try it
Show More