Click here to Skip to main content
16,011,870 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiongetting image from scripts Pin
rohit tiwary5-Sep-08 2:22
rohit tiwary5-Sep-08 2:22 
Questioncalling ASP function Pin
The Web Developer5-Sep-08 1:42
The Web Developer5-Sep-08 1:42 
AnswerRe: calling ASP function Pin
ToddHileHoffer5-Sep-08 2:21
ToddHileHoffer5-Sep-08 2:21 
GeneralRe: calling ASP function Pin
The Web Developer5-Sep-08 2:31
The Web Developer5-Sep-08 2:31 
GeneralRe: calling ASP function Pin
ToddHileHoffer5-Sep-08 2:47
ToddHileHoffer5-Sep-08 2:47 
Questionrestricting multiple logon to an application with single user account Pin
surender9395-Sep-08 1:11
surender9395-Sep-08 1:11 
Questionneed help with Bind in Gridview Pin
pratik malviya5-Sep-08 0:27
pratik malviya5-Sep-08 0:27 
AnswerRe: need help with Bind in Gridview Pin
ToddHileHoffer5-Sep-08 2:18
ToddHileHoffer5-Sep-08 2:18 
Create a template column in the gridview. Add a label to that column lblSessionDate.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Label lblSessionDate = (Label)e.Row.FidnControl("lblSessionDate");
lblSessionDate = currentDate.toString(SessionItemClass.DateFormat)
//It is always a good idea to create a class to access session items.
}
}


in your aspx markup add the property to the gridview OnRowDataBound="GridView1_RowDataBound"


I didn't get any requirements for the signature


AnswerRe: need help with Bind in Gridview Pin
AlexeiXX35-Sep-08 13:19
AlexeiXX35-Sep-08 13:19 
QuestionChat control Pin
Ha_804-Sep-08 23:46
Ha_804-Sep-08 23:46 
AnswerRe: Chat control Pin
eyeseetee5-Sep-08 0:11
eyeseetee5-Sep-08 0:11 
Questionregular expression validator for telephone number Pin
eyeseetee4-Sep-08 23:23
eyeseetee4-Sep-08 23:23 
AnswerRe: regular expression validator for telephone number Pin
J4amieC4-Sep-08 23:37
J4amieC4-Sep-08 23:37 
GeneralRe: regular expression validator for telephone number Pin
eyeseetee4-Sep-08 23:43
eyeseetee4-Sep-08 23:43 
GeneralRe: regular expression validator for telephone number Pin
The Web Developer5-Sep-08 1:48
The Web Developer5-Sep-08 1:48 
GeneralRe: regular expression validator for telephone number Pin
eyeseetee5-Sep-08 2:37
eyeseetee5-Sep-08 2:37 
GeneralRe: regular expression validator for telephone number Pin
The Web Developer5-Sep-08 3:28
The Web Developer5-Sep-08 3:28 
QuestionRowCommand event issue in GridView Pin
trilokharry4-Sep-08 22:01
trilokharry4-Sep-08 22:01 
AnswerRe: RowCommand event issue in GridView Pin
Blue_Boy4-Sep-08 22:44
Blue_Boy4-Sep-08 22:44 
QuestionRowEditing in gridview Pin
trilokharry4-Sep-08 21:58
trilokharry4-Sep-08 21:58 
AnswerRe: RowEditing in gridview Pin
Blue_Boy4-Sep-08 22:48
Blue_Boy4-Sep-08 22:48 
GeneralRe: RowEditing in gridview Pin
trilokharry4-Sep-08 23:04
trilokharry4-Sep-08 23:04 
GeneralRe: RowEditing in gridview Pin
K V Sekhar4-Sep-08 23:07
K V Sekhar4-Sep-08 23:07 
GeneralRe: RowEditing in gridview Pin
trilokharry4-Sep-08 23:16
trilokharry4-Sep-08 23:16 
QuestionHandling browser Close (X) button Pin
K V Sekhar4-Sep-08 21:01
K V Sekhar4-Sep-08 21:01 

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.