Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
AnswerRe: Exception: Array index out of bounds Pin
Tehnoon18-Apr-06 22:09
Tehnoon18-Apr-06 22:09 
GeneralRe: Exception: Array index out of bounds Pin
J4amieC18-Apr-06 22:11
J4amieC18-Apr-06 22:11 
AnswerRe: Exception: Array index out of bounds Pin
Guffa18-Apr-06 22:09
Guffa18-Apr-06 22:09 
GeneralRe: Exception: Array index out of bounds Pin
Kranti125198418-Apr-06 22:18
Kranti125198418-Apr-06 22:18 
GeneralRe: Exception: Array index out of bounds Pin
J4amieC18-Apr-06 23:06
J4amieC18-Apr-06 23:06 
GeneralRe: Exception: Array index out of bounds Pin
Kranti125198418-Apr-06 23:09
Kranti125198418-Apr-06 23:09 
GeneralRe: Exception: Array index out of bounds Pin
J4amieC18-Apr-06 23:48
J4amieC18-Apr-06 23:48 
GeneralRe: Exception: Array index out of bounds Pin
Kranti125198419-Apr-06 0:24
Kranti125198419-Apr-06 0:24 
the complete code is as follows ...

//..................................

String connectionString = "Dsn=pgTEducation;database=teducation;server=192.168.0.135;port=5432;uid=divinet;readonly=0;protocol=6.4;fakeoidindex=0;showoidcolumn=0;rowversioning=0;showsystemtables=0;fetch=100;socket=4096;unknownsizes=0;maxvarcharsize=254;maxlongvarcharsize=8190;debug=0;commlog=0;optimizer=1;ksqo=1;usedeclarefetch=0;textaslongvarchar=1;unknownsaslongvarchar=0;boolsaschar=1;parse=0;cancelasfreestmt=0;extrasystableprefixes=dd_;lfconversion=1;updatablecursors=1;disallowpremature=0;trueisminus1=0;bi=0;byteaaslongvarbinary=0;useserversideprepare=0";

OdbcConnection conn = new System.Data.Odbc.OdbcConnection(connectionString);

String classStartTime;

conn.Open();

String myQuery = "Select starttime from tblecture";

OdbcCommand myCommand = new System.Data.Odbc.OdbcCommand(myQuery, conn);

OdbcDataReader dataReader = myCommand.ExecuteReader();

try
{
while (dataReader.Read())
classStartTime = dataReader.GetTime(0).ToString();
}
finally
{
dataReader.Close();
conn.Close();
}

//..................................

thanks,
Kranti
GeneralRe: Exception: Array index out of bounds Pin
J4amieC19-Apr-06 0:40
J4amieC19-Apr-06 0:40 
Questioncombo boxes and picture uploading in c# Pin
nomsnoms18-Apr-06 21:02
nomsnoms18-Apr-06 21:02 
GeneralRe: combo boxes and picture uploading in c# Pin
Yuvi Panda19-Apr-06 2:46
Yuvi Panda19-Apr-06 2:46 
Questionusage of GE API Pin
naveedqau18-Apr-06 20:18
naveedqau18-Apr-06 20:18 
QuestionHow we transfer a table from dbf to sql server 2000 through programming in c# with table schema Pin
Vinod Soni18-Apr-06 20:17
Vinod Soni18-Apr-06 20:17 
Questionexport the contents of a datagrid to a SQL 2000 Pin
Gavish George18-Apr-06 20:03
Gavish George18-Apr-06 20:03 
QuestionRegex.Split() produces extra null strings Pin
Vikram A Punathambekar18-Apr-06 19:58
Vikram A Punathambekar18-Apr-06 19:58 
AnswerRe: Regex.Split() produces extra null strings Pin
Guffa18-Apr-06 20:48
Guffa18-Apr-06 20:48 
GeneralRe: Regex.Split() produces extra null strings Pin
Vikram A Punathambekar18-Apr-06 21:19
Vikram A Punathambekar18-Apr-06 21:19 
GeneralRe: Regex.Split() produces extra null strings Pin
Jon Hulatt19-Apr-06 0:53
Jon Hulatt19-Apr-06 0:53 
QuestionWriting rtf in word document Pin
_mubashir18-Apr-06 19:51
_mubashir18-Apr-06 19:51 
AnswerRe: Writing rtf in word document Pin
mav.northwind19-Apr-06 2:05
mav.northwind19-Apr-06 2:05 
AnswerRe: Writing rtf in word document Pin
Roy Heil19-Apr-06 7:49
professionalRoy Heil19-Apr-06 7:49 
QuestionIs there any easier way to open Directory for Exploring Pin
emran83418-Apr-06 16:04
emran83418-Apr-06 16:04 
AnswerRe: Is there any easier way to open Directory for Exploring Pin
LongRange.Shooter18-Apr-06 17:48
LongRange.Shooter18-Apr-06 17:48 
GeneralRe: Is there any easier way to open Directory for Exploring Pin
emran83419-Apr-06 13:15
emran83419-Apr-06 13:15 
AnswerRe: Is there any easier way to open Directory for Exploring Pin
alexey N18-Apr-06 22:57
alexey N18-Apr-06 22:57 

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.