Click here to Skip to main content
15,880,405 members
Home / Discussions / Mobile
   

Mobile

 
QuestionPhoneGap Applications Pin
Sudhakar Shinde12-Mar-13 22:06
Sudhakar Shinde12-Mar-13 22:06 
QuestionPIC-32 UART Receives Only Ten Bytes Then No More Pin
C-P-User-38-Mar-13 11:16
C-P-User-38-Mar-13 11:16 
Questionhow the android mobile can fetch a voice from application on it and send it by calling Pin
saad20005-Mar-13 9:24
saad20005-Mar-13 9:24 
QuestionAPP Demographics Pin
mauricemcse1-Mar-13 7:28
mauricemcse1-Mar-13 7:28 
Questionopen layout (Main.axml) in disigner in VS2010 Pin
jojoba201125-Feb-13 23:25
jojoba201125-Feb-13 23:25 
QuestionAndroid renderscript. Pin
BupeChombaDerrick25-Feb-13 3:48
BupeChombaDerrick25-Feb-13 3:48 
NewsSolved: Pin
BupeChombaDerrick26-Feb-13 22:26
BupeChombaDerrick26-Feb-13 22:26 
Questionandroid + C# + SQL Server 2008 Pin
jojoba201124-Feb-13 21:52
jojoba201124-Feb-13 21:52 
Hi world,
i am using this code to get info from my sql server 2008.
this is working well in "Debug" mode but cannot run app in mobile(only release work for mobile) SO when i wanna to (Release mode) release it (.apk) and send to my samsung android mobile ,and when i run the app and click on button i get error :
Unhandled Exception CODEPAGE="1256″ not supported


i think it doesnt support
IDbConnection
in Release !


and my code is :

void button_Click(object sender, EventArgs e)
       {

               TextView txts = FindViewById<TextView>(Resource.Id.txt);
               txts.Text = "Salam Ali Joon !";
               string namess = "";
               string connectionString = "Server=217.66.216.77,1633;" +

                   "Database=testinDB;" + "User ID=testing;" + "Password=arew;";
               try
               {
           IDbConnection dbcon;
               using (dbcon = new SqlConnection(connectionString))
               {
                   dbcon.Open();
                   using (IDbCommand dbcmd = dbcon.CreateCommand())
                   {
                       string sql = " SELECT * " +
                                    " FROM persons.[user] ";
                       dbcmd.CommandText = sql;
                       using (IDataReader reader = dbcmd.ExecuteReader())
                       {
                           while (reader.Read())
                           {
                               string FirstName = (string)reader["UserName"];
                               namess = "user name is : " + FirstName;
                               //string LastName = (string)reader["LastName"];
                               //namess += "Name: " +FirstName + " " + LastName;
                           }
                           reader.Close();
                           dbcon.Close();
                       }
                   }
               }
               txts.Text = namess;
           }
           catch (Exception ex)
           {
               txts.Text = ex.Message;
           }
       }


HELP Please !
NewsSolved ! Pin
jojoba201125-Feb-13 20:04
jojoba201125-Feb-13 20:04 
Questionwanna Email Address Hossein Khalaj Pin
jojoba201118-Feb-13 0:04
jojoba201118-Feb-13 0:04 
AnswerRe: wanna Email Address Hossein Khalaj Pin
Pete O'Hanlon18-Feb-13 0:14
mvePete O'Hanlon18-Feb-13 0:14 
QuestionUse MessageBox In the Mono for Android in the Visual Studio 2010 Pin
Rafael Soares de Almeida13-Feb-13 9:52
Rafael Soares de Almeida13-Feb-13 9:52 
AnswerRe: Use MessageBox In the Mono for Android in the Visual Studio 2010 Pin
Prasad Khandekar2-May-13 19:35
professionalPrasad Khandekar2-May-13 19:35 
QuestionWhich tablet platform is most secure? Pin
oleg638-Feb-13 8:00
professionaloleg638-Feb-13 8:00 
AnswerRe: Which tablet platform is most secure? Pin
Richard MacCutchan8-Feb-13 22:45
mveRichard MacCutchan8-Feb-13 22:45 
GeneralRe: Which tablet platform is most secure? Pin
oleg6311-Feb-13 4:50
professionaloleg6311-Feb-13 4:50 
GeneralRe: Which tablet platform is most secure? Pin
Richard MacCutchan11-Feb-13 5:06
mveRichard MacCutchan11-Feb-13 5:06 
GeneralRe: Which tablet platform is most secure? Pin
oleg6311-Feb-13 5:09
professionaloleg6311-Feb-13 5:09 
GeneralRe: Which tablet platform is most secure? Pin
Richard MacCutchan11-Feb-13 5:12
mveRichard MacCutchan11-Feb-13 5:12 
GeneralRe: Which tablet platform is most secure? Pin
Richard MacCutchan11-Feb-13 5:13
mveRichard MacCutchan11-Feb-13 5:13 
GeneralRe: Which tablet platform is most secure? Pin
oleg6311-Feb-13 5:49
professionaloleg6311-Feb-13 5:49 
GeneralRe: Which tablet platform is most secure? Pin
Richard MacCutchan11-Feb-13 5:59
mveRichard MacCutchan11-Feb-13 5:59 
GeneralRe: Which tablet platform is most secure? Pin
oleg6311-Feb-13 6:01
professionaloleg6311-Feb-13 6:01 
Questionc# mobile tcp connection to printer Pin
kubi0813-Feb-13 22:56
kubi0813-Feb-13 22:56 
AnswerRe: c# mobile tcp connection to printer Pin
kubi0814-Feb-13 1:00
kubi0814-Feb-13 1:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.