Profile
Achievement
emregulcan's Recent SnippetsTagged c
- All /
« Prev 1 Next »
This snippet is "extension method" for IDataReader.
You can use this snippet below ;
I assume you have datareader like that
SqlDataReader dataReader = command.ExecuteReader();
if (dataReader.IsColumnExists("columnName"))
{
//do something...
0
1289
posted 13 years ago by emregulcan
You can get all countries list by this method.
Also you can find some details for countries like;
- original name,
- three letter ISO region name,
- three letter WINDOWS region name,
- currency symbol
etc..
1
981
posted 14 years ago by emregulcan
You can change your dynamic binding eval text with this method.
This method should be in same codebehind
0
808
posted 14 years ago by emregulcan