Click here to Skip to main content
15,914,905 members
Home / Discussions / Database
   

Database

 
GeneralRe: FireBird Database with .Net 2.0 Pin
pmarfleet16-Feb-08 8:55
pmarfleet16-Feb-08 8:55 
Questionhow to show row wise record column wise Pin
mohd imran abdul aziz16-Feb-08 1:26
mohd imran abdul aziz16-Feb-08 1:26 
AnswerRe: how to show row wise record column wise Pin
pmarfleet16-Feb-08 9:06
pmarfleet16-Feb-08 9:06 
Questiontrigger and procedure Pin
RajeevKumarSharma15-Feb-08 23:37
RajeevKumarSharma15-Feb-08 23:37 
GeneralRe: trigger and procedure Pin
Ashfield16-Feb-08 3:42
Ashfield16-Feb-08 3:42 
QuestionTRIGGER PROBLEM Pin
RajeevKumarSharma15-Feb-08 23:14
RajeevKumarSharma15-Feb-08 23:14 
GeneralRe: TRIGGER PROBLEM Pin
Ashfield16-Feb-08 3:40
Ashfield16-Feb-08 3:40 
GeneralERROR [42000] [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission Pin
Cuckoo15-Feb-08 22:54
Cuckoo15-Feb-08 22:54 
i am getting this error when i an trying to read data from trhe access database

ERROR [42000] [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission




private void ProcessData()
{
while (true)
{
string dt = System.DateTime.Now.Date.ToString();
string[] dt1 = dt.Split();
string todays_date = dt1[0];

string strHtml = "you are late logged in";
OdbcConnection con = new OdbcConnection("DSN=target1");
string query = "SELECT DISTINCT EmpID FROM Employee";
con.Open();
OdbcCommand cd = new OdbcCommand(query,con);
OdbcDataReader dar = cd.ExecuteReader();
while (dar.Read())
{
int employee_id = (int)dar["EMPID"];
//string query2 = "";

try
{

string email = (string)dar["email_id"];

MailSender mail = new MailSender();
mail.SendMail(strHtml, "+ email +", "LateLogin");
}

catch (Exception)
{
}
}

//finally
//{
// //you can change the number of milliseconds according to your wish
// Thread.Sleep(10000);
//}
}
}
GeneralProblem in searching a self joined table Pin
Rocky#15-Feb-08 21:13
Rocky#15-Feb-08 21:13 
GeneralSybase OleDB connection help [modified] Pin
devvvy15-Feb-08 17:40
devvvy15-Feb-08 17:40 
GeneralRe: Sybase OleDB connection help [modified] Pin
ashishj01624-Jun-14 19:28
ashishj01624-Jun-14 19:28 
QuestionSQL Null value discussion Pin
icewarriors3315-Feb-08 5:18
icewarriors3315-Feb-08 5:18 
Generalself referencing table SELECT issue [modified] Pin
Harvey Saayman15-Feb-08 3:35
Harvey Saayman15-Feb-08 3:35 
GeneralRe: self referencing table SELECT issue Pin
andyharman15-Feb-08 8:11
professionalandyharman15-Feb-08 8:11 
GeneralRe: self referencing table SELECT issue Pin
Harvey Saayman17-Feb-08 19:00
Harvey Saayman17-Feb-08 19:00 
GeneralString concatentaion on update query Pin
si_6915-Feb-08 1:16
si_6915-Feb-08 1:16 
GeneralRe: String concatentaion on update query Pin
Joe15-Feb-08 1:23
Joe15-Feb-08 1:23 
GeneralRe: String concatentaion on update query Pin
seta_yas17-Feb-08 18:19
seta_yas17-Feb-08 18:19 
Generalmonitor sql db connections Pin
Harvey Saayman14-Feb-08 22:24
Harvey Saayman14-Feb-08 22:24 
GeneralRe: monitor sql db connections Pin
Mike Dimmick14-Feb-08 23:59
Mike Dimmick14-Feb-08 23:59 
GeneralRe: monitor sql db connections Pin
Harvey Saayman15-Feb-08 0:12
Harvey Saayman15-Feb-08 0:12 
GeneralFreaky reader Error [Solved] Pin
Harvey Saayman14-Feb-08 22:22
Harvey Saayman14-Feb-08 22:22 
GeneralHelp with the Following View Pin
Vimalsoft(Pty) Ltd14-Feb-08 19:52
professionalVimalsoft(Pty) Ltd14-Feb-08 19:52 
Generalwith,or & Pin
neoghy14-Feb-08 19:44
neoghy14-Feb-08 19:44 
Questionchecking the type Pin
Sonia Gupta14-Feb-08 19:30
Sonia Gupta14-Feb-08 19:30 

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.