Click here to Skip to main content
15,916,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionupload in a gridview [modified] Pin
strawberrysh10-Jul-08 7:31
strawberrysh10-Jul-08 7:31 
QuestionRe: upload in a gridview Pin
strawberrysh10-Jul-08 20:50
strawberrysh10-Jul-08 20:50 
GeneralRe: upload in a gridview Pin
vcecic15-Jul-08 22:04
vcecic15-Jul-08 22:04 
QuestionHow to find a TreeView Index ? Pin
Abhijit Jana10-Jul-08 7:25
professionalAbhijit Jana10-Jul-08 7:25 
AnswerRe: How to find a TreeView Index ? Pin
N a v a n e e t h10-Jul-08 19:25
N a v a n e e t h10-Jul-08 19:25 
QuestionIn deep trouble Pin
gurjitgreat10-Jul-08 7:21
gurjitgreat10-Jul-08 7:21 
AnswerRe: In deep trouble Pin
ToddHileHoffer10-Jul-08 10:30
ToddHileHoffer10-Jul-08 10:30 
QuestionAccessing Event raised by a control Pin
Het210910-Jul-08 6:43
Het210910-Jul-08 6:43 
AnswerRe: Accessing Event raised by a control Pin
Sandeep Akhare10-Jul-08 21:15
Sandeep Akhare10-Jul-08 21:15 
QuestionWriting Arabic Pin
Mr.Sam10-Jul-08 6:07
Mr.Sam10-Jul-08 6:07 
QuestionHow to trigger button click events with keyboard arrow key? Pin
Aslesh10-Jul-08 5:39
Aslesh10-Jul-08 5:39 
AnswerRe: How to trigger button click events with keyboard arrow key? Pin
leoinfo10-Jul-08 6:00
leoinfo10-Jul-08 6:00 
QuestionI have problem with Asp.net Update panel, plz help me. Pin
Ajita Kumar Satpathy10-Jul-08 4:37
Ajita Kumar Satpathy10-Jul-08 4:37 
AnswerRe: I have problem with Asp.net Update panel, plz help me. Pin
Sherin Iranimose10-Jul-08 5:19
Sherin Iranimose10-Jul-08 5:19 
GeneralRe: I have problem with Asp.net Update panel, plz help me. Pin
Ajita Kumar Satpathy13-Jul-08 7:42
Ajita Kumar Satpathy13-Jul-08 7:42 
Questionsqldatareader and inner join problem, not getting all records, PLEASE HELP Pin
orsini10-Jul-08 4:04
orsini10-Jul-08 4:04 
i have this code, when i run this page, this reader dont bring the first record. i ran this sql(SELECT) on the sql database and runs fine, and if i put the seme SELECT in a Sqldatasource and bind the griview, it works fine too. what is wrong with this reader?
******************
any idea.
THIS WORKS
SqlDataSource1.SelectCommand = "SELECT products.pid, products.pname, flavors.fl_name, product_flavors.flavor_icon FROM product_flavors LEFT JOIN flavors ON product_flavors.flavorsid = flavors.flavorsid LEFT JOIN products ON product_flavors.pid=products.pid WHERE products.pid = 84"
ProductListView.DataSource = SqlDataSource1
ProductListView.DataBind()

**********************
THIS NOT BRING ALL THE RECORDS. ALWAYS LEAVE ONE OUT.I THINK THE FIRST ONE.

Dim conn As SqlConnection
        Dim cmd As SqlCommand
        Dim cmdString As String = "SELECT products.pid, products.pname, flavors.fl_name, product_flavors.flavor_icon FROM product_flavors LEFT JOIN flavors ON product_flavors.flavorsid = flavors.flavorsid LEFT JOIN products ON product_flavors.pid=products.pid WHERE products.pid = 84" 
        conn = New SqlConnection(ConfigurationManager.ConnectionStrings("eConnectionString").ToString)
        cmd = New SqlCommand(cmdString, conn)
        conn.Open()
        Dim myReader As SqlDataReader
        myReader = cmd.ExecuteReader()
        myReader.Read()
GridView1.DataSource = myReader
        GridView1.DataBind()
        conn.Close()

AnswerRe: sqldatareader and inner join problem, not getting all records, PLEASE HELP Pin
Sherin Iranimose10-Jul-08 5:31
Sherin Iranimose10-Jul-08 5:31 
GeneralRe: sqldatareader and inner join problem, not getting all records, PLEASE HELP Pin
NeverHeardOfMe10-Jul-08 5:40
NeverHeardOfMe10-Jul-08 5:40 
GeneralRe: sqldatareader and inner join problem, not getting all records, PLEASE HELP Pin
Sherin Iranimose10-Jul-08 5:49
Sherin Iranimose10-Jul-08 5:49 
AnswerRe: sqldatareader and inner join problem, not getting all records, PLEASE HELP Pin
NeverHeardOfMe10-Jul-08 5:39
NeverHeardOfMe10-Jul-08 5:39 
GeneralRe: sqldatareader and inner join problem, not getting all records, PLEASE HELP Pin
orsini10-Jul-08 6:03
orsini10-Jul-08 6:03 
QuestionPlatform Independent Web Based Video Conferencing Through Cam Pin
shahzadmalik10-Jul-08 3:07
shahzadmalik10-Jul-08 3:07 
QuestionButton Id Problem Pin
Ajeet mittal10-Jul-08 2:58
Ajeet mittal10-Jul-08 2:58 
AnswerRe: Button Id Problem Pin
Sherin Iranimose10-Jul-08 3:57
Sherin Iranimose10-Jul-08 3:57 
GeneralRe: Button Id Problem Pin
Ajeet mittal10-Jul-08 19:24
Ajeet mittal10-Jul-08 19:24 

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.