Click here to Skip to main content
15,433,964 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Performance issue ....Pls help me ... Pin
andyharman18-May-07 1:50
professionalandyharman18-May-07 1:50 
GeneralRe: Performance issue ....Pls help me ... Pin
Guffa18-May-07 1:53
MemberGuffa18-May-07 1:53 
QuestionRe: Performance issue ....Pls help me ... Pin
Ankur.Bakliwal18-May-07 3:43
MemberAnkur.Bakliwal18-May-07 3:43 
AnswerRe: Performance issue ....Pls help me ... Pin
Guffa18-May-07 5:33
MemberGuffa18-May-07 5:33 
AnswerRe: Performance issue ....Pls help me ... Pin
Guffa18-May-07 1:51
MemberGuffa18-May-07 1:51 
GeneralRe: Performance issue ....Pls help me ... Pin
Ankur.Bakliwal18-May-07 2:06
MemberAnkur.Bakliwal18-May-07 2:06 
GeneralRe: Performance issue ....Pls help me ... Pin
badgrs18-May-07 5:12
Memberbadgrs18-May-07 5:12 
QuestionButton Column Select. Pin
nclauder17-May-07 21:44
Membernclauder17-May-07 21:44 
Hi all,
I have a datagrid with Button column select in form of hyperlink. On the same page, I have another datagrid that insert data and one column(Name) has Names of a user that is inserting data(using windows authentication).
Now this is how it's supposed to work: When any user want to see data about a particular user it's a matter of selecting his name and the data Writen by the selected user should be the only ones to be shown.
I got some examples on Google but they all seem not to be working. When a user is selected the page remains the same data is not selected. How would can I solve this problem?
My code looks like this:
HTML part:
<Columns>
<asp:ButtonColumn HeaderText="Operations" DataTextField="TeamOperation" ButtonType="LinkButton"></asp:ButtonColumn>
</Columns>
and code behind:
private void dgoperation_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
SqlCommand myCommand=new SqlCommand();
myCommand.Connection=con;
myCommand.CommandText="select * from dbo.DashBoard where Name = @Billing";
myCommand.Parameters.Add(new SqlParameter("@Billing",SqlDbType.VarChar,50));
myCommand.Parameters["@Billing"].Value= dgbilling;
SqlDataAdapter myAdapter=new SqlDataAdapter(myCommand);
DataSet ds = new DataSet();
myAdapter.Fill(ds);
dgis.DataSource=ds;
dgis.EditItemIndex = -1;
dgis.DataBind();
}

dgis: this is the datagrid that where user inserts data.
dgbilling: this is the datagrid with the name list.
Thanks.

AnswerRe: Button Column Select. Pin
nclauder18-May-07 4:18
Membernclauder18-May-07 4:18 
QuestionDevelopment Method Pin
prabooooooooo17-May-07 19:40
Memberprabooooooooo17-May-07 19:40 
AnswerRe: Development Method Pin
kubben18-May-07 2:18
Memberkubben18-May-07 2:18 
QuestionDifferent Browsers Pin
Brendan Vogt17-May-07 2:33
MemberBrendan Vogt17-May-07 2:33 
AnswerRe: Different Browsers Pin
Edmundisme17-May-07 7:39
MemberEdmundisme17-May-07 7:39 
AnswerRe: Different Browsers Pin
badgrs18-May-07 5:07
Memberbadgrs18-May-07 5:07 
AnswerRe: Different Browsers Pin
JimmyRopes18-May-07 6:34
professionalJimmyRopes18-May-07 6:34 
Questionhow to create an voting system in Java script ? Pin
prashant pissey16-May-07 22:48
Memberprashant pissey16-May-07 22:48 
AnswerRe: how to create an voting system in Java script ? Pin
Christian Graus17-May-07 0:15
mveChristian Graus17-May-07 0:15 
GeneralRe: how to create an voting system in Java script ? Pin
prashant pissey17-May-07 0:36
Memberprashant pissey17-May-07 0:36 
AnswerRe: how to create an voting system in Java script ? Pin
Guffa17-May-07 1:07
MemberGuffa17-May-07 1:07 
GeneralRe: how to create an voting system in Java script ? Pin
Christian Graus17-May-07 1:34
mveChristian Graus17-May-07 1:34 
GeneralRe: how to create an voting system in Java script ? Pin
Bradml17-May-07 5:43
MemberBradml17-May-07 5:43 
JokeRe: how to create an voting system in Java script ? Pin
Guffa18-May-07 0:04
MemberGuffa18-May-07 0:04 
JokeRe: how to create an voting system in Java script ? Pin
DavidNohejl18-May-07 3:42
MemberDavidNohejl18-May-07 3:42 
QuestionSingle Event issue Pin
sanyalpritish16-May-07 20:37
Membersanyalpritish16-May-07 20:37 
AnswerRe: Single Event issue Pin
Sandeep Akhare17-May-07 0:04
MemberSandeep Akhare17-May-07 0:04 

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.