#AsuultSambar :

ASUULT.NET - МОНГОЛ УЛС МАНДАН БАДРАГ!
It is currently Apr.25.18 7:35 am

All times are UTC+09:00




Post new topic  Reply to topic  [ 601 posts ]  Go to page Previous 120 21 22 23 24
Author Message
 Post subject: Re: Visual c# .NET
PostPosted: Sep.09.15 1:56 pm 
Offline
Эрчлэх Сумны Исгэрээ Гишvvн
Эрчлэх Сумны Исгэрээ Гишvvн
User avatar

Joined: Feb.23.06 8:12 pm
Posts: 211
Location: UB
keygenme wrote:
neg textboxiin utgiig zuger awcaad daraagiin textbox-n utga dr string bn gd bdg????
:??: :??: :??:
Image

yer ni bol hoyulaa buruu l daa. Convert hiih heregtei

_________________
Сайхаан сайхан.....


Top
   
 Post subject: Re: Visual c# .NET
PostPosted: Jun.10.16 10:30 pm 
Offline
Шинэков Гишvvн
Шинэков Гишvvн

Joined: Jun.10.16 10:16 pm
Posts: 1
Code:
Public Shared Function ToDouble (
   value As String
) As Double

Convert hiih logic ni
Code:
Convert.ToDouble(L1txt.Text)


Top
   
 Post subject: Re: Visual c# .NET
PostPosted: Jan.04.17 6:45 am 
Offline
Өсөх Ирээдvйтэй Гишvvн
Өсөх Ирээдvйтэй Гишvvн

Joined: Jan.04.17 6:18 am
Posts: 3
Location: Europe
System.Reflection wrote:
Code:
Public Shared Function ToDouble (
   value As String
) As Double

Convert hiih logic ni
Code:
Convert.ToDouble(L1txt.Text)


Umnuh cast ni aldaagui davchihsan baina sht. "L1txt" (Text gesen property-teig bodvol textbox bololtoi) ni null check-guigees haysan exception baina sht.

Miniiheer bol textbox control-iinhoo utgiig avahdaa IsNullOrWhiteSpace ashiglaval aldaagui garch irne baih.
https://msdn.microsoft.com/en-us/library/system.string.isnullorwhitespace(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 601 posts ]  Go to page Previous 120 21 22 23 24

All times are UTC+09:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Copyright Asuult.NET © 2000-2015.
Administrative Contact: Khundaga Khurelbaatar [hundaga@hotmail.com]
Tel: 1-888-303-4927, Fax: 1-888-406-2264.
Powered by phpBB © 2000-2015 phpBB Group. Powered by phpBB® Forum Software © phpBB Limited