15,910,212 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 jaipal0908 (Top 26 by date)
jaipal0908
13-Jun-12 10:56am
View
Thank you
jaipal0908
13-Jun-12 8:51am
View
I converted the code from VB to C# like below..
VB Code:
MultiView1.ActiveViewIndex = Int32.Parse(e.Item.Value)
Dim i As Integer
'Make the selected menu item reflect the correct imageurl
For i = 0 To Menu1.Items.Count - 1
If i = e.Item.Value Then
Menu1.Items(i).ImageUrl = "selectedtab.gif"
Else
Menu1.Items(i).ImageUrl = "unselectedtab.gif"
End If
Next
C# code:
MultiView1.ActiveViewIndex = Int32.Parse(e.Item.Value);
for (int i = 0; i < Menu1.Items.Count-1;i++)
{
if(i=e.Item.Value)
{
Menu1.Items[i].ImageUrl = "selectedtab.gif";
}
else
{
Menu1.Items[i].ImageUrl = "unselectedtab.gif";
}
}
But still i am getting this error near "i=e.Item.Value"
CS0019: Operator '==' cannot be applied to operands of type 'int' and 'string'
Can anyone help me...
jaipal0908
13-Jun-12 3:05am
View
No web service,in client machine i have to host.
jaipal0908
12-Jun-12 3:16am
View
Hi VJ,
In the above converted code i am getting the error like this.
Compiler Error Message: CS0019: Operator '==' cannot be applied to operands of type 'int' and 'string'
Source Error:
Line 21: for (int i = 0; i < Menu1.Items.Count; i++)
Line 22: {
Line 23: if (i == e.Item.Value)---------Here Error coming
Line 24: {
Line 25: Menu1.Items[i].ImageUrl = "selectedtab.gif";
jaipal0908
11-Jun-12 11:04am
View
Thank you,but i am getting error at void after conversion in line
protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
at void
jaipal0908
11-Jun-12 6:00am
View
Thank you sandeep.It is working
jaipal0908
11-Jun-12 5:54am
View
Its is not working naveen,Do i need to add any references?
jaipal0908
6-Jun-12 7:51am
View
Hi sandeep,
Sorry mistake in question post,There is no relationship is existing between two tables .Then can we bind?
jaipal0908
5-Jun-12 8:07am
View
Can you please tell me the code once user login then If user clicks logout button how the session to be removed and what to write to redirect to login page after logout click.
jaipal0908
5-Jun-12 6:02am
View
Thank you all
jaipal0908
5-Jun-12 5:35am
View
In my table design for I checked for some columns to allow Nulls but if i try to insert into other columns its not inserting,getting below error--
Column name or number of supplied values does not match table definition.
Can you tell me what should be the problem with my code.
jaipal0908
5-Jun-12 5:07am
View
Thank you,
Suppose if the table in Database contains 8 columns,can we insert only 4 or 5 like(I mean only some columns) into the table from asp.net.
jaipal0908
4-Jun-12 6:20am
View
Hi Tony,
I designed the page with one search text box empid and search button and Gridview.
But I want the code in search button click to bind the Gridview.
Can you help me.
jaipal0908
31-May-12 5:58am
View
Thank you,its working
jaipal0908
31-May-12 2:32am
View
Thank you,its working fine
jaipal0908
29-May-12 4:13am
View
Hi amit,
I am developing one application,I have some tables for my application design,Can I make use of aspnetdb database tables to my application along with my own tables to use membership provider,If so How it can be done?
jaipal0908
29-May-12 4:06am
View
Yes amit,One user Can have multiple roles.
If possible can you send me the table structure for the users with multiple roles.
I have to assign the roles from asp.net web form.
jaipal0908
29-May-12 3:57am
View
Hi Amit,
Thank you but it is not clear to me to understand.
I have Users table with userKey as PK and Roles table with Rolename,RoleId(pk) and userkey(fk).
Can you explain clearly...
Thank you,
Jai
jaipal0908
29-May-12 2:59am
View
Hi,
Thanks for the reply,
I am new to asp.net membership provider.
Can you explain how to achieve my requirement.
Or can you send me a sample so that i can go through.
Thank you,
jaipal0908
25-May-12 7:12am
View
Thanks Gupta,
Can u post stored procedure to insert into T2 so that i can understand.
T1-->empid(pk)
T2-->deptid(pk with identity spec),empid(fk).
Thank you,
jaipal0908
25-May-12 2:41am
View
Thank you,helped me alot
jaipal0908
21-May-12 10:03am
View
Thank you very much madhu
jaipal0908
21-May-12 9:45am
View
Hi madhusudhan,
Thank you very much,
Can you send me sample sp taking two tables and dummy columns.
Thank you,
jaipal0908
21-May-12 7:50am
View
Which is the best method to solve my problem,can u tell me how this is to be done using stored procedure?
jaipal0908
21-May-12 7:48am
View
Yes i have knowledge on trigger but i am using a stored procedure to insert the values into tab_1. Can inserting the empid value to the tab_2 be done using this sp.?If yes can anyone send me the code in sp?
jaipal0908
21-May-12 7:03am
View
I written one stored procedure to insert the values into tab_1 like..
Insert into CaseMaster(empId,empTitle,empDesc)
values(@emp_Id,@emp_Title,@emp_description)
Show More