Click here to Skip to main content
16,017,261 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: i want create application like outlook or Thunderbird Pin
Arun Jacob4-Sep-09 0:03
Arun Jacob4-Sep-09 0:03 
AnswerRe: i want create application like outlook or Thunderbird Pin
Ashfield4-Sep-09 1:28
Ashfield4-Sep-09 1:28 
Questionget the bitmap output of the controls Pin
behnam-s3-Sep-09 23:47
behnam-s3-Sep-09 23:47 
AnswerRe: get the bitmap output of the controls [modified] Pin
sashidhar4-Sep-09 1:09
sashidhar4-Sep-09 1:09 
QuestionServer to Server Communication Pin
janat_Al_donia3-Sep-09 22:07
janat_Al_donia3-Sep-09 22:07 
AnswerRe: Server to Server Communication Pin
N a v a n e e t h3-Sep-09 22:13
N a v a n e e t h3-Sep-09 22:13 
GeneralRe: Server to Server Communication Pin
Arun Jacob3-Sep-09 22:31
Arun Jacob3-Sep-09 22:31 
Questionadding data Pin
ankitjain11103-Sep-09 21:24
ankitjain11103-Sep-09 21:24 
TextBox2.Text = selectedDate.DayOfWeek.ToString();
TextBox3.Text = selectedDate.ToShortDateString();
string connection2 = ConfigurationManager.AppSettings["conn"];
OleDbConnection con2 = new OleDbConnection(connection2);
OleDbDataAdapter da_detail = new OleDbDataAdapter();
DataSet ds_detail = new DataSet();
con2.Open();


//da_detail.Fill(ds_detail, "details");
//DataTable detail_dt = ds_detail.Tables["details"];






string query = "select * from appointment where DATE = '" + selectedDate.ToShortDateString() + "' ";
OleDbCommand pay_cmd2 = new OleDbCommand(query, con2);
DataRow row = null;
for (int x = 1; x <= 7; x++)
{
da_detail.SelectCommand = pay_cmd2;
//row = detail_dt.NewRow();
da_detail.Fill(ds_detail, "details");
detail_dt=ds_detail.Tables["details"];
//detail_dt.Rows.Add(row);
DateTime tempo = selectedDate.AddDays(1);
selectedDate = tempo;



}
GridView1.DataSource = detail_dt;
GridView1.DataBind();

this is the code.i want show the details of the whole week.but the code is not working.can u help me.
AnswerRe: adding data Pin
Vimalsoft(Pty) Ltd3-Sep-09 21:29
professionalVimalsoft(Pty) Ltd3-Sep-09 21:29 
GeneralRe: adding data Pin
ankitjain11103-Sep-09 21:33
ankitjain11103-Sep-09 21:33 
GeneralRe: adding data Pin
Blue_Boy3-Sep-09 21:37
Blue_Boy3-Sep-09 21:37 
GeneralRe: adding data Pin
ankitjain11103-Sep-09 21:52
ankitjain11103-Sep-09 21:52 
GeneralRe: adding data Pin
Vimalsoft(Pty) Ltd3-Sep-09 22:24
professionalVimalsoft(Pty) Ltd3-Sep-09 22:24 
AnswerRe: adding data Pin
N a v a n e e t h3-Sep-09 22:07
N a v a n e e t h3-Sep-09 22:07 
QuestionHow to authenticate with Active Directory? Pin
baburman3-Sep-09 21:18
baburman3-Sep-09 21:18 
AnswerRe: How to authenticate with Active Directory? Pin
Arun Jacob3-Sep-09 22:38
Arun Jacob3-Sep-09 22:38 
GeneralRe: How to authenticate with Active Directory? Pin
baburman4-Sep-09 1:44
baburman4-Sep-09 1:44 
GeneralBrowser link to a spreadsheet Pin
Mycroft Holmes3-Sep-09 20:06
professionalMycroft Holmes3-Sep-09 20:06 
GeneralRe: Browser link to a spreadsheet Pin
N a v a n e e t h3-Sep-09 20:37
N a v a n e e t h3-Sep-09 20:37 
GeneralRe: Browser link to a spreadsheet Pin
Mycroft Holmes3-Sep-09 20:58
professionalMycroft Holmes3-Sep-09 20:58 
AnswerRe: Browser link to a spreadsheet Pin
r a m e s h3-Sep-09 21:05
r a m e s h3-Sep-09 21:05 
GeneralRe: Browser link to a spreadsheet Pin
Mycroft Holmes3-Sep-09 21:14
professionalMycroft Holmes3-Sep-09 21:14 
GeneralRe: Browser link to a spreadsheet Pin
N a v a n e e t h3-Sep-09 21:50
N a v a n e e t h3-Sep-09 21:50 
GeneralRe: Browser link to a spreadsheet Pin
Mycroft Holmes3-Sep-09 22:31
professionalMycroft Holmes3-Sep-09 22:31 
QuestionValidation for dropdown Pin
rummer3-Sep-09 19:52
rummer3-Sep-09 19:52 

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.