I develop a C# code and read data from serial port and display it in a textbox;
I want to stop display if when I recive repetitive data. and when receive another data display start again.
Would you please help me?
View Complete Post
This is the current code I am using:
<asp:TextBox ID="txtBoxComments" runat="server" MaxLength="5000" ReadOnly="true" Rows="1" Text='<%# Eval("Comments") %>'
TextMode="MultiLine" Width="100%" Wrap="true" />
On my Asp.Net GridView I am binding a textbox to a field in SQL. Sometimes the content of the textbox is more than 1 line and I need to show only the LAST line. How can I do that? Here is part of my code...notice that I use Rows=1 on purpose so thatI am able to show only 1 line but I need it to scroll all the way down and have it show only the last line of the whole content:
<ItemTemplate> <asp:TextBox ID="txtBoxComments" runat="server" MaxLength="5000" ReadOnly="true" Rows="1" Text='<%# Eval("Comments") %>' TextMode="MultiLine" Width="100%" Wrap="true" /><ItemTemplate>
iam uing ajax to check availblity of username from sql. evrythng is working fine ...only the thing is the image i want to dispaly aftr the text using:http://encosia.com/2007/07/02/aspnet-username-availability-checking-via-ajax/ but how to display images aftr the text box...it displays in next line ..please can u help me ..how to display images next to texbox...
I have a list which accepts incoming emails. The original email is saved to this list as a eml file. Why is it when I click on this file it asks me to save the file to my computer without the option to open? I would like outlook express
to open this email instead of downloading it. I can download it and then double click the eml file which outlook express then opens.
i have a gridview in which i have added two textboxes .
the second textbox is placed in footer of gridview
wht i want is when the user enters values in the first textbox the total of these textboxes should be displayed in footer row.
I have an sql scalar function (FN_GET_ENQ_NO()) which returns a unique enquiry no.
Now i want to display this enquiry no. to my asp:textbox on web page.
I have made all the connection strings to my sql server database. Even i had pulled the data from stored procedures. But clueless in above issue.
How can i achieve this?
plz rep asap
thanx and regards
I have a multi-line text box that sits in an optional section. This optional section is within another optional section. When it is displayed it has CR removed. I know that it does work when there is only one encompassing section.
Does anyone know how to stop this happening? Any clever little tricks...;)
Actually - just tested again and I can get it to work sometimes i.e. when I first open the form, but then it will remove CR from the mentioned section when another optional section is opened - any ideas????