ASP.NET C# and SQL 2008: Problems & Solutions
Friday, 22 March 2013
Convert: Data Type from one to another
Convert string to integer:
string str;
int id;
id=int.parse(str);
Convert string to boolean:
string str;
boolean id;
id=convert.ToBoolean(str);
Convert
.
ToBoolean
(
radiobtn_hrds
.
SelectedValue
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment