Hi all;
<asp:TextBox ID="TextBox1" runat="server" Text='<%# DateTime.Now.ToLongDateString() %>'></asp:TextBox>
i need textbox text set DateTime.Now.ToLongDateString() how to make ?
must inline
I'm creating a database with what I anticipate will be a long (perhaps several paragraphs for some tuples) attribute. I'm assigning it text instead of varchar. I have two questions:
Should I give a maximum value for the text field? Is this necessary? Is it useful?
Since the contents of this field will be displayed on a website in HTML, do I need to include paragraph tags for paragraph formatting when I enter records into mysql?
What is the best way to remove all merge fields from a word 2010 document using openxml sdk 2.0, and replace them with a simple text? I have some difficulties to remove them cleanly. Have tried to remove all Run objects that includes a FieldCode with a "MERGEFIELD" defined, and appended a new Run with my text. But I am missing something crucial since the field seems to stay defined for this element.
I am looking for a solution for a single line Marquee horizontal text scroll with a fading effect using javascript (jquery if possible). Like a carousel text scroll. All the google searches gave me scrolling effects but with no fading effect.
I know that this can be done in flash but im avoiding it if there are other solutions.
Any help would be greatly appreciated.
Internet Explorer has an option to save a web page as a text file, with all the tags removed. I need a way to batch process that stuff for a project at work. Or there any command line utilities or libraries that can do the same thing for me? COM-interop with IE(not my first choice!)? It doesn't have to format exactly like IE, just give me plain text.
Hi,
I have to extract columns from a text file explained in this post:
http://stackoverflow.com/questions/2499746/extracting-columns-from-text-file-using-perl-similar-to-unix-cut
but I have to do this also in a Windows Server 2008 which does not have Perl installed. How could I do this using PowerShell? Any ideas or resources? I'm PowerShell noob...
Using sifr3-r436. First page load of seems fine. Reload page and sifr-alternate text always displays resulting in a double headline, one Flash text one HTML. Any ideas?
Please see example here:
http://v3.kevincarrollkatalyst.com/blog/
Hi,
How do I auto-resize the input type="text" field with jQuery? I want it to be like 100px wide at the start, then make it auto-widening as user inputs text... is that possible?
I like to read string from text file the text file consists of information below
con = new MySqlConnection("server=localhost;user id=root; password=""; database=workplantype; pooling=false;");
i like to read server name such as"localhost" here and user id such as"root" here,how can i read this.
Hello guys,
A quick question: how do I programatically select the text fragment of the page in FireFox? For example, there's a paragraph of text, user clicks the button and symbols from 10-th to 15-th are selected as if user dragged a mouse in a regular way.
What is the easiest way to detect a character in a text field?
I want to be able to detect a certain character and replace that character with another specific character.
So If I write in a text field... "zyxw" I want it to be replaced with "abcd".
I'm a newbie and don't really know where to start with this or how to go about it. If anyone has any methods of doing this, I would really appreciate it.
In the Crystal Reports editor that comes with Visual Studio (2008) is it possible to align text to the center of a text box rather than to the top?
I can't find the option anywhere and a Google search is not encouraging but I just can't bring myself to believe that they would not include such an obvious feature.
I have the below text field in my page:
<input class="message" id="message" name="message" type="text" size="65" />
For some reason in the latest FireFox for OS X it is about 200pixels wider than it is in the latest Chrome (mac/pc) FireFox(pc) and IE(pc)
Any suggestions on how I can fix this or why this is happening?
I am building a web site similar to Craigslist. I would like to know how to store the html formatted text (bold / italics / font size etc) in a sql 2008 database?
In order words, the user would enter their text, format it with font size, bold etc and save the information. Whats the most efficient way to store that in a database?
browsing some html code I find a text input coded as:
<input type="text" name="Email<%=orderRow.ID %>_<%=i %>" class="{email: true}" />
but need help understanding what's happening with the class declaration. It's not part of hte .net-ness of the page, right - lack of '<%' and '%' is telling me that. But I haven't seen an object used in a class name before.
thx
I have a file that looks something like this:
ABC
DEF
GHI
I have a shell variable that looks something like this:
var="MRD"
What I want to do, is to make my file look like this:
ABC
MRD
DEF
GHI
I was trying to do this:
sed -i -e 's/ABC/&$var/g' text.txt
but it only inserts $var instead of the value. I also tried this:
sed -i -e 's/ABC/&"$var"/g' text.txt
but that didn't work either. Any thoughts?
Thanks!
I would like to check if some text node is 'in a button'. As for checcking if the text is 'part of a link' we use isInAnchor, what would be needed for the button issue?
Thanks.
I need a text file in the form:
aardvark : animal
atlas : collection of maps
.
.
.
.
.
and so on.
I want to use this text file to create my own dictionary like Artha or Wordweb.It will be Python based with Tkinter for GUI.
Where can I obtain such a file.
I'm trying to validate the entry of text using Python/tkInter
def validate_text():
return False
text = Entry(textframe, validate="focusout", validatecommand=validate_text)
where validate_text is the function - I've tried always returning False and always returning True and there's no difference in the outcome..? Is there a set of arguments in the function that I need to include?
Edit - changed from NONE to focusout...still not working
Currently i have sql-server nvarchar(max) column which has text that starts with
"""
The only thing that varies in the pattern is the < in the class name.
The common part is
""
Some sample values are
""
""
""
All the
These span text are present only at the beginning of the column. Any such matching span in the middle should not be removed or matched.
Whats the sql server query with regex to remove all these occurance of span?
i used jquery's jqrte text editor which u can download from jqframework.com/jqrte but it has many draw backs.
could any one please suggest me lite weight jquery text editor with common tools as well as table, image upload link with browse button.
thanks in advance..
I need to detect whether the text within a cell is struck out or not. I'm using this:
Cell cc = sheet.getCell("B1");
CellFormat format = cc.getCellFormat();
System.out.println(format.getFont().isStruckout());
but I remember I read somewhere that CellFormat is deprecated and CellFeatures should be used instead. How could one find out whether a text is struck out using CellFeatures?