i've been researched around but didn't find the right answer. I am using a Winform and in the rich text box i want to display a hyperlink in this format:
is there a way to achieve this?
Any hint will be appreciated.
View Complete Post
i am binding images dynamically(back end)for a datalist .iam applying a slideshow for it .I am getting a problem to apply slideshow for dyanmically binded images.If the define in a div statically it working perfectly
for example pls go through my code below:
<div class="slideshow"> <img src="images/30_dummy.jpg" width="200" height="200" /> <img src="images/aquarius.gif" width="200" height="200" /> <img src="images/star.gif" width="200" height="200" /> <img src="images/the-proud-indian-flag-1.jpg" width="200" height="200" /> </div>
I above code works perfectly and the slide show e
i am using create user wizard and capturing other information within content template when a new user
registers. Some of the textboxes are binded to required field validators.
there is a validation control on the page and ShowMessage box is True.
If they dont complete some of the text boxes then the message box pops Up with the error message.
It does not however include information errors like "User already exists" or Email address already exists
from the create user wizard membership UserName and Password Textboxes
is it possilbe to hook all of these up so I get one message box with all errors including membership ones?
I've created a SetupWizard, but can't get it to show the Icon for the shortcut on desktop and program menu. The installation goes fine without any errors, the only problem is the icon.
I've made a shortcut of my exe file in the Application Folder and dragged the shortcut to the Desktop folder, then on the shortcut properties, I assigned it an icon picture located in Application Folder.
Any suggestions will be very much appreciated.
// Update these variables to values whatever you are storing in your table
// If you are storing as CARD NUMBER, update this Card Number Attribute Name to CARD NUMBER
string strCardNumberAttributeName = "Credit card number";
// string strCardTypeAttributeName = "1";
string strExpiryDateAttributeName = "Expiry date";
DataTable dtPaymentDetails = new DataTable();
string queryString = "SELECT tbl_Payments.PaymentId, tbl_PaymentDetails.AttributeName, tbl_PaymentDetails.Value, tbl_Payments.PaymentType FROM tbl_Payments INNER JOIN tbl_PaymentDetails ON tbl_Payments.ID = tbl_PaymentDetails.PaymentId WHERE ATTRIBUTENAME IN ('" + strCardNumberAttributeName +
"','" + strExpiryDateAttributeName + "') ORDER BY PaymentId";
string connectionString = "data source=.\\SQLEXPRESS;Integrated Security=SSPI;" +
using (SqlConnection connection = new SqlConnection(connectionString))
SqlCommand command = new SqlCommand(queryString, connection);
SqlDataReader reader = command.ExecuteR
Hey, I need some help modifying the menu adapter code to give child <ul> elements a class value indicating that the parent is selected. It should render like this:
< ul class="AspNet-Menu">
< li class="AspNet-Menu-WithChildren AspNet-Menu-ChildSelected">
< a href="/rockit/admin/Default.aspx" class="AspNet-Menu-Link AspNet-Menu-ChildSelected">
< span>Mypage< /span>< /a>
< ul class="AspNet-Sub AspNet-Sub-Selected">
< li class="AspNet-Menu-Leaf AspNet-Menu-Selected">
< a href="/rockit/admin/Default2.aspx" class="AspNet-Menu-Link AspNet-Menu-Selected">
< span>Test< /span>< /a>
< li class="AspNet-Menu-Leaf">
< a href="/rockit/Default3.aspx" class="AspN
MSDN Magazine May 2004
LinkLabels are Windows Forms controls that enable a user to hyperlink to a URL that points to either the Web or the local directory system. While the SDK documentation discusses the control, it does not demonstrate how linking is accomplished, nor does it outline the power and flexibility the control provides. This article fills those gaps, showing how to link using the LinkLabel control. It also shows the flexibility of this control for the programmer using the .NET Framework. In addition, the author covers the large number of properties that allow you to customize your controls and accurately place them. Their built-in behaviors are also discussed, along with their use in both Visual Basic .NET and C#.
MSDN Magazine February 2003
I have a form where I took 2 dropdownlists. In 1st ddl I displayed all Religions and in 2nd DDL I displayed related castes. When my user filled the form so everything saved it. But when user logged in I unable to show him his choosen caste. Religion I displayed throgh RellgionId. But I don't understand how to do that?
Can anyone tell me where I am doing mistake?
I would like to make the build information for the running web application but I dont know where I set or configure this nor do I know how to retrieve this information.
In a project you may set the build information in the file AssemblyInfo.cs under the projects Properties folder. Here is a snippet of the AssemblyInfo.cs file:
// Version information for an assembly consists of the following four values:
// Major Version
// Minor Version
// Build Number
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
But there is no such file for an web application project, so I have to get this information from one of the compiled DLLs that is in the same assembly as my web application then? Or how is this done?
The reason I want this information is because my customer would like to have a webpage within the web application where he could see the current version. This is also nice to have when testing and debugging etc.
i have a table there is 17 columns in 17 column 3 are number and other are varchar . when i try to display all data of that column error occures.
one more intersting think is when i try to display 6 column then grid show there data an no more error occures.
when i run my project this error occures in grid view
Arithmetic operation resulted in an overflow.
I have Two Checkbox in my asp.net textbox..
First what i want is
based on two checkbox user has to be select any one only..
if checkbox1 is selected then Panel1 visible true without postback
if checkbox2 is selected then Panel2 visible true without postback
Hi guys. I have two little problem.
I have database with one table and it has 4 rows.
1. I want to show a zero in front of all number. Actually i added but it doesn't show.
2. If i don't put any value in column is it possible to have minus for example instead of 0?
I post it like that because i can't see how to post pics directly.
P.S. The columns with numbers have checked "allow nulls".
I draw in paint so it's not so good but i think it's understandable.
10x in advance.
thanks a bunch,kowalsky
OK, what is the problem here?
I do a gridview code that when displaying the information that come from the database is not showing any error at all, but is not displaying the right picture.
The problem, I think, is that the (Eval("....") is not reading the values that are coming from the DataKeysNames. Due to this the right pictures are not displayed. But in another column, just for testing purposes I was able to display the values from DataKeysNames with the Eval. So I do not know what is going on and to make worse browser is not giving me any error.
So, this is the line that is not processing, reading or executing well:
ImageUrl='<%# IIF( (Eval("TUDTIWasItemUpgraded")) = "Yes", string.Format("~/Images/ItemUpgradedTo.gif"), string.Format("~/Images/ItemNoUpgradedYet.gif") ) %>'
And this is the complete code for the GridView