Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
AnswerRe: question about remoting Pin
S. Senthil Kumar5-Dec-05 4:15
S. Senthil Kumar5-Dec-05 4:15 
QuestionProblem in EventHandling Pin
Satish324-Dec-05 19:58
Satish324-Dec-05 19:58 
AnswerRe: Problem in EventHandling Pin
S. Senthil Kumar5-Dec-05 4:11
S. Senthil Kumar5-Dec-05 4:11 
Questionbin and obj folder in C# windows application Pin
nbobby4-Dec-05 19:27
nbobby4-Dec-05 19:27 
AnswerRe: bin and obj folder in C# windows application Pin
Heath Stewart4-Dec-05 19:47
protectorHeath Stewart4-Dec-05 19:47 
GeneralRe: bin and obj folder in C# windows application Pin
nbobby4-Dec-05 20:11
nbobby4-Dec-05 20:11 
AnswerRe: bin and obj folder in C# windows application Pin
har04mich5-Dec-05 6:52
har04mich5-Dec-05 6:52 
Questionurgent Help on C# Pin
momoo4-Dec-05 19:24
momoo4-Dec-05 19:24 
Hi.. I'm currently doing a web design on the calendar using C# web application.I have created a calendar. I would like to ask that if i click the date on the calendar, can i retrieve the database?? I have tried several times and it seem like is not working. Below is my code, could anyone help me that if i missing on any parts?? Thanks!! My code:


.
.
.
using System.Data.SqlClient

private void Calendar1_SelectionChanged(object sender, System.EventArgs e)
{
TBDate1.Text = CAL1.SelectedDate.ToLongDateString();
SqlConnection conn=new SqlConnection("put my connection string here");
string seldate = "Select * from Particulars where DateField = '" + TBDate1.Text + "'";
SqlDataAdapter DA = new SqlDataAdapter(seldate,sqlConnection1);

DataSet DS = new DataSet();
DA.Fill(DS);
DataTable DT = new DataTable();
DataGrid1.DataSource=DS.Tables[0].DefaultView;
DataGrid1.DataBind();

}

Thanks for your help..;)

Cheers!
AnswerRe: urgent Help on C# Pin
Heath Stewart4-Dec-05 19:40
protectorHeath Stewart4-Dec-05 19:40 
Questionreferring to Class Instance from other page Pin
vikings4-Dec-05 17:46
vikings4-Dec-05 17:46 
AnswerRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 19:34
protectorHeath Stewart4-Dec-05 19:34 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 19:50
vikings4-Dec-05 19:50 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:05
protectorHeath Stewart4-Dec-05 20:05 
AnswerRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 19:46
nbobby4-Dec-05 19:46 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 19:52
vikings4-Dec-05 19:52 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:08
protectorHeath Stewart4-Dec-05 20:08 
GeneralRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 20:18
nbobby4-Dec-05 20:18 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:23
protectorHeath Stewart4-Dec-05 20:23 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 20:43
vikings4-Dec-05 20:43 
GeneralRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 22:55
nbobby4-Dec-05 22:55 
QuestionTopMost property of a form Pin
Ruskin Dantra4-Dec-05 10:22
Ruskin Dantra4-Dec-05 10:22 
AnswerRe: TopMost property of a form Pin
ekynox4-Dec-05 12:42
ekynox4-Dec-05 12:42 
GeneralRe: TopMost property of a form Pin
Ruskin Dantra4-Dec-05 13:40
Ruskin Dantra4-Dec-05 13:40 
AnswerRe: TopMost property of a form Pin
Luis Alonso Ramos5-Dec-05 6:20
Luis Alonso Ramos5-Dec-05 6:20 
GeneralRe: TopMost property of a form Pin
Ruskin Dantra5-Dec-05 11:38
Ruskin Dantra5-Dec-05 11:38 

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.