Click here to Skip to main content
15,891,184 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: HELP: Strict JavaScript Syntax Checker Verifier Pin
subrata.jana11-May-07 0:25
subrata.jana11-May-07 0:25 
QuestionChange style based on device type Pin
Mundo Cani10-May-07 21:48
Mundo Cani10-May-07 21:48 
AnswerRe: Change style based on device type Pin
subrata.jana11-May-07 0:28
subrata.jana11-May-07 0:28 
GeneralRe: Change style based on device type Pin
Mundo Cani11-May-07 6:31
Mundo Cani11-May-07 6:31 
AnswerRe: Change style based on device type Pin
Johnny ²11-May-07 9:49
Johnny ²11-May-07 9:49 
GeneralRe: Change style based on device type Pin
Mundo Cani11-May-07 22:47
Mundo Cani11-May-07 22:47 
AnswerRe: Change style based on device type Pin
JimmyRopes12-May-07 7:45
professionalJimmyRopes12-May-07 7:45 
QuestionHyperlinkColumn! Pin
nclauder10-May-07 19:17
nclauder10-May-07 19:17 
Hi all,
I have this big problem with hyperlinks I would appriciate any help please.
My web site has two datagrids on the same page. And one has a list of names of the users which are in a HyperlinkColumn. The second datagrid is for inserting data, and when a user inserts data I used 'Windows Authentication' for names in one column called Name.
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 URL changes instead of the particular rows in the datagrid to be selected. For example the original url is "http://localhost/Dash_Board/DashBoard.aspx" and if I select user Claude the URL change into "http://localhost/Dash_Board/Claude" and get an error The page cannot be found. Why would this be happening?
My code looks like this:
HTML part:
<Columns>
<asp:HyperLinkColumn Target="_self" DataNavigateUrlField="TeamBilling" DataTextField="TeamBilling" HeaderText="Billing" DataTextFormatString="{0:c}"></asp:HyperLinkColumn>
</Columns>
and code behind:
private void dgbilling_SelectedIndexChanged(object sender, System.EventArgs e)
{
SqlCommand myCommand = new SqlCommand("select * from dbo.DashBoard where Name = @Billing",con);
SqlParameter myparam = new SqlParameter("@Billing",SqlDbType.Text);
myparam.Value="../Dash_Board/DashBoard.aspx?,Name{0}";
myCommand.Parameters.Add(myparam);
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 hyperlinkcolumn.
Thanks.


AnswerRe: HyperlinkColumn! [modified] Pin
Panchal Hardik11-May-07 1:47
Panchal Hardik11-May-07 1:47 
QuestionTooltips Pin
Laing,James10-May-07 13:25
Laing,James10-May-07 13:25 
AnswerRe: Tooltips Pin
MatrixCoder10-May-07 16:09
MatrixCoder10-May-07 16:09 
GeneralRe: Tooltips Pin
Laing,James13-May-07 7:50
Laing,James13-May-07 7:50 
Questionjavascript for textbox that accept only numbers Pin
DineshSharmain10-May-07 1:35
DineshSharmain10-May-07 1:35 
AnswerRe: javascript for textbox that accept only numbers Pin
RichardGrimmer10-May-07 5:19
RichardGrimmer10-May-07 5:19 
GeneralRe: javascript for textbox that accept only numbers Pin
DineshSharmain10-May-07 19:05
DineshSharmain10-May-07 19:05 
GeneralRe: javascript for textbox that accept only numbers Pin
Christian Graus10-May-07 19:38
protectorChristian Graus10-May-07 19:38 
AnswerRe: javascript for textbox that accept only numbers Pin
krsasi11-May-07 1:29
krsasi11-May-07 1:29 
QuestionMIVA in ASP.Net VB Code Pin
hifiger20049-May-07 3:54
hifiger20049-May-07 3:54 
AnswerRe: MIVA in ASP.Net VB Code Pin
Christian Graus10-May-07 10:43
protectorChristian Graus10-May-07 10:43 
QuestionUsing JDBCDataGrid example and am trying to enable row selection Pin
tleyden@imagine.ie8-May-07 23:03
tleyden@imagine.ie8-May-07 23:03 
QuestionUser controls Pin
Ridge Howison8-May-07 11:33
Ridge Howison8-May-07 11:33 
AnswerRe: User controls Pin
Christian Graus8-May-07 18:17
protectorChristian Graus8-May-07 18:17 
QuestionUsing the SQLDataReader Pin
No-e8-May-07 6:01
No-e8-May-07 6:01 
AnswerRe: Using the SQLDataReader Pin
Fred_Smith8-May-07 7:31
Fred_Smith8-May-07 7:31 
GeneralRe: Using the SQLDataReader Pin
No-e8-May-07 7:37
No-e8-May-07 7:37 

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.