|
Thanks for reply colin angus mackay,
can you please give me the complete flow step by step . i.e where i have to change in code.
please kindly write code(i.e the code i have to change)
Actually i pasted Html code (using paste html option).
kindly give the code where i have to change.
ALso i will write in full words . ok then
kindly give me reply ( i will wait for u r reply)
chand
|
|
|
|
|
Thanks for reply colin angus mackay,
can you please give me the complete flow step by step . i.e where i have to change in code.
please kindly write code(i.e the code i have to change)
Actually i pasted Html code (using paste html option).
kindly give the code where i have to change.
ALso i will write in full words . ok then
kindly give me reply ( i will wait for u r reply)
chand
|
|
|
|
|
kindly give me solution for my problem.
chand
|
|
|
|
|
Noone know what you want because we can't understand you. We have absolutely no idea what your asking.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I placed one webcontrol on form(web based application - c#.net).
i placed BUTTON . After execution iam unable to see my button on browser.
i also chked visible property . its set to true.
i am unable to find the prob .not only button any webctrl iam not able to display.
kindly solve my prob
chand
|
|
|
|
|
Given an object, how do I determine of the object is a collection of objects or a single object ?
- Thanks
|
|
|
|
|
|
To do that programmatically, just check for the IEnumerable interface.
<br />
bool IsCollection(object b)<br />
{<br />
return b is IEnumerable;<br />
}<br />
Regards
Senthil
My Blog
|
|
|
|
|
I have a situation where I need to load 8 key value pairs into a DataSet manually.
The data looks like this:
Mon -- 123.4
Tues -- 232.1
Wed -- 187.4
...
EOW -- 923.6
I have to get these values into a DataSet. Is there a better (less lines of code) way to load it into a DataSet than to create a DataTable manually?
This is what I have so far:
<br />
DataSet ds = new DataSet(); <br />
DataTable dt = new DataTable("MCDVals");<br />
dt.Columns.Add("Legend", typeof(string) );<br />
dt.Columns.Add("Value", typeof(double) );<br />
<br />
DataRow dr = dt.NewRow();<br />
dr("Legend") = "Monday";<br />
dr("Value") = 123.4;<br />
dt.Rows.Add(dr);<br />
<br />
<br />
ds.Tables.Add(dt);<br />
Thanks,
Adam
"...practice safe hex when IM'ing"
--Shawn L. Morrissey, Managing Editor, MSDN Online ( MSDN Flash; Volume 8, Number 20, 10/4/2004)
|
|
|
|
|
|
Just load it into the XML , it is very simple. and you have lots of methods to write , save ...xml using datasets
|
|
|
|
|
Like the other's suggested I would use XML also. In your case you are interested in the DataSet.ReadXml() and DataSet.WriteXml() methods. I would:
1) Input all the data by hand into my DataTable and then add that DataTable into a DataSet.
2) Call the DataSet's WriteXml() methods and pass a FileStream into it so you will end up with a file.
3) Now you can use that file as a template to manually change the Value tags in there.
4) When you are done with changing your Value tags you can call the DataSet's ReadXml() method, with another FileStream, to take all your data in the XML file and put it inside a DataTable and a DataSet.
-Peter
|
|
|
|
|
Hi,
Can anyone tell me a way to put my Application on to a web, This is right now a stand alone application with forms ,button ,tab controls ..etc , how do i make this web enabled.
I have tried to put the code under wwwroot on IIS and created a simple html file with a button to invoke my .exe file directly , but it throws an expection for security breach, then i have removed all the security issues and tried, then i get different error.
is there a simple way to move (convert) your stand alone Application to web based
thanks
Samar
|
|
|
|
|
This[^] is a good way to go.
"...practice safe hex when IM'ing"
--Shawn L. Morrissey, Managing Editor, MSDN Online ( MSDN Flash; Volume 8, Number 20, 10/4/2004)
|
|
|
|
|
|
Read this[^] to find out what it is.
"...practice safe hex when IM'ing"
--Shawn L. Morrissey, Managing Editor, MSDN Online ( MSDN Flash; Volume 8, Number 20, 10/4/2004)
|
|
|
|
|
Hi Adam,
I have read that and was lost , i would appreciate if someone could post a simple application with a form , and then call it from webbrowser. My aplication involves Microsoft Agent controls also with speech enabled.
samar
|
|
|
|
|
Here[^] is a code project article on the subject.
"...practice safe hex when IM'ing"
--Shawn L. Morrissey, Managing Editor, MSDN Online ( MSDN Flash; Volume 8, Number 20, 10/4/2004)
|
|
|
|
|
thanks i am going to try ,
thanks again
samar
|
|
|
|
|
I have a buffer containing MPEG-1 audio data. How can I play such data in C#, assuming I have the right codec installed, and using DirectX .NET ?
Thank you
|
|
|
|
|
I am trying to find a way to extract and send the contents of TEXT FILE 1, via email, to a list of email addresses in TEXT FILE 2.
So just to clarify, I would like some code which will rip the contents of Text File 1 and send the contents to everyone in Text File 2.
Any help received will be greatly appreciated.
Thanks,
|
|
|
|
|
You should just lookup the System.IO class for reading files. I think there is another class that works on top of a System.IO.Filestream or FileInfo or something. It reads text into strings.
As for the email, check out System.Web.Mail;
You are going to want something like:
SmtpMail.SmtpServer = theIP;
mailMsg = new MailMessage();
mailMsg.From = "stuff@stuff.com";
mailMsg.To = "recipient@anemail.com";
mailMsg.Subject = subject;
mailMsg.Body = body;
SmtpMail.Send(mailMsg );
Are confused about how you could actually traverse through the files in the text files?
Hope this helps,
Jim
|
|
|
|
|
|
Your spelling and phrasing makes it difficult for me to understand what you're asking. Do you want to print your form, and only your form? Or are you trying to print your form, and anything that's on top of the form (like the task manager)?
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Hallelujah! It's Ken Jennings!
Judah Himango
|
|
|
|
|
Sorry I talk french....
I want to print only my form event if there was another application in front (like task manager).
I can't use the class DrawControl because i use many control that i create.
Tanks
|
|
|
|