Click here to Skip to main content
15,881,172 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
Guffa18-May-07 1:53 
QuestionRe: Performance issue ....Pls help me ... Pin
Ankur.Bakliwal18-May-07 3:43
Ankur.Bakliwal18-May-07 3:43 
AnswerRe: Performance issue ....Pls help me ... Pin
Guffa18-May-07 5:33
Guffa18-May-07 5:33 
AnswerRe: Performance issue ....Pls help me ... Pin
Guffa18-May-07 1:51
Guffa18-May-07 1:51 
GeneralRe: Performance issue ....Pls help me ... Pin
Ankur.Bakliwal18-May-07 2:06
Ankur.Bakliwal18-May-07 2:06 
GeneralRe: Performance issue ....Pls help me ... Pin
badgrs18-May-07 5:12
badgrs18-May-07 5:12 
QuestionButton Column Select. Pin
nclauder17-May-07 21:44
nclauder17-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
nclauder18-May-07 4:18 
QuestionDevelopment Method Pin
prabooooooooo17-May-07 19:40
prabooooooooo17-May-07 19:40 
AnswerRe: Development Method Pin
kubben18-May-07 2:18
kubben18-May-07 2:18 
QuestionDifferent Browsers Pin
Brendan Vogt17-May-07 2:33
Brendan Vogt17-May-07 2:33 
AnswerRe: Different Browsers Pin
Edmundisme17-May-07 7:39
Edmundisme17-May-07 7:39 
AnswerRe: Different Browsers Pin
badgrs18-May-07 5:07
badgrs18-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
prashant pissey16-May-07 22:48 
AnswerRe: how to create an voting system in Java script ? Pin
Christian Graus17-May-07 0:15
protectorChristian Graus17-May-07 0:15 
GeneralRe: how to create an voting system in Java script ? Pin
prashant pissey17-May-07 0:36
prashant pissey17-May-07 0:36 
AnswerRe: how to create an voting system in Java script ? Pin
Guffa17-May-07 1:07
Guffa17-May-07 1:07 
GeneralRe: how to create an voting system in Java script ? Pin
Christian Graus17-May-07 1:34
protectorChristian Graus17-May-07 1:34 
GeneralRe: how to create an voting system in Java script ? Pin
Bradml17-May-07 5:43
Bradml17-May-07 5:43 
JokeRe: how to create an voting system in Java script ? Pin
Guffa18-May-07 0:04
Guffa18-May-07 0:04 
JokeRe: how to create an voting system in Java script ? Pin
DavidNohejl18-May-07 3:42
DavidNohejl18-May-07 3:42 
QuestionSingle Event issue Pin
sanyalpritish16-May-07 20:37
sanyalpritish16-May-07 20:37 
AnswerRe: Single Event issue Pin
Sandeep Akhare17-May-07 0:04
Sandeep 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.