Click here to Skip to main content
15,892,517 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Is it possible to use .dbml in vs2005 Pin
N a v a n e e t h3-Mar-08 22:49
N a v a n e e t h3-Mar-08 22:49 
Questioncan grow in cross tab crystal report. Pin
Sonia Gupta3-Mar-08 22:11
Sonia Gupta3-Mar-08 22:11 
QuestionIframe is not working Pin
vineesh v3-Mar-08 22:10
vineesh v3-Mar-08 22:10 
GeneralRe: Iframe is not working Pin
N a v a n e e t h3-Mar-08 22:46
N a v a n e e t h3-Mar-08 22:46 
GeneralRe: Iframe is not working Pin
eyeseetee3-Mar-08 23:23
eyeseetee3-Mar-08 23:23 
GeneralLinkButton in DataGrid Pin
VanithaVasu3-Mar-08 21:47
VanithaVasu3-Mar-08 21:47 
GeneralRe: LinkButton in DataGrid Pin
N a v a n e e t h3-Mar-08 22:44
N a v a n e e t h3-Mar-08 22:44 
GeneralRe: LinkButton in DataGrid Pin
VanithaVasu4-Mar-08 17:37
VanithaVasu4-Mar-08 17:37 
Ya , i got it. But can u tell me is there any other Simple way .

And here is my code which worked out. But if this method , i implemented it make be coding conjusted when i have to do some operations on selection of the particular linkbutton.

HTML
--------
<asp:label runat="server" text="Author" forecolor="ButtonShadow" id="AuthorLbl" font-size="Small"><asp:linkbutton id="Lb" runat="server" text="">]]>'>

CodeBehind
-----------

public string Call_Author(string IsbnID)
{
ArrayList AuthorCount = new ArrayList();
DataSet ds;
ds = objAddDL.Call_Author(IsbnID); // Select query to fetch all author names where IsbnId="someruntimevalue";
string AuthorName="";
foreach (DataRow dr in ds.Tables[0].Rows)
{
AuthorName = dr[0].ToString();
AuthorCount.Add(AuthorName);
}
string retval="";
int ACount = AuthorCount.Count;

if (ACount == 1)
{
retval = "" + AuthorCount[0].ToString() + "";
AuthorCount.Clear();
}
if (ACount == 2)
{
retval = "" + AuthorCount[0].ToString() + "" + " , ";
retval += "" + AuthorCount[1].ToString() + "";
AuthorCount.Clear();
}
if (ACount == 3)
{
retval = "" + AuthorCount[0].ToString() + "" + " , ";
retval += "" + AuthorCount[1].ToString() + "" + " , ";
retval += "" + AuthorCount[2].ToString() + "";
AuthorCount.Clear();
}
return retval;

VanithaVasu

Generalset username and password to open internet explorer Pin
gopismiles3-Mar-08 21:14
gopismiles3-Mar-08 21:14 
GeneralRe: set username and password to open internet explorer Pin
Christian Graus3-Mar-08 21:21
protectorChristian Graus3-Mar-08 21:21 
GeneralRe: set username and password to open internet explorer Pin
eyeseetee3-Mar-08 21:27
eyeseetee3-Mar-08 21:27 
GeneralRe: set username and password to open internet explorer Pin
Christian Graus3-Mar-08 21:45
protectorChristian Graus3-Mar-08 21:45 
GeneralCannot Get Traditional Chinese character properly with Request.QueryString under ASP.NET C# Pin
oceandeeplawrence3-Mar-08 21:09
oceandeeplawrence3-Mar-08 21:09 
GeneralThe problem during writing into an existing cookie, after re running my web application....... Pin
Vishnu Narayan Mishra3-Mar-08 20:57
Vishnu Narayan Mishra3-Mar-08 20:57 
GeneralIIS System.OutOfMemoryException Pin
Eduard Keilholz3-Mar-08 20:05
Eduard Keilholz3-Mar-08 20:05 
Questionhow to show gridview update after button click without postback Pin
uglyeyes3-Mar-08 19:23
uglyeyes3-Mar-08 19:23 
AnswerRe: how to show gridview update after button click without postback Pin
Christian Graus3-Mar-08 19:34
protectorChristian Graus3-Mar-08 19:34 
GeneralRe: how to show gridview update after button click without postback Pin
uglyeyes3-Mar-08 19:41
uglyeyes3-Mar-08 19:41 
GeneralRe: how to show gridview update after button click without postback Pin
uglyeyes3-Mar-08 19:52
uglyeyes3-Mar-08 19:52 
GeneralRe: how to show gridview update after button click without postback Pin
Christian Graus3-Mar-08 20:11
protectorChristian Graus3-Mar-08 20:11 
GeneralRe: how to show gridview update after button click without postback Pin
Christian Graus3-Mar-08 19:53
protectorChristian Graus3-Mar-08 19:53 
GeneralRe: how to show gridview update after button click without postback Pin
uglyeyes4-Mar-08 11:46
uglyeyes4-Mar-08 11:46 
Generalget a value in a gridview Pin
caradri3-Mar-08 19:03
caradri3-Mar-08 19:03 
GeneralRe: get a value in a gridview Pin
Christian Graus3-Mar-08 19:36
protectorChristian Graus3-Mar-08 19:36 
GeneralRe: get a value in a gridview Pin
caradri3-Mar-08 20:35
caradri3-Mar-08 20:35 

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.