Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:718685
More Search Options
RSS Available
Matching Posts
Re: How to change the font on a Label Control ?
Thanks privatefontcollection class, this is only for windows forms?
Posted to
Web Forms
(Forum)
by
cafeasp
on 11/29/2008
How to change the font on a Label Control ?
I have a font "ttf" on my project that I would like to assign to my label controls at runtime. How do you change font? I found a piece of code but it does not work. Error: Label.Font is a FontInfo not a Font. Any ideas? PrivateFontCollection myFont = new PrivateFontCollection(); myFont.AddFontFile(Server.MapPath( "fonts/fontName.ttf" )); FontFamily thisfont = myLoginFont.Families[0]; Font regFont = new Font(thisfont, 16, FontStyle.Regular, GraphicsUnit.Pixel); Label.Font=regFont;
Posted to
Web Forms
(Forum)
by
cafeasp
on 11/29/2008
Filed under: change font control
Re: Display Image in GridView
For now, I will just create a Virtual Directory in IIS in my application and format my url to that folder. The only this is that url path in my table will have to change or at least return a correct format.
Posted to
Data Presentation Controls
(Forum)
by
cafeasp
on 1/5/2008
Display Image in GridView
I have a Products Table with Item,UnitsInStock,ImagePath Like: Item | UnitsInStock | ImagePath Beer | 100 | c:\images\beer.jpg This must be ezy, How to I display the image in a GridView using the table file path column ImagePath ? Thanks
Posted to
Data Presentation Controls
(Forum)
by
cafeasp
on 1/4/2008
Re: List of all countries, and cities for register dropdown list
try this: http://www.zoomandgo.com/tophotelsABC.asp
Posted to
Getting Started
(Forum)
by
cafeasp
on 12/30/2007
Re: Create files and folders on server
1) on your webserver, the folder you save the dll 2) depends, are you using a hosting site ? or is the webserver yours ? the Security tab is found when you right-click a file or folder If you still don't see it you probably need to go to Folder options--> View-->Go to the last part of it and uncheck the Use Sharing Wizard -->OK Now you try to do a right click, the security tab should show up.
Posted to
Getting Started
(Forum)
by
cafeasp
on 12/25/2007
Re: Using smart tags or using Code
[quote user="cafeasp"] but it's always go to get your hands dirty with code. [/quote] Sure, smart tags were made to speed up the process. But everybody needs to understand the code behind specially if somebody really wants to become a developer.
Posted to
Getting Started
(Forum)
by
cafeasp
on 12/25/2007
Re: Download Files in vb
check this link, it has a sample. http://apriendavisualstudio.net/c/how-to-download-a-file-from-webserver-c/
Posted to
Getting Started
(Forum)
by
cafeasp
on 12/25/2007
Filed under: Download Files
Re: How to select Data from DB
You have: SQLString = "SELECT Count(*) FROM ShoppingCart " & _ "WHERE OrderID = '" & Session("OrderID") & "' " & _ " AND ProductID = '" & FVProductID.Text & "'" try: Dim SQLString As String = "SELECT Count(*) FROM ShoppingCart " & _ "WHERE OrderID = " & Session( "OrderID" ).ToString() & _ "AND ProductID = " & FVProductID.Text & " '"
Posted to
Getting Started
(Forum)
by
cafeasp
on 12/25/2007
Re: Best way to learn .net ?
check out some videos.... http://www.asp.net/learn/videos/
Posted to
Getting Started
(Forum)
by
cafeasp
on 12/23/2007
Page 1 of 10 (99 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online