Click here to Skip to main content
15,894,241 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: Passing values using Image button instead of 'Submit' button Pin
swissmiss8625-Jul-06 4:21
swissmiss8625-Jul-06 4:21 
QuestionAm I right? Pin
cloudking1196614-Jul-06 3:51
cloudking1196614-Jul-06 3:51 
AnswerRe: Am I right? Pin
Guffa14-Jul-06 4:31
Guffa14-Jul-06 4:31 
AnswerRe: Am I right? Pin
Daniel Santillanes14-Jul-06 7:12
professionalDaniel Santillanes14-Jul-06 7:12 
QuestionTable problem in vb.net1.1 Pin
amaneet14-Jul-06 2:47
amaneet14-Jul-06 2:47 
AnswerRe: Table problem in vb.net1.1 Pin
mnaveed14-Jul-06 2:55
mnaveed14-Jul-06 2:55 
GeneralRe: Table problem in vb.net1.1 Pin
amaneet14-Jul-06 3:09
amaneet14-Jul-06 3:09 
GeneralRe: Table problem in vb.net1.1 Pin
cloudking1196614-Jul-06 3:31
cloudking1196614-Jul-06 3:31 
It will work Boss.


Make sure your aspx page is in the format

<Columns>
<asp:TemplateColumn HeaderText="Edit">
<ItemTemplate>
<table runat="server" id="tbl">
<tr>
<td>ok</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
---------------------------------------
and you have properly binding data to Datagrid

DataTable dt=new DataTable();
dt.Columns.Add(new DataColumn("One"));
DataRow drow=dt.NewRow();
drow[0]="okman";
dt.Rows.Add(drow);
DataGrid1.DataSource =dt;
DataGrid1.DataBind();

-------------In item databound event write below
if(e.Item.FindControl("tbl")!=null)
{
Response.Write("Found");
}

It will write "Found"
AnswerRe: Table problem in vb.net1.1 Pin
Jesse Squire14-Jul-06 2:58
Jesse Squire14-Jul-06 2:58 
GeneralRe: Table problem in vb.net1.1 Pin
amaneet14-Jul-06 3:09
amaneet14-Jul-06 3:09 
AnswerRe: Table problem in vb.net1.1 Pin
Khawar Abbas114-Jul-06 3:27
Khawar Abbas114-Jul-06 3:27 
GeneralRe: Table problem in vb.net1.1 Pin
amaneet14-Jul-06 3:31
amaneet14-Jul-06 3:31 
QuestionCookies Pin
nidheeshkayal14-Jul-06 2:23
nidheeshkayal14-Jul-06 2:23 
AnswerRe: Cookies Pin
bluewavestrider14-Jul-06 5:59
bluewavestrider14-Jul-06 5:59 
GeneralRe: Cookies Pin
Brent Lamborn14-Jul-06 6:25
Brent Lamborn14-Jul-06 6:25 
QuestionHow do i play a part of the song using WindowsMediaPlayer object in a webpage? Pin
sai_akkina14-Jul-06 1:49
sai_akkina14-Jul-06 1:49 
AnswerRe: How do i play a part of the song using WindowsMediaPlayer object in a webpage? Pin
bluewavestrider14-Jul-06 6:02
bluewavestrider14-Jul-06 6:02 
AnswerRe: How do i play a part of the song using WindowsMediaPlayer object in a webpage? Pin
Brent Lamborn14-Jul-06 6:21
Brent Lamborn14-Jul-06 6:21 
Questionchanging from asp to asp.net Pin
lehya14-Jul-06 1:38
lehya14-Jul-06 1:38 
AnswerRe: changing from asp to asp.net Pin
Not Active14-Jul-06 2:19
mentorNot Active14-Jul-06 2:19 
AnswerRe: changing from asp to asp.net Pin
Jesse Squire14-Jul-06 2:28
Jesse Squire14-Jul-06 2:28 
GeneralRe: changing from asp to asp.net Pin
lehya14-Jul-06 2:46
lehya14-Jul-06 2:46 
GeneralRe: changing from asp to asp.net Pin
Brent Lamborn14-Jul-06 4:48
Brent Lamborn14-Jul-06 4:48 
QuestionAsp.net Validator Pin
user556914-Jul-06 1:10
user556914-Jul-06 1:10 
AnswerRe: Asp.net Validator Pin
Jakob Farian Krarup14-Jul-06 1:48
Jakob Farian Krarup14-Jul-06 1:48 

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.