15,896,207 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 M.CHAITHANYA (Top 39 by date)
M.CHAITHANYA
2-Jun-11 2:33am
View
Hi,
I dont want to go to that high level ,as my intension is to just communicate with client programatically .How to do this?
M.CHAITHANYA
28-May-11 6:10am
View
Hi,
I am sorry ,i have mistyped tblemployee .it is actually tblstudents.. I tried the following:
select * from emp where deptno =(select deptno from
(select count(e.empno)as counts,e.deptno from emp e group by deptno) a
where a.counts=(select MAX(counts) from a) );
But i ended up with an error:invalid object name 'a'.
M.CHAITHANYA
23-May-11 6:19am
View
Hi Ramalinga Koushik,
Can you please tell me how to create a report dynamically and show it through Report Viewer to the end user.
Regards
Chaithanya M
M.CHAITHANYA
23-May-11 2:27am
View
Hi,
I have the following code :
SqlConnection cn =new SqlConnection(@"Data Source=ES-SYS-692\SQL2008;Integrated Security=SSPI;Database=mydb");
cn.Open();
DataSet ds=new DataSet();
SqlDataAdapter da=new SqlDataAdapter("select empno,ename,job from emp where sal>1250",cn);
da.Fill(ds,"empds");
ReportDataSource RDS=new ReportDataSource("empds",ds.Tables[0]);
ReportViewer RV = new ReportViewer();
RV.Visible = true;
RV.ProcessingMode=ProcessingMode.Local;
LocalReport lc=RV.LocalReport;
lc.DataSources.Add(RDS);
RV.LocalReport.Refresh();
This Code in a button click,when i click on the button..i ended up with nothing..unable to get the report(generate teh report).What has to be added to this code?
M.CHAITHANYA
23-May-11 2:09am
View
I wanted to create a ReportViewer Dynamically and do all the later on stuff..dynamically only...in Windows Forms
M.CHAITHANYA
20-May-11 6:24am
View
Hi,
In the foreach loop when i use the File class which is static ,it is throwing an error.Can't we use the static type in the foreach loop?
M.CHAITHANYA
20-May-11 5:17am
View
Hi,
I got the solution,the problem is i have used Columnheader text as "Name"...this was creatign problem.I changed it "Name1".Now it's working fine.
M.CHAITHANYA
20-May-11 1:59am
View
Thanks alot for your answers.
M.CHAITHANYA
20-May-11 1:35am
View
Hi,
one more question i have is ,what's the difference between user control and Custom control.is there any difference?
M.CHAITHANYA
19-May-11 9:32am
View
hi,
What exactly is creating an instance here.As the Form already exists,there is no need to create an instance right?
Regards
Chaithu
M.CHAITHANYA
19-May-11 8:17am
View
Hi,
-Will GetType method of assembly searches for the object provided by us?if so,will it implicitly casts to object type first and starts checking.?
-"CreateInstance"-the name some sounds like it is going to create another instance ,will thsi happen really.what exactly this method do?
Please comment on this.
M.CHAITHANYA
19-May-11 2:47am
View
Hi,
I Have forms already created in my project .I just wanted to show them by pulling the formname from the database based on username and password
M.CHAITHANYA
18-May-11 7:57am
View
Hi,
i tried with the code provided by you.Still i face the same problem.
M.CHAITHANYA
17-May-11 7:04am
View
Here I am trying to populate two textboxes username and password ,which i am accessing from database.But i ended up with "there is no row at position 0" exception.what wrong i am doing here? .
M.CHAITHANYA
17-May-11 4:39am
View
Hi wayne,
It's working fine now.But i dont understand why we need to explicitly add reference.using should work right?
Regards
Chaithu
M.CHAITHANYA
12-May-11 6:32am
View
Hi Richard,
As stated above in he API definition ,an API is Colletion of interface methods.Here do you mean API is collection on unimplemented methods of Interfaces ,which should be implemented by the API user.is this correct ?
M.CHAITHANYA
12-May-11 1:41am
View
Hi,
Happened to look at the same links beforer i posted this,but i am not satisfied with answers that these links provide.
Regards
Chaithanya M
M.CHAITHANYA
11-May-11 6:46am
View
Hi Kim Togo,
Thank You very much for replying.But,I am unable to figure out what's teh difference between Integrated Security =true and Integrated security=SSPI.
Regards
Chaithu
M.CHAITHANYA
5-May-11 5:18am
View
persisted is storing object for a long period (may be for life time).i have an eg:
namespace System
{
// Summary:
// Represents the method that will handle an event that has no event data.
//
// Parameters:
// sender:
// The source of the event.
//
// e:
// An System.EventArgs that contains no event data.
[Serializable]
[ComVisible(true)]
public delegate void EventHandler(object sender, EventArgs e);
}
here Delegate "Eventhandler" is prefixed with attribute [serializable],can you please take this example and expalin me what actually happens behind the scenes
Regards
Chaithanya M
M.CHAITHANYA
5-May-11 4:46am
View
Hi,
Happened to read the link provided by you,But i couldn't get one thing:why an object should be persisted ,when and where we use this persisted object.
Regards
Chaithanya M
M.CHAITHANYA
2-May-11 6:53am
View
Hi Abhinav,
I agree with you that the order is done in order first,second...But my concern here is suppose if we pass @sortorder as 'asc'..what will be the value of 2nd case ,I mean
"order by ename asc,?"----here what replaces question mark
Regards
Chaithanya M
M.CHAITHANYA
22-Apr-11 6:43am
View
Hi Olivier,
I know Polymorphism which is same name but differnt signatures right!!. Can you please tell me what is Polymorphic behaviour with an example.
Regards
Chaithanya M
M.CHAITHANYA
22-Apr-11 6:14am
View
yahh.that's correct ..Olivier
M.CHAITHANYA
22-Apr-11 6:06am
View
HI ,
I am sorry..you didnt get my question i guess,my question is what actually happens internally
when you make a method virtual..how does the complier treat it?
M.CHAITHANYA
22-Apr-11 5:59am
View
Hi Olivier,
What actually is making Virtual?
Regards
Chaithnaya M
M.CHAITHANYA
22-Apr-11 0:33am
View
Hi,
I agree with you that the order is done in order first,second...But my concern here is suppose if we pass @sortorder as 'asc'..what will be the value of 2nd case ,I mean
"order by ename asc,?"----here what replaces question mark
Regards
Chaithanya M
M.CHAITHANYA
21-Apr-11 9:00am
View
Hi Ankit,
Cant we assign address of a method to a class variable .If so how and what happens if we do this?
Regards
Chaithanya M
M.CHAITHANYA
15-Apr-11 4:26am
View
Hi Manfred,
Who does this ?like is there any program that monitors the code and give suggestions.?
M.CHAITHANYA
15-Apr-11 2:54am
View
HI,
To use the field a,i created object.
Regards
Chaithu
M.CHAITHANYA
15-Apr-11 2:36am
View
Hi Ankit,
If it is not the intialization,with the second case block of code i am able to prit the value of a.How is this possible?
Regards
Chaithanya M
M.CHAITHANYA
15-Apr-11 2:14am
View
Hi ,
I am sorry ,i missed ,But even though if i add ";",Complier is raising error:"a is used like a type".
M.CHAITHANYA
15-Apr-11 1:44am
View
Hi,
where i am missing a ,in the first case i declared an integer a assigned a value to it in the next line,But in the 2nd case ,a value is intialized to a value while declaring itself..where am i missig a?
M.CHAITHANYA
15-Apr-11 0:33am
View
Hi SAKryukov,
If it's elements are allocated on the stack ,why it is called reference type(as per your statement above).
Regards
Chaithu
M.CHAITHANYA
14-Apr-11 1:32am
View
Hi walterhevedeich,
I agree with your words..But if we conider the case below:
String s1;
s1="A";
string s2;
s2="B";
s1=s2
Now,is it like s1 has two references one pointig to A and one pointing to B in heap or will it point to only B?what way it is done?
Regards
Chaithanya M
M.CHAITHANYA
14-Apr-11 0:51am
View
Hi Walterhevedeich,
If it so..what is the need of creating a new memory where the new value resides ,Instead the old memory can be used by replacing the old string with the new string right?
RegardsChaithanya
M.CHAITHANYA
14-Apr-11 0:19am
View
Hi walerhevedeich,
The statement(taken from the link provided by you) :"the code s = s.Replace ("foo", "bar"); doesn't change the contents of the string that s originally referred to - it just sets the value of s to a new string, which is a copy of the old string but with "foo" replaced by "bar". " ,Does it mean s is pointed to new strin g values which is stored in the heap.If it is so what happens to the old value,will the old pointer will be wiped .
Regards
chaithanya M
M.CHAITHANYA
13-Apr-11 23:57pm
View
Hi,
Class a
{
int[] a;
}
Here array is an reference type.Do you mean(according to the statement :["A field of reference type always goes to stack."]) a has place in the stack in the above example.
Regards
Chaithu
M.CHAITHANYA
13-Apr-11 11:00am
View
Hi,
IS D an object or variable?
regards
Chaithanya
M.CHAITHANYA
13-Apr-11 10:52am
View
Hi ,
Now,,Consider D has some reference ..Will it(variable D) be stored in the stack or heap?
Show More