15,999,410 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 .NET 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 satishmachineni (Top 104 by date)
satishmachineni
27-Apr-12 13:52pm
View
i didnt made anay column as primary key , after making one column as primary key , i got answer.thanks for replying and for your time
satishmachineni
27-Apr-12 13:50pm
View
thanks mark i will check it out
satishmachineni
22-Apr-12 4:38am
View
the above loop solution solved my problem any way thanks for the answer
satishmachineni
22-Apr-12 4:37am
View
yes thanks ,i made changes and got desired result
satishmachineni
6-Apr-12 6:58am
View
thanks for replying i got some
satishmachineni
6-Apr-12 6:48am
View
can u tell me what is parts here
satishmachineni
6-Apr-12 6:43am
View
thanks cleared most of my doubts
satishmachineni
4-Apr-12 7:42am
View
i studied but iam stuck with how to implement the above scenario in code .
satishmachineni
4-Apr-12 7:23am
View
that qstn was posted by murali using my acnt
satishmachineni
6-Mar-12 1:35am
View
ya sure thanks
satishmachineni
6-Mar-12 1:24am
View
also can i enter the text boxes data into the html tags
like this txtbox1, txtbox2, textbox3.
after clicking on save button those data should be entered in html file as
<tagl>txtbx1"s txt
like this plz help me.i will check that code ,thanks for repliyg so fast
satishmachineni
15-Feb-12 1:16am
View
can u tell me any search engine like google
satishmachineni
15-Feb-12 1:15am
View
thanks varun, unable to get rid of that error
satishmachineni
1-Feb-12 1:50am
View
thank u ,excellent explanation
satishmachineni
1-Feb-12 1:05am
View
i cant get it , how to notify
satishmachineni
20-Jan-12 5:40am
View
thanks javed,
satishmachineni
19-Jan-12 4:24am
View
nice examples
satishmachineni
18-Jan-12 23:46pm
View
Deleted
u should have shared how it works
satishmachineni
18-Jan-12 23:18pm
View
no problem , those are real tokens ,just my college project,craeted one dummy account
satishmachineni
9-Jan-12 7:43am
View
a webservice was bulid and hosted by me in remoteserver.it gets its data from rss feeds, how can i update webservice whenever there is change /at specific intervals
satishmachineni
9-Jan-12 6:54am
View
thanks solved it
satishmachineni
9-Jan-12 6:03am
View
my entire code is posted above,i want to save the results of webservice as xml in local system, i tried u r guess , one error,
cant implicitly convert wpfapplication.servicerefernce.arrayoffeeds to system.data.datset;
satishmachineni
9-Jan-12 5:48am
View
can u tell me how to write and store ir in local system, even i checked my code using binding to gridview its working
satishmachineni
6-Jan-12 3:56am
View
thanks for replying
satishmachineni
6-Jan-12 3:55am
View
tried got it , my code is like this
if (_xmlData.Count == 0) //Populate your list
{
counter = 0;
XDocument xd = XDocument.Load(@"D:\satish1\na.xml");
var query = from p in xd.Descendants("item")
select new
{
des = p.Element("description").Value
};
foreach (var p in query)
{
_xmlData.Add(p.des.ToString());
}
}
if (counter < _xmlData.Count)
tbs.Text = _xmlData[counter];
counter++;
if (counter == _xmlData.Count)
{
counter = 0;
}
thanks for ur help
satishmachineni
6-Jan-12 3:35am
View
i mean
2) Create your XDocument, and build your query from it.
3) Init your List with a new List<string>
satishmachineni
6-Jan-12 3:23am
View
great ,thanks for your answer, i will wotk on that,i am totally new to coding , can u explain me how to do 2nd and 3rd points in ur explanation
satishmachineni
4-Jan-12 3:54am
View
thank u for ur replies
satishmachineni
4-Jan-12 3:34am
View
can u tell me how to download wpf bookcontrol
satishmachineni
4-Jan-12 3:31am
View
ok sure , i will try to get from outside college
satishmachineni
4-Jan-12 3:01am
View
bcoz in my college ,downloads are resticted and code plex is blocked by some mistake ,i tried some sites from internet ,but not able to download
satishmachineni
4-Jan-12 1:21am
View
its only downloadble version
satishmachineni
4-Jan-12 1:18am
View
i will try that, thanks for reply
satishmachineni
4-Jan-12 1:17am
View
i will try it, can u tell me the way how to do it
satishmachineni
4-Jan-12 0:30am
View
like stackpanel should be flying out in every 5 seconds
satishmachineni
2-Jan-12 5:55am
View
can u tell me how to loop thru items in rssfeed and display them in scrolling news ticker in code plzz
satishmachineni
2-Jan-12 5:50am
View
its looping ,but iam not able to iterate items, iam able to display only one item ,how to display items of rss feed one by one using that loop
satishmachineni
29-Dec-11 7:18am
View
excellent , thank u .can u send me how to change pages like cards
satishmachineni
22-Dec-11 3:35am
View
thanks for replyng to my stupid questions,i am from a maths background,i dont anty coding also,i got placed in one company, now they are assigning me some prt projects,in one project, sir gave one webservice and tols to store in local system ,i tried for londg and i found ds.writexml , we can save.
now a big problem came ,he told me to covert an rss feed to xml and query it only for tilte and description and implement it as webservice,i completed upto that part, now sir told me to convert that webservice to xml again so if any objectionable content is there we can remove it,i tried fro that, but unable to get any answers.
so only i asked this question,
any way
CHEERS..
satishmachineni
20-Dec-11 1:04am
View
one more question ,i dont know what , in my first lines of code
var query = from p in xd.Descendants("item")
select new
{
name = p.Element("title").Value,
des = p.Element("description").Value
};
return query.ToString();
if i dont keep here to string , it is sayingcannot implicitly convert to system .collections.ienumerable to string,if i use here to string ok build is succeded,i dont want to return strings, can i return anything otherthan strings there.sorry if dis not makessense,for us webservice was taught one day ,and were told to implement..
satishmachineni
20-Dec-11 0:55am
View
ok, i am totally new to coding , iam just trying to understand, any way thanks
satishmachineni
20-Dec-11 0:42am
View
when i conume the webmethod ,and write
ds=proxy.getdetails();
it is saying that thing.
what i want to do actually is
write the thing likr that and stote it using
ds.writexml(path,xmlwritemode.writeschema)
satishmachineni
19-Dec-11 23:02pm
View
ya i wil go thru it , can u tell me how to return xml from webservice
satishmachineni
19-Dec-11 6:37am
View
no while uploading some error, but actually its opening in IE,when trying to load by the above code its not coming
satishmachineni
19-Dec-11 6:26am
View
y , can u expain
satishmachineni
19-Dec-11 5:22am
View
<channel>
<item>
<title><![CDATA[Top 9 cos lose Rs 61,485 cr in m-cap, SBI worst hit]]></title>
<description><![CDATA[Weak stock markets pulled down the combined market capitalisation (m-cap) of the country's nine most-valued firms by Rs 61,485 crore last week, with SBI taking the biggest hit.]]>
<link>http://www.business-standard.com/india/news/top-9-cos-lose-rs-61485-cr-in-m-cap-sbi-worst-hit/153163/on</link>
<pubDate>Sun, 18 Dec 2011 10:33:13 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/top-9-cos-lose-rs-61485-cr-in-m-cap-sbi-worst-hit/153163/on
<item>
<title><![CDATA[Gold snaps 5-day losing streak, gains Rs 75]]></title>
<description><![CDATA[Snapping five-day losing streak, gold prices recovered Rs 75 to Rs 27,840 per 10 gram in the national capital today on buying at lower levels amid firm trend overseas.]]>
<link>http://www.business-standard.com/india/news/gold-snaps-5-day-losing-streak-gains-rs-75/153154/on</link>
<pubDate>Sat, 17 Dec 2011 15:38:06 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/gold-snaps-5-day-losing-streak-gains-rs-75/153154/on
<item>
<title><![CDATA[Weekly Report Sensex, Nifty hit 2-yr lows on growth woes]]></title>
<description><![CDATA[In the week to December 16, benchmark share indices ended at their two-year lows weighed by dismal October IIP data, weakening rupee, high headline inflation and growth concerns.]]>
<link>http://www.business-standard.com/india/news/weekly-report-sensex-nifty-hit-2-yr-lowsgrowth-woes/153144/on</link>
<pubDate>Sat, 17 Dec 2011 09:50:14 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/weekly-report-sensex-nifty-hit-2-yr-lowsgrowth-woes/153144/on
satishmachineni
19-Dec-11 5:22am
View
ya i can open the xml in internet explorer its working well, snapshot of it is
- <channel>
- <item>
- <title>
- <![CDATA[ Top 9 cos lose Rs 61,485 cr in m-cap, SBI worst hit
]]>
</title>
- <description>
- <![CDATA[ Weak stock markets pulled down the combined market capitalisation (m-cap) of the country's nine most-valued firms by Rs 61,485 crore last week, with SBI taking the biggest hit.
]]>
<link>http://www.business-standard.com/india/news/top-9-cos-lose-rs-61485-cr-in-m-cap-sbi-worst-hit/153163/on</link>
<pubDate>Sun, 18 Dec 2011 10:33:13 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/top-9-cos-lose-rs-61485-cr-in-m-cap-sbi-worst-hit/153163/on
- <item>
- <title>
- <![CDATA[ Gold snaps 5-day losing streak, gains Rs 75
]]>
</title>
- <description>
- <![CDATA[ Snapping five-day losing streak, gold prices recovered Rs 75 to Rs 27,840 per 10 gram in the national capital today on buying at lower levels amid firm trend overseas.
]]>
<link>http://www.business-standard.com/india/news/gold-snaps-5-day-losing-streak-gains-rs-75/153154/on</link>
<pubDate>Sat, 17 Dec 2011 15:38:06 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/gold-snaps-5-day-losing-streak-gains-rs-75/153154/on
- <item>
- <title>
- <![CDATA[ Weekly Report Sensex, Nifty hit 2-yr lows on growth woes
]]>
</title>
- <description>
- <![CDATA[ In the week to December 16, benchmark share indices ended at their two-year lows weighed by dismal October IIP data, weakening rupee, high headline inflation and growth concerns.
]]>
<link>http://www.business-standard.com/india/news/weekly-report-sensex-nifty-hit-2-yr-lowsgrowth-woes/153144/on</link>
<pubDate>Sat, 17 Dec 2011 09:50:14 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/weekly-report-sensex-nifty-hit-2-yr-lowsgrowth-woes/153144/on
- <item>
- <title>
- <![CDATA[ Growth sectors lead Wall Street higher
]]>
</title>
- <description>
- <![CDATA[ US stocks rose on Friday with growth-related shares leading the way as investors focused on a brighter US economic outlook.
]]>
<link>http://www.business-standard.com/india/news/growth-sectors-lead-wall-street-higher/153139/on</link>
<pubDate>Fri, 16 Dec 2011 21:24:36 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/growth-sectors-lead-wall-street-higher/153139/on
- <item>
- <title>
- <![CDATA[ Sebi working on exit policy for bourses
]]>
</title>
- <description>
- <![CDATA[ Market regulator the Securities and Exchange Board of India (Sebi) is working on a number of new regulations for the stock exchanges, including a business-exit policy and moving the Investor Protection Funds of all bourses to a single agency.
]]>
<link>http://www.business-standard.com/india/news/sebi-workingexit-policy-for-bourses/153135/on</link>
<pubDate>Fri, 16 Dec 2011 20:52:43 +0530</pubDate>
<guid ispermalink="true">http://www.business-standard.com/india/news/sebi-workingexit-policy-for-bourses/153135/on
satishmachineni
19-Dec-11 4:41am
View
error is coming at loading xml file,
system.traceis
An error occurred while receiving the HTTP response to http://localhost:8731/Design_Time_Addresses/WcfServiceLibrary2/Service1/. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1.RequestClientReliableChannelBinder`1.OnRequest(TRequestChannel channel, Message message, TimeSpan timeout, MaskingMode maskingMode)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1.Request(Message message, TimeSpan timeout, MaskingMode maskingMode)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Security.SecuritySessionClientSettings`1.SecurityRequestSessionChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at IService1.gettitle()
at Service1Client.gettitle()
satishmachineni
19-Dec-11 4:35am
View
channel closing tag is there but my mistakenly not updated
satishmachineni
19-Dec-11 4:30am
View
no by mistake i updated like that in my real xml file ,it is showing even in explorer,when i am trying to open it ,by code
like this
public string gettitle()
{
string xmlpath=@"D:\satish\satti.xml";
XmlDocument xdoc = new XmlDocument();
xdoc.LoadXml(xmlpath);
XmlNodeList nl = xdoc.GetElementsByTagName("//title");
return nl.ToString();
}
while debuuging this the erooris cmng
satishmachineni
19-Dec-11 4:25am
View
sorry by mistake updated 2 times
satishmachineni
19-Dec-11 2:31am
View
if i have webservice , directly i can write from proxy as
ds=proxy.getdata();
ds.writexml();
the same thing i was trying to do here
satishmachineni
19-Dec-11 2:30am
View
can u tell me what is wrong in my approach
satishmachineni
19-Dec-11 2:28am
View
if i return xmldocument no use, i want to querty the xml document above to get title only and return that thing as wcf service,the main thing happening here is if i queried ,that is returning as strings
satishmachineni
19-Dec-11 2:26am
View
wcf based service
satishmachineni
19-Dec-11 2:22am
View
it is rerurning strings,when i want to save the resultset of webservice as xml i usually write this
first i craete one proxy,
then ds=proxy.getdata();
ds.writexml("path");
now i am not able to get those ds.writexml , iam getting ds.getitems()
satishmachineni
19-Dec-11 1:19am
View
ya proxy is returning string, can i convert it, i am getting intellisense as proxy.getitems() ,how can i read those items.
ex:
if mp proxy returns xml i would have used ,
ds=proxy.getdata();
ds.writexml(path);
how to do it in strings...plz help mee
satishmachineni
19-Dec-11 1:19am
View
ya that i will work out, but what happened is when i am returning webservice ,proxy is returning me strings ,how to make them return xml,so that i can use proxy.getdata() and save them .
satishmachineni
18-Dec-11 23:50pm
View
i am trying to invoke ,but its saying data at root level is invalid
satishmachineni
18-Dec-11 23:46pm
View
i tried , iam using this xml document so as to for makind webservice.in my webservice ,i want only item .i am trying like this
public string getitems()
{
XmlDocument doc = new XmlDocument();
doc.LoadXml(@"D:sateesh\satti.xml");
XmlNode root = doc.DocumentElement;
XmlNamespaceManager nsmgr = new XmlNamespaceManager(doc.NameTable);
nsmgr.AddNamespace("bk", "http://www.w3.org/2005/Atom");
XmlNodeList nodelist = root.SelectNodes("//item",nsmgr );
return nodelist.ToString();
}
any modifications
}
satishmachineni
18-Dec-11 4:53am
View
ya thanks it was the one i am looking for ,it helped a lot
satishmachineni
18-Dec-11 4:25am
View
thanks
satishmachineni
18-Dec-11 2:50am
View
ya i solved it , it said proxy authentication required, i found some code.it worked .thanks
in the above code i saved that xml file ,can i use it as webservice,if so plz tell me how to use
satishmachineni
18-Dec-11 2:43am
View
it should get the data from saved rss feed in local system.the main idea is i saved a rss feed im my pc,i want to develop webservice using that so as to distribute it to all our campuses
satishmachineni
18-Dec-11 0:06am
View
thanks amit .it is working but it is saying proxy authentication required
satishmachineni
14-Dec-11 23:46pm
View
ya thanks for repliyng ,i tried the code using this
i declared public int i=1;
outside,and
read the count of the table,then
while(i!=0 && i<=count)
{
spCalendar.DataContext = query.ToList().ElementAt(i);
i=i+1;
break;
}
then
if(i>count)
{
count=0;
i=1
}
it worked..
satishmachineni
13-Dec-11 3:13am
View
i want to bind those tables from the database( given to me as webservice);if the db is not a service we can do it in drag and drop manner and write datacontext code ,can we do it in similar manner,i cant get this from twodays
satishmachineni
13-Dec-11 1:27am
View
http://www.codeproject.com/Questions/297243/how-to-bind-two-xml-files-to-a-single-control-in-w
satishmachineni
7-Dec-11 5:26am
View
thanks it is working,thank u for patience
satishmachineni
7-Dec-11 5:25am
View
http://www.codeproject.com/Questions/294834/how-to-add-dynammically-fontweight-to-combobox-in
satishmachineni
7-Dec-11 4:55am
View
i am able to save only the filename ,but not contents like txtbox2,txtxbox3,combobox1,combobox2
satishmachineni
7-Dec-11 4:55am
View
i am able to save only the filename ,but not contents like txtbox2,txtxbox3,combobox1,combobox2
satishmachineni
7-Dec-11 4:53am
View
private void button1_Click(object sender, RoutedEventArgs e)
{
Microsoft.Win32.SaveFileDialog dlg = new Microsoft.Win32.SaveFileDialog();
dlg.FileName = textBox1.Text;
// Default file name
dlg.DefaultExt = ".text";
// Default file extension
dlg.Filter = "Text documents (.txt)|*.txt";
// Filter files by extension
// Show save file dialog box
// Nullable<bool> result = dlg.ShowDialog();
// Process save file dialog box results
// if (result == true)
// {
// Save document
string filename = dlg.FileName;
//write to a local disk
using (FileStream stream = File.Create(@"D:\" + textBox1.Text + ".txt"))
MessageBox.Show("document saved ");
textBox1.Text = "";
textBox2.Text = "";
textBox3.Text = "";
comboBox1.SelectedValue = "";
comboBox2.SelectedValue = "";
// }
}
satishmachineni
7-Dec-11 4:50am
View
yes into a locsystem
satishmachineni
7-Dec-11 4:36am
View
thanks for replimg me instantly,have anice day , i posted one question yesterday can u take look on that
satishmachineni
7-Dec-11 4:30am
View
sir i updated now
satishmachineni
7-Dec-11 3:51am
View
like msword dropdownlist
satishmachineni
7-Dec-11 3:49am
View
i want to know fontstyles like bold italic...
satishmachineni
7-Dec-11 2:57am
View
thanks for the code ,helped me alot...
satishmachineni
5-Dec-11 8:03am
View
oh thanks
satishmachineni
5-Dec-11 4:12am
View
what si meant by this added pre tag and code block
satishmachineni
4-Nov-11 4:13am
View
i know some three tier architecture(simple code),plus thru wizard,basically i am not computers student,but i got placed ,so iam trying max to learn,but topics here are so fasr they just tell and go..
satishmachineni
4-Nov-11 4:11am
View
it was so helpful, thanks a lot
satishmachineni
31-Oct-11 22:05pm
View
web
satishmachineni
28-Oct-11 5:41am
View
thanks alot
satishmachineni
28-Oct-11 5:41am
View
thank you
satishmachineni
28-Oct-11 5:40am
View
thank you
satishmachineni
28-Oct-11 4:15am
View
thanks for ur reply, but i have to do it as project in my college
satishmachineni
26-Oct-11 21:34pm
View
thank you all ,it was extremely useful
satishmachineni
21-Oct-11 6:41am
View
thqank u sir for ur reply, but not like that images in header section should be changed without any click event.plz u can search outpatient management system in google , first result (medinous)that type of header
satishmachineni
4-Oct-11 23:33pm
View
thank u sir
satishmachineni
4-Oct-11 23:33pm
View
thank u
satishmachineni
4-Oct-11 23:31pm
View
got it implemented grateful to u sir
satishmachineni
3-Oct-11 1:59am
View
thank u
satishmachineni
3-Oct-11 1:59am
View
thank u
satishmachineni
3-Oct-11 1:54am
View
can u tell me the syntax
satishmachineni
3-Oct-11 1:51am
View
can u improvise it
satishmachineni
27-Sep-11 1:33am
View
thank you sir
satishmachineni
26-Sep-11 23:15pm
View
i searched the site but not much useful
satishmachineni
26-Sep-11 23:15pm
View
thanks 4 ur reply,i searchaed but couldnot find the exact answer
satishmachineni
26-Sep-11 1:01am
View
ya with the help of google completed upto interface,now on creating tables.thank u for ur suggestion
satishmachineni
26-Sep-11 1:00am
View
ya sure thank u completed half now .one doubt,how to send an automatic email using trigger plz give me the code
satishmachineni
20-Sep-11 22:13pm
View
thanks bro , i will take the book
satishmachineni
20-Sep-11 22:12pm
View
thanks bro, i wil start from oops concepts
Show More