TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
SUNIL GUTTA
NA
1k
394k
TextBox output please ?
Oct 1 2013 5:24 AM
Hi friends
Well i do believe that string , object are reference types :) so there default values when not initialized should be NULL right ??
Humm now the problem ..
I have a textbox where when applied the text property on it te output should be in STRING FORMAT am i right here ??
Well now i applied like this
int a = Convert.toInt32(TextBox1.text);
messagebox.show(a);
But i am getting exception : Input string was not in a correct format.
I given no input to textbox i.e i hoped it will take NULL by default but its not happening .. instead its taking this "" .. Y Y Y .
I hope i am clear with my doubt ??
Ty for help
Have a nice day
Reply
Answers (
6
)
validate text boxes inside gridview code behind
Call by Reference And Call by value