|
how to insert table into Richtextbox?
using c#
|
|
|
|
|
|
Hi all,
Hope you are doing good!!
I would like to extract the comment written by developer in xls/xml/text file or in any other type.
so basically, extract any type of comment written by developer in c# page, would like to extract.
Thanks
Regards
Keyur Satyadev
|
|
|
|
|
Start with defining the requirements: what's a comment in an xls (Excel?) file? How do you recognize a comment in a plain text file? With XML, there's a specification for comments. And what's a C# page - do you mean a C# source code file?
|
|
|
|
|
Yes Please, Comment will be standard comment which we are using with summary.
i.e.
///<summary>
///<summary>
These comments are required to extract from c# source code file to either in XLS/Word/XML or any type of file.
Let me know still if you have any questions with regards to post.
Regards
Keyur Satyadev
|
|
|
|
|
|
how are you wanting it to work? developer loads source code?
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Yes if required, developer will load source code. but just to make sure code doesn't get affected and will get comments from source code.
Thanks
Regards
Keyur Satyadev
|
|
|
|
|
if it is for documentation I would have a look at Sandcastle[^].
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
When I choose to make an assembly "COM Visible" in the Assembly properties dialog box, will that make it visible on whatever machine it gets deployed on, even with xcopy deployment?
If not, what must I do to make the assembly COM visible on the machines to which it is deployed?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
A COM componenet must be registered. For unmanaged COM components, use regsrv32. In case of managed COM components, you need regasm.
|
|
|
|
|
That's easy enough. Thank you.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I am selecting the date field in the table contained in the access, but registration is with the time part.
21/08/2013 00:00:00
How can i do, for remove 00:00:00 parts ?!
I tried:
textnox_1.text = String.Format("{0:MM/dd/yyyy}",field);
But not resolved.
|
|
|
|
|
What does "not resolved" mean? Did it display a time-part in the textbox? Or are you trying to remove it from the database itself?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
the time-part does not remove !
|
|
|
|
|
As Eddy has said, your explanation is not very clear!
Your use of stringformat indicates you are trying to display a datetime - what you have will work for the display.
If you are then storing the value in a datetime field in database it MUST always have a time component and will be 00:00:00 for that format. You can use the Date format in SQL Server but that is a relatively new data type.
NEVER store dates as strings.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
youtextnox_1.text = DateTime.Parse(field).ToString("MM/dd/yyyy");
|
|
|
|
|
|
textnox_1.text = DateTime.Pares(field).ToString("MM/dd/yyyy");
|
|
|
|
|
You can use as mentioned below :
textnox_1.text = field.ToString("MM/dd/yyyy");
Note : DataType of the field should be datetime. otherwise you will have to convert it to DateTime.
Regards,
CodeBlack
|
|
|
|
|
Good day everyone. Iam am tying to study cryptography and how to implement it. I am quite good at c# and understand a great deal of concepts in c++ and willing to learn more. Please I would like someone to put me through on this subject i.e cryptography. any help will be appreciated.
|
|
|
|
|
|
Thank you very much ThePhantom, your suggestion was really helpful. Am really grateful.
|
|
|
|
|
Free courses on Coursera
Cryptography I[^]
Cryptography II[^]
It's well known that if all the cat videos and porn disappeared from the internet there would be only one site left and it would be called whereareallthecatvideosandporn.com
|
|
|
|
|
Many thanks to you Chris. I am really grateful.
|
|
|
|