Click here to Skip to main content
15,920,801 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL Server 2005 Reporting Services report server. Pin
Sathesh Sakthivel17-Jul-07 21:45
Sathesh Sakthivel17-Jul-07 21:45 
AnswerRe: SQL Server 2005 Reporting Services report server. Pin
Paddy Boyd17-Jul-07 22:52
Paddy Boyd17-Jul-07 22:52 
Questionupdating a record Pin
Rharzkie17-Jul-07 18:25
Rharzkie17-Jul-07 18:25 
AnswerRe: updating a record Pin
sidbaruah17-Jul-07 18:55
sidbaruah17-Jul-07 18:55 
GeneralRe: updating a record Pin
Rharzkie17-Jul-07 23:21
Rharzkie17-Jul-07 23:21 
AnswerRe: updating a record Pin
Blue_Boy17-Jul-07 22:25
Blue_Boy17-Jul-07 22:25 
QuestionRe: updating a record Pin
Rharzkie18-Jul-07 0:38
Rharzkie18-Jul-07 0:38 
AnswerRe: updating a record [modified] Pin
Blue_Boy18-Jul-07 2:40
Blue_Boy18-Jul-07 2:40 
1. Drag one label in your form and name it lblID
2.In your GridView1 selectedIndexChange event (I am giving this example for asp.net) set text of selectedrow and specify cell's text then set text to lblID.
(In this case select row which contain name Risa)
lblID.Text = GridView1.SelectedRow.Cells[1].Text;//Instead index 1 in Cells property can differ from my example
3. In Update button set update command :
" Update YourTableName set Grade='95' where [ID]='"+lblID.Text+"'";
4.Then bind GridView1.
GridView1.DataBind();


I Love SQL

QuestionSQL query for Registration Pin
Delin raj17-Jul-07 18:01
Delin raj17-Jul-07 18:01 
AnswerRe: SQL query for Registration Pin
gauthee17-Jul-07 20:52
gauthee17-Jul-07 20:52 
QuestionSQL2005 compatibility problem Pin
Peterson Luiz17-Jul-07 4:15
Peterson Luiz17-Jul-07 4:15 
AnswerRe: SQL2005 compatibility problem Pin
originSH17-Jul-07 4:57
originSH17-Jul-07 4:57 
GeneralRe: SQL2005 compatibility problem Pin
Peterson Luiz18-Jul-07 4:19
Peterson Luiz18-Jul-07 4:19 
QuestionADO and ODBC - confused Pin
Tom Wright17-Jul-07 4:09
Tom Wright17-Jul-07 4:09 
AnswerRe: ADO and ODBC - confused Pin
Bert delaVega17-Jul-07 4:37
Bert delaVega17-Jul-07 4:37 
GeneralRe: ADO and ODBC - confused Pin
Tom Wright17-Jul-07 5:13
Tom Wright17-Jul-07 5:13 
GeneralRe: ADO and ODBC - confused Pin
Bert delaVega17-Jul-07 5:29
Bert delaVega17-Jul-07 5:29 
GeneralRe: ADO and ODBC - confused Pin
Tom Wright17-Jul-07 5:35
Tom Wright17-Jul-07 5:35 
AnswerRe: ADO and ODBC - confused Pin
Mike Dimmick17-Jul-07 5:20
Mike Dimmick17-Jul-07 5:20 
GeneralRe: ADO and ODBC - confused Pin
Tom Wright17-Jul-07 5:27
Tom Wright17-Jul-07 5:27 
GeneralRe: ADO and ODBC - confused Pin
Pete O'Hanlon18-Jul-07 3:15
mvePete O'Hanlon18-Jul-07 3:15 
QuestionKnowing Table structure in Sybase Pin
meeram39517-Jul-07 3:33
meeram39517-Jul-07 3:33 
AnswerRe: Knowing Table structure in Sybase Pin
andyharman17-Jul-07 4:12
professionalandyharman17-Jul-07 4:12 
AnswerRe: Knowing Table structure in Sybase Pin
PIEBALDconsult17-Jul-07 7:54
mvePIEBALDconsult17-Jul-07 7:54 
Questionnewbie: How can I see the warnings when creating DB from file? Pin
Atara17-Jul-07 1:57
Atara17-Jul-07 1:57 

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.