Click here to Skip to main content
15,903,856 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: how to retrive data from access databse table to excel sheet Pin
Paddy Boyd16-Apr-07 0:46
Paddy Boyd16-Apr-07 0:46 
GeneralRe: how to retrive data from access databse table to excel sheet Pin
JanapatiBalu16-Apr-07 1:01
JanapatiBalu16-Apr-07 1:01 
GeneralRe: how to retrive data from access databse table to excel sheet Pin
Bradml16-Apr-07 3:34
Bradml16-Apr-07 3:34 
QuestionDesigning .ASPX PAGE Pin
BINOVAR16-Apr-07 0:21
BINOVAR16-Apr-07 0:21 
AnswerRe: Designing .ASPX PAGE Pin
badgrs16-Apr-07 1:00
badgrs16-Apr-07 1:00 
AnswerRe: Designing .ASPX PAGE Pin
Bradml16-Apr-07 2:52
Bradml16-Apr-07 2:52 
GeneralRe: Designing .ASPX PAGE Pin
BINOVAR16-Apr-07 17:56
BINOVAR16-Apr-07 17:56 
GeneralRe: Designing .ASPX PAGE Pin
Guffa16-Apr-07 22:20
Guffa16-Apr-07 22:20 
QuestionJavascript Detection Pin
L Viljoen15-Apr-07 23:44
professionalL Viljoen15-Apr-07 23:44 
AnswerRe: Javascript Detection Pin
badgrs16-Apr-07 1:07
badgrs16-Apr-07 1:07 
AnswerRe: Javascript Detection Pin
Guffa16-Apr-07 6:49
Guffa16-Apr-07 6:49 
GeneralRe: Javascript Detection Pin
Gavin Roberts17-Apr-07 1:36
Gavin Roberts17-Apr-07 1:36 
GeneralRe: Javascript Detection Pin
Guffa17-Apr-07 1:42
Guffa17-Apr-07 1:42 
QuestionSince there is a hidden java forum in CP... Pin
tatchung15-Apr-07 23:32
tatchung15-Apr-07 23:32 
AnswerRe: Since there is a hidden java forum in CP... Pin
Tamimi - Code15-Apr-07 23:47
Tamimi - Code15-Apr-07 23:47 
GeneralRe: Since there is a hidden java forum in CP... Pin
tatchung16-Apr-07 0:58
tatchung16-Apr-07 0:58 
GeneralRe: Since there is a hidden java forum in CP... Pin
Tamimi - Code16-Apr-07 1:38
Tamimi - Code16-Apr-07 1:38 
AnswerRe: Since there is a hidden java forum in CP... Pin
Bradml16-Apr-07 2:51
Bradml16-Apr-07 2:51 
QuestionRandom Hell Pin
L Viljoen15-Apr-07 21:52
professionalL Viljoen15-Apr-07 21:52 
Hi Guys I am trying to generate a random footnote everytime a page inside my site is loaded.

Trouble is my randomiser keeps staying with one index basically not doing anything

Please help!!!!


Heres my code for my Footnote:

private void SetFootnote()
{
try
{
SqlConnection conn = new SqlConnection(SqlDataSource1.ConnectionString.ToString());
conn.Open();

//Get the row and read into dataset
string query = "Select * From Footers;";
SqlDataAdapter adapter = new SqlDataAdapter(query, conn);
DataSet data = new DataSet();
adapter.Fill(data, "Footers");
conn.Close();
//Get a Random footnote and set
Random ran = new Random(0);

int rowIndex = ran.Next(data.Tables[0].Rows.Count - 1);
string footer = data.Tables[0].Rows[rowIndex][0].ToString();

FootNote.InnerHtml = footer;
//Close Connection

}
catch (Exception)
{
}
}

Le Roux Viljoen
Web Developer
PCW New Media
South African Branch
www.pcwnewmedia.com

AnswerRe: Random Hell Pin
Guffa15-Apr-07 22:11
Guffa15-Apr-07 22:11 
AnswerRe: Random Hell Pin
L Viljoen15-Apr-07 22:13
professionalL Viljoen15-Apr-07 22:13 
GeneralRe: Random Hell Pin
Guffa16-Apr-07 7:05
Guffa16-Apr-07 7:05 
QuestionMoving selected rows from one gridview to another gridview Pin
Atif Ali Bhatti15-Apr-07 11:13
Atif Ali Bhatti15-Apr-07 11:13 
QuestionASP.net Hello world [modified] Pin
Eytukan15-Apr-07 4:27
Eytukan15-Apr-07 4:27 
AnswerRe: ASP.net Hello world Pin
Guffa15-Apr-07 5:39
Guffa15-Apr-07 5:39 

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.