Click here to Skip to main content
15,915,328 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Copy/Paste Functionality with GridView in ASP.net Pin
Learning ASP.NET24-Oct-07 1:08
Learning ASP.NET24-Oct-07 1:08 
QuestionImplementing Copy/Paste functionality from Excel shhet to GridView in asp.net Pin
Learning ASP.NET24-Oct-07 0:48
Learning ASP.NET24-Oct-07 0:48 
QuestionDDL and selected item identity Pin
Sarfaraj Ahmed24-Oct-07 0:24
Sarfaraj Ahmed24-Oct-07 0:24 
AnswerRe: DDL and selected item identity Pin
John-ph24-Oct-07 0:37
John-ph24-Oct-07 0:37 
GeneralRe: DDL and selected item identity Pin
Sarfaraj Ahmed24-Oct-07 0:54
Sarfaraj Ahmed24-Oct-07 0:54 
GeneralRe: DDL and selected item identity Pin
John-ph24-Oct-07 1:01
John-ph24-Oct-07 1:01 
GeneralRe: DDL and selected item identity Pin
Sarfaraj Ahmed24-Oct-07 1:24
Sarfaraj Ahmed24-Oct-07 1:24 
GeneralRe: DDL and selected item identity Pin
Sarfaraj Ahmed24-Oct-07 1:17
Sarfaraj Ahmed24-Oct-07 1:17 
Im geting CategoryID = select one..

Dim queryString As String = "SELECT CATEGORYID, CATEGORYNAME AS 'CATEGORY NAME' FROM BOOKSCATEGORY ORDER BY CATEGORYNAME ASC"<br />
        Try<br />
            conn.Open()<br />
            Dim comm As SqlCommand = New SqlCommand(queryString, conn)<br />
            ' Dim dataReader As SqlDataReader = comm.ExecuteReader()<br />
            Dim adapter As SqlDataAdapter = New SqlDataAdapter(comm)<br />
            Dim ds As DataSet = New DataSet()<br />
            ds.Clear()<br />
            adapter.Fill(ds)<br />
            ddlCategory.DataSource = ds<br />
            ddlCategory.DataTextField = "CATEGORY NAME"<br />
            ddlCategory.DataValueField = "CategoryID"<br />
            _CategoryID = ddlCategory.SelectedValue<br />
            ddlCategory.DataBind()<br />
            ddlCategory.Items.Insert(0, New ListItem("Select One..", "Value"))<br />
<br />
<br />
            conn.Close()<br />
        Catch ex As Exception<br />
<br />
            conn.Close()<br />
        End Try


Sarfarj Ahmed

GeneralRe: DDL and selected item identity Pin
John-ph24-Oct-07 1:25
John-ph24-Oct-07 1:25 
GeneralRe: DDL and selected item identity Pin
Sarfaraj Ahmed24-Oct-07 1:37
Sarfaraj Ahmed24-Oct-07 1:37 
GeneralRe: DDL and selected item identity Pin
John-ph24-Oct-07 1:41
John-ph24-Oct-07 1:41 
GeneralRe: DDL and selected item identity Pin
Sarfaraj Ahmed24-Oct-07 1:49
Sarfaraj Ahmed24-Oct-07 1:49 
Questionscrollbar on top of the page..., Pin
Member 387988124-Oct-07 0:22
Member 387988124-Oct-07 0:22 
JokeRe: scrollbar on top of the page..., Pin
Fred_Smith24-Oct-07 0:53
Fred_Smith24-Oct-07 0:53 
Questioniam not getting minimize button in label in debugging Pin
jagadeeshkumar198424-Oct-07 0:22
jagadeeshkumar198424-Oct-07 0:22 
Questiongetting change forecolor depend on if statement Pin
VinothRao24-Oct-07 0:04
VinothRao24-Oct-07 0:04 
AnswerRe: getting change forecolor depend on if statement Pin
Christian Graus24-Oct-07 0:21
protectorChristian Graus24-Oct-07 0:21 
QuestionSpeed Pin
mihksoft23-Oct-07 23:51
mihksoft23-Oct-07 23:51 
AnswerRe: Speed Pin
Christian Graus23-Oct-07 23:52
protectorChristian Graus23-Oct-07 23:52 
AnswerRe: Speed Pin
Guffa24-Oct-07 2:34
Guffa24-Oct-07 2:34 
QuestionUpload a file to database Pin
mukesh.mr0323-Oct-07 23:48
mukesh.mr0323-Oct-07 23:48 
AnswerRe: Upload a file to database Pin
Christian Graus23-Oct-07 23:51
protectorChristian Graus23-Oct-07 23:51 
GeneralRe: Upload a file to database Pin
mukesh.mr0323-Oct-07 23:57
mukesh.mr0323-Oct-07 23:57 
GeneralRe: Upload a file to database Pin
Christian Graus24-Oct-07 0:33
protectorChristian Graus24-Oct-07 0:33 
AnswerRe: Upload a file to database Pin
Imran Khan Pathan24-Oct-07 0:29
Imran Khan Pathan24-Oct-07 0:29 

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.