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:724092
More Search Options
RSS Available
Matching Posts
DateTime.TryParseExact is not working
Hello I have a texbox where user wites his birthday, for example (1.12.1990). In code behind, i have the folowing code if (txt_birthDay.Text != "") { DateTime MyDateTime; if (DateTime.TryParseExact(txt_birthDay.Text, "d.MM.yyyy", null, DateTimeStyles.None, out MyDateTime) == false) { MyDateTime = DateTime.MinValue; param = comm.CreateParameter(); comm.Parameters.AddWithValue("@birthDay", MyDateTime); } } Even if i write any random string in txt_birthDay textbox, if
Posted to
C#
(Forum)
by
zuperboy90
on 12/7/2009
Re: DateTime.TryParseExact is not working
Look at this example: protected void Page_Load(object sender, EventArgs e) { DateTime MyDateTime; if (DateTime.TryParseExact("abvd", "d.MM.yyyy", null, DateTimeStyles.None, out MyDateTime) == false) { // handle any errors MyDateTime = DateTime.MinValue; Label1.Text = MyDateTime.ToString(); } else Label1.Text = "date is not good!"; } When it loads, label1 text is " 01.01.0001 00:00:00", so if(...) returns true
Posted to
C#
(Forum)
by
zuperboy90
on 12/7/2009
Re: DateTime.TryParseExact is not working
Thank you! Both of you are right .
Posted to
C#
(Forum)
by
zuperboy90
on 12/7/2009
question about meta keywords
Hello I have a auctions website, made in my language (romanian). I used diacritics like Ăă, Ââ, Îî, Țț, Șș for a correct grammar . To have a good relevancy of meta keywords, i need to add the categories name on <meta keywords>, but i must use diacritics too. For example, if i have a category named "Antichități" (Antiques), in meta keywords i must add the word "Antichități" (with diacritics) to have a good score at SEO. My question is: if someone searches on Google for example
Posted to
Getting Started
(Forum)
by
zuperboy90
on 12/6/2009
removeChild() function is not working on buttons
Hello I have a <div id="div1"> element. Inside div1 i have two buttons: <input type="submit" id="button1" value="Contact" /> <input type="submit" id="button2" value="Spam" /> and a <span> witch contains a comment made for the current product. I need to delete button1 and button2 using a javascript function, but is not working Here is my function: function delete_button() { var div1 = document.getElementById
Posted to
Client Side Web Development
(Forum)
by
zuperboy90
on 10/28/2009
Re: removeChild() function is not working on buttons
Ok, i have the folowing html code: <div id="ctl00_ContentPlaceHolder1_repeaterArataComentariileProdusului_ctl01_panel_comentariu"> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tbody> <tr> <td align="left" valign="top" class="td_dreapta"> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tbody> <tr>
Posted to
Client Side Web Development
(Forum)
by
zuperboy90
on 10/28/2009
Re: help me with a select statement, please
Incredible!! Thank you!!
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
zuperboy90
on 10/14/2009
help me with a select statement, please
Hello In my database, i have tabels: Products, Categories, Subcategories and Subsubcategories Each Subcategory belongs to a Category and each Subsubcategory belongs to one of the Subcategories And each product belongs to one Subsubcategory or to one Subcategory. I am trying to select all the subcategories that a category have, and showing the number of product each subcategory have got. The code i am having and is working is that: SELECT s.[SubcategoryID], s.[Name], COUNT(p.[ProductID]) AS 'count'
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
zuperboy90
on 10/14/2009
how to connect two databases, pls help me
Hello I have a question... I have two same databases on two computers Is there any way to connect the databases between that computers via internet using SQL Server Manager? I need to copy some rows from database from PC1 to database from PC2, using a query Please help me, my job depends on that
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
zuperboy90
on 9/29/2009
Re: how to connect two databases, pls help me
[quote user="Rajneesh Verma"]you can connect it with there ip as server name...[/quote] can you explain to me how can i do that? Many thanks
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
zuperboy90
on 9/29/2009
Page 1 of 66 (655 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
IIS.NET:
URL Rewriter and Reverse Proxy
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
IIS.NET:
DebugFinder
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Channel 9:
Reactive Extensions API in depth: CombineLatest
Channel 9:
C9 Lectures: Dr. Graham Hutton - Functional Programming Fundamentals Chapter 11 of 13
WindowsClient:
New WPF Showcase: Scrum Sprint Monitor
WindowsClient:
WPF/XAML helping VS2010 Extensibility
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online