Click here to Skip to main content
15,902,907 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionEvent on asp:calendar Pin
_ASPAle_17-Feb-10 6:06
_ASPAle_17-Feb-10 6:06 
AnswerRe: Event on asp:calendar Pin
Brij17-Feb-10 19:22
mentorBrij17-Feb-10 19:22 
GeneralRe: Event on asp:calendar Pin
_ASPAle_18-Feb-10 0:04
_ASPAle_18-Feb-10 0:04 
QuestionNeed some assistance with adding a datarow to a datatable Pin
Will Talley17-Feb-10 5:34
Will Talley17-Feb-10 5:34 
AnswerRe: Need some assistance with adding a datarow to a datatable Pin
Abhishek Sur17-Feb-10 5:59
professionalAbhishek Sur17-Feb-10 5:59 
GeneralRe: Need some assistance with adding a datarow to a datatable Pin
Will Talley18-Feb-10 2:38
Will Talley18-Feb-10 2:38 
AnswerRe: Need some assistance with adding a datarow to a datatable Solved! Pin
Will Talley18-Feb-10 4:58
Will Talley18-Feb-10 4:58 
Questionbinding data to a data list Pin
arindam201017-Feb-10 5:18
arindam201017-Feb-10 5:18 
sir,

i want to bind records to a datalist control. i want to show records when any user clicks on a button named btnShowRec_Click().

..i wrote a piece of code below but it is not showing records at runtime


protected void btnShowRec_Click(object sender, EventArgs e)
{
if (!IsPostBack)
{
string sqlgrid = "select * from ebay where category='" + ddlCatg.SelectedItem.Value + "'";
cmd = new SqlCommand(sqlgrid, conn);
conn.Open();
dtlstEbay.DataSource = cmd.ExecuteReader();
dtlstEbay.DataBind();
conn.Close();
conn.Dispose();
}

dtlstEbay is the name of dataConfused | :confused: list control.i have also binded with #Eval with each column in source page but not getting desirable output..
Confused | :confused:
AnswerRe: binding data to a data list Pin
Abhishek Sur17-Feb-10 6:02
professionalAbhishek Sur17-Feb-10 6:02 
GeneralRe: binding data to a data list Pin
arindam201017-Feb-10 6:56
arindam201017-Feb-10 6:56 
GeneralRe: binding data to a data list Pin
Abhishek Sur17-Feb-10 9:44
professionalAbhishek Sur17-Feb-10 9:44 
AnswerRe: binding data to a data list Pin
Anurag Gandhi17-Feb-10 6:37
professionalAnurag Gandhi17-Feb-10 6:37 
GeneralRe: binding data to a data list Pin
arindam201017-Feb-10 6:54
arindam201017-Feb-10 6:54 
GeneralRe: binding data to a data list Pin
Anurag Gandhi17-Feb-10 15:52
professionalAnurag Gandhi17-Feb-10 15:52 
QuestionWeb Service Protection with Client Certificates Pin
captainone17-Feb-10 3:55
captainone17-Feb-10 3:55 
AnswerRe: Web Service Protection with Client Certificates Pin
Ennis Ray Lynch, Jr.17-Feb-10 5:19
Ennis Ray Lynch, Jr.17-Feb-10 5:19 
GeneralRe: Web Service Protection with Client Certificates Pin
captainone18-Feb-10 17:46
captainone18-Feb-10 17:46 
GeneralRe: Web Service Protection with Client Certificates Pin
captainone18-Feb-10 18:19
captainone18-Feb-10 18:19 
GeneralRe: Web Service Protection with Client Certificates Pin
Ennis Ray Lynch, Jr.19-Feb-10 4:51
Ennis Ray Lynch, Jr.19-Feb-10 4:51 
GeneralRe: Web Service Protection with Client Certificates Pin
captainone19-Feb-10 7:06
captainone19-Feb-10 7:06 
QuestionGridView Image button Pin
Abbas_here17-Feb-10 3:55
Abbas_here17-Feb-10 3:55 
AnswerRe: GridView Image button Pin
Abhishek Sur17-Feb-10 6:05
professionalAbhishek Sur17-Feb-10 6:05 
GeneralRe: GridView Image button Pin
Abbas_here17-Feb-10 19:10
Abbas_here17-Feb-10 19:10 
GeneralRe: GridView Image button Pin
Abhishek Sur17-Feb-10 21:28
professionalAbhishek Sur17-Feb-10 21:28 
QuestionAjax tab control in Mozila Pin
chnikhil17-Feb-10 2:58
chnikhil17-Feb-10 2:58 

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.