15,887,936 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 sairam.bhat (Top 133 by date)
sairam.bhat
26-Nov-14 0:06am
View
No i need to read from code c#.net code
sairam.bhat
6-Feb-12 4:43am
View
Sorry,Please study the sql server and .net tutorials get the basic knowledge about queries and all.
sairam.bhat
30-May-11 6:20am
View
thanks sir
sairam.bhat
26-May-11 4:34am
View
thank you
sairam.bhat
26-May-11 4:31am
View
good qstn
sairam.bhat
26-May-11 4:31am
View
good qstn
sairam.bhat
25-May-11 2:50am
View
my +5
sairam.bhat
25-May-11 2:50am
View
good ans
sairam.bhat
25-May-11 2:49am
View
my +5
sairam.bhat
25-May-11 2:49am
View
good qstn
sairam.bhat
25-May-11 2:49am
View
good ans
sairam.bhat
25-May-11 2:48am
View
my +5
sairam.bhat
25-May-11 2:48am
View
good qstn
sairam.bhat
25-May-11 2:45am
View
good ans my +5
sairam.bhat
25-May-11 2:44am
View
good ans my +5
sairam.bhat
25-May-11 2:44am
View
my +5
sairam.bhat
25-May-11 2:44am
View
good qstn
sairam.bhat
25-May-11 2:41am
View
my +5
sairam.bhat
25-May-11 2:41am
View
my +5
sairam.bhat
25-May-11 2:40am
View
good ans
sairam.bhat
25-May-11 2:40am
View
good qstn
sairam.bhat
25-May-11 2:40am
View
good ans
sairam.bhat
25-May-11 2:39am
View
good ans
sairam.bhat
25-May-11 2:39am
View
good qstn
sairam.bhat
25-May-11 2:38am
View
good question
sairam.bhat
25-May-11 2:38am
View
good ans
sairam.bhat
25-May-11 2:23am
View
good question my +5 vote
sairam.bhat
25-May-11 2:22am
View
my +5
sairam.bhat
25-May-11 2:21am
View
ya sir my +5
sairam.bhat
25-May-11 2:21am
View
my +5
sairam.bhat
25-May-11 2:20am
View
My +5
sairam.bhat
25-May-11 2:19am
View
My +5
sairam.bhat
25-May-11 2:18am
View
Sir my +5
sairam.bhat
25-May-11 2:00am
View
i accepted your answer thanks sir my 5
sairam.bhat
17-May-11 2:26am
View
thanks you sir
sairam.bhat
17-May-11 2:12am
View
Thank you sir
sairam.bhat
16-May-11 0:54am
View
sir i need one help from you sir,i am sairam bhat from india.I completed B.E computer science in 2009.Know i am working in one small organisation,I want to learn something from you sir,If you have any projects please send me sir i want to do that my Email... want to make your friendship sir. Thanks in advance sir.
sairam.bhat
16-May-11 0:52am
View
Deleted
sir i need one help from you sir,i am sairam bhat from india.I completed B.E computer science in 2009.Know i am working in one small organisation,I want to learn something from you sir,If you have any projects please send me sir i want to do that.i want to make your friendship sir. Thanks in advance sir.
sairam.bhat
16-May-11 0:38am
View
k thanks sir i also voted +5 for you sir.
sairam.bhat
12-May-11 8:21am
View
sir please upvote for my question sir,
sairam.bhat
12-May-11 8:20am
View
k sir i have accepted your answer
sairam.bhat
11-May-11 5:19am
View
Thanks sir
sairam.bhat
18-Apr-11 8:38am
View
thanks sir,
But i am not getting silver light in visual studio 2008 editor.
sairam.bhat
5-Apr-11 0:55am
View
thank you good question i upvoted +5
sairam.bhat
5-Apr-11 0:42am
View
Thank you for accepting my answer
sairam.bhat
25-Mar-11 2:57am
View
k thanks
sairam.bhat
25-Mar-11 2:56am
View
K thanks
sairam.bhat
18-Mar-11 5:18am
View
yes good answer
sairam.bhat
18-Mar-11 5:18am
View
yes good ans
sairam.bhat
18-Mar-11 5:18am
View
yes good question
sairam.bhat
18-Mar-11 5:18am
View
yes good question
sairam.bhat
18-Mar-11 5:16am
View
yes sir good answer mine is +5
sairam.bhat
18-Mar-11 5:16am
View
yes good question mine is +5
sairam.bhat
18-Mar-11 5:15am
View
yes sir mine is +5
sairam.bhat
18-Mar-11 5:15am
View
yes sir mine is +5
sairam.bhat
18-Mar-11 5:14am
View
yes good question mine is +5
sairam.bhat
18-Mar-11 5:14am
View
yes currect mine is +5
sairam.bhat
18-Mar-11 4:59am
View
Yes good answer mine +5
sairam.bhat
16-Mar-11 0:19am
View
why my question was down voted sir?
sairam.bhat
16-Mar-11 0:11am
View
Deleted
Why down voted for my question ?
sairam.bhat
16-Mar-11 0:04am
View
why down voted for my question?
sairam.bhat
15-Mar-11 9:17am
View
non event controls cant placed in MDI.
sairam.bhat
15-Mar-11 9:15am
View
no sir it is an interview question.
sairam.bhat
15-Mar-11 9:14am
View
no sir it is an interview question
sairam.bhat
15-Mar-11 5:50am
View
+ 5 from my side
sairam.bhat
15-Mar-11 5:50am
View
good answer sir
sairam.bhat
15-Mar-11 2:49am
View
mine also 5+
sairam.bhat
15-Mar-11 2:12am
View
k thanks for 5
sairam.bhat
15-Mar-11 1:02am
View
k thanks sir
sairam.bhat
15-Mar-11 0:12am
View
sir get me some examples pleas
sairam.bhat
14-Mar-11 9:11am
View
sir this will not create image sir
sairam.bhat
14-Mar-11 8:33am
View
k thanks
sir
sairam.bhat
10-Mar-11 5:43am
View
good answer sir
sairam.bhat
10-Mar-11 5:42am
View
good ans
sairam.bhat
10-Mar-11 5:42am
View
good answer
sairam.bhat
10-Mar-11 5:41am
View
good answer sir thanks
sairam.bhat
10-Mar-11 5:37am
View
k sir thanks
sairam.bhat
10-Mar-11 5:28am
View
k sir thanks a lot. how to avoid that error?
sairam.bhat
10-Mar-11 5:21am
View
dt.Tables[0].Rows.Add(newRow); error in this line
Error message:Column 'nConfigID' does not allow nulls. (Null value exception)that is different table.
sairam.bhat
10-Mar-11 5:18am
View
it will show error nConfigID should not be null but that field is in Config DataTable.
sairam.bhat
10-Mar-11 5:11am
View
k thanks sir but it will show error in other tables.why?
sairam.bhat
10-Mar-11 5:00am
View
I will never forget your help sir
sairam.bhat
10-Mar-11 4:56am
View
I binded cName-Text field of the Stop binding source for listbox1 and nSelectedStopsID for listbox2
sairam.bhat
10-Mar-11 4:53am
View
Stop binding source
nStopID -Number
cStopID -Number
cName-Text
cLang1-text
cLang2-number
nLatitude-number
cStopAudiofile-text
RouteBindingSource
nID-Number
nSelectedStopsID-number(Foreign key)
cSelectedStopsID-text
sairam.bhat
10-Mar-11 4:40am
View
no sir different one list box i have binded with stop binding Source another list box with route binding source.
sairam.bhat
10-Mar-11 4:25am
View
k sir that is working nw i got error in next line
ds.Tables[0].Rows.Add((drv1.Row.ItemArray));
error
Input string was not in a correct format.Couldn't store <sadsad> in nFontID Column. Expected type is Int16.
sairam.bhat
10-Mar-11 4:13am
View
i am getting error here
DataSet ds = (DataSet)listBoxSelectedStops.DataSource;
sairam.bhat
10-Mar-11 4:13am
View
private void buttonSelectAllAvailableStops_Click(object sender, EventArgs e)
{
bool found = false;
foreach (DataRowView drv1 in listBoxAvailableStops.Items)
{
foreach (DataRowView drv2 in listBoxSelectedStops.Items)
{
if (drv1.Row.ItemArray[0].ToString().Equals(drv2.Row.ItemArray[0].ToString()))
{
found = true;
break;
}
}
if (!found)
{
DataSet ds = (DataSet)listBoxSelectedStops.DataSource;//i am getting error here
ds.Tables[0].Rows.Add((drv1.Row.ItemArray));
listBoxSelectedStops.DataSource = ds;
}
found = false;
}
sairam.bhat
10-Mar-11 4:09am
View
i got this error again Unable to cast object of type 'System.Windows.Forms.BindingSource' to type 'System.Data.DataSet'.
sairam.bhat
10-Mar-11 4:06am
View
Unable to cast object of type 'System.Windows.Forms.BindingSource' to type 'System.Data.DataSet'.
sairam.bhat
10-Mar-11 4:03am
View
Thank you sir
sairam.bhat
10-Mar-11 3:56am
View
sir
step 1:I created one binding source-stopBindingsource ;
step 2:set the data source property of the stopBindingsource as admeDataset(Dataset) and Data member as Stop(DataTable).
Step 3:set the data source property of the listBox as stopBindingsource and display member as field name.
sairam.bhat
10-Mar-11 3:46am
View
help me sir
sairam.bhat
10-Mar-11 3:33am
View
i will set the data source property of the listBox as stopBindingsource and display member as field name.
sairam.bhat
10-Mar-11 3:26am
View
MS access
sairam.bhat
10-Mar-11 3:16am
View
sir i got error in this line - DataTable dt = (DataTable)listBoxSelectedStops.DataSource;
Error- Unable to cast object of type 'System.Windows.Forms.BindingSource' to type 'System.Data.DataTable'.
sairam.bhat
10-Mar-11 2:19am
View
k sory sir
sairam.bhat
10-Mar-11 2:01am
View
sir pls help me how to move item from one list box to another when both list box are bounded by datasource
sairam.bhat
10-Mar-11 1:56am
View
if use above code it will show error when binding the list box we cant add the item to the list box.
sairam.bhat
10-Mar-11 1:55am
View
Deleted
if i use below code it will show error when binding the list box we cant add the item to the list box.
sairam.bhat
10-Mar-11 1:54am
View
k sir private void buttonSelectAllAvailableStops_Click(object sender, EventArgs e)
{
// this.stopBindingSource.DataSource = null;
// this.routeBindingSource1.DataSource = null;
foreach (string item in listBoxAvailableStops.Items)
{
if (listBoxSelectedStops.Items.Contains(item) == false)
{
listBoxSelectedStops.Items.Add(item);
}
else
{
MessageBox.Show("These Stops are already selected!");
}
}
}
sairam.bhat
10-Mar-11 1:11am
View
good answer
sairam.bhat
10-Mar-11 0:50am
View
good answer sir
sairam.bhat
10-Mar-11 0:50am
View
good answer sir
sairam.bhat
10-Mar-11 0:49am
View
good answer air
sairam.bhat
10-Mar-11 0:48am
View
good answer
sairam.bhat
10-Mar-11 0:47am
View
good answer sir
sairam.bhat
10-Mar-11 0:47am
View
good question
sairam.bhat
10-Mar-11 0:46am
View
good question
sairam.bhat
10-Mar-11 0:46am
View
good answer sir
sairam.bhat
10-Mar-11 0:29am
View
Thank you
sairam.bhat
5-Mar-11 5:26am
View
Thanks
sairam.bhat
5-Mar-11 5:06am
View
good
sairam.bhat
5-Mar-11 5:06am
View
good answer
sairam.bhat
5-Mar-11 5:03am
View
good question
sairam.bhat
5-Mar-11 5:03am
View
good link
sairam.bhat
5-Mar-11 5:02am
View
good link
sairam.bhat
5-Mar-11 5:02am
View
Good link
sairam.bhat
5-Mar-11 5:01am
View
Good Link
sairam.bhat
5-Mar-11 3:49am
View
good answewr
sairam.bhat
5-Mar-11 3:49am
View
good answer
sairam.bhat
5-Mar-11 3:48am
View
Thank you sir
sairam.bhat
5-Mar-11 3:47am
View
Thank you sir
sairam.bhat
5-Mar-11 3:45am
View
Good answer
sairam.bhat
5-Mar-11 3:44am
View
good answer
sairam.bhat
5-Mar-11 3:43am
View
Thank you
sairam.bhat
5-Mar-11 3:40am
View
Thank you
sairam.bhat
5-Mar-11 3:40am
View
Thank you very much sir
sairam.bhat
5-Mar-11 2:21am
View
Thnak you very much sir
sairam.bhat
5-Mar-11 1:59am
View
good idea sir
sairam.bhat
1-Mar-11 1:43am
View
k sory yar i confused
sairam.bhat
7-Aug-10 5:29am
View
Reason for my vote of 5
its good question
sairam.bhat
27-Jul-10 2:50am
View
thank you
Show More