|
The pbm occurs is not in the rows.But the image saved is same in the db.Why the image saved is same in the db....
|
|
|
|
|
Hai
I need to access the asp:image inside asp:GridView ItemTemplate in .cs file. How can i set the imageurl Dynamically, based on conditions? The Grid view data binding is from the Database using dataset.
please help me
|
|
|
|
|
My suggestion is , In row bound function u can add the columns dynamically
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Hi
Create a function in code behind and pass image name to that function.
and in item template om set image url property to the function name.
<asp:image id="imgreply" runat="server" imageurl=""><![CDATA[<%# Thumbnail(Container.Dataitem("reply_imgname")) %>]]>'></asp:image>
and in code behend this id thumbnail function.
Function Thumbnail(ByVal img_name As String)<br />
If img_name <> "" Then<br />
Dim urlThumbNail As String = "thumbnails.aspx?iname=" & img_name<br />
Return urlThumbNail<br />
Else<br />
<br />
End If<br />
End Function
thumbnail.aspx is the name of the page where thumbnail of the image is
created.You can easily get the code for thumbnail if u havn't got
the reply me.
Regards.
Rahul
People Laugh on me Because i am Different but i Laugh on them Because they all are same.
|
|
|
|
|
Thanks Rahul
It helps a lot to complete my work
|
|
|
|
|
Welcome Niya.
Regards.
Rahul.
People Laugh on me Because i am Different but i Laugh on them Because they all are same.
|
|
|
|
|
hi...
i'm new in Asp.net..
i want to source code for online exam..
i'm using ASP.net & C# coding..
plz...
any one help me..
advance
Thanks,
For ur infor...
|
|
|
|
|
what you want tell me!
Thanks & Regards
Niranjan
|
|
|
|
|
i want sample coding for online exam proj in asp.net with c#..
do u know any website?
|
|
|
|
|
Hey,
here you can get idea about your queries..
Not source code..
For that try google...
Hope it will save your time.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
ok...
do u know any good tutorial or website?
i wanna sample code of online-exam proj in asp.net using c#..
|
|
|
|
|
Hi,
there isnot anything on google ??
You can easily help yourself by doing your own homework, and trying to learn something instead of sitting back waiting for others to do it all for you.
So just start..
Try..
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
|
Hey,
try this.. it will help you..
Link[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
thank u boss..
i will try..
|
|
|
|
|
Hi Guys & Girls,
Currently I am using VS2003 version,
I like to use ajax codes for my projects...,
Anyone plz guide me some good sites to learn abt ajax with vs2003,
Plz help me,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
|
iam desiging tool tip using a css style sheet. now this tool tip i want to add to the grid view how it is possible
|
|
|
|
|
Hi,
Why posting same message these many times ?
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
You are right!
Thanks & Regards
Niranjan
|
|
|
|
|
I want to display only one product from database for every 10 minutes.Please help very urgent
|
|
|
|
|
Hi ,
you can put timer and can set interval of 10mins...
Fetch data on every tick event of timer.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Hi,
Iam making a website which have arabic text.But the text is always not clear compared with the english text in the same font size.Is there a best font for arabic text in webpages or should I increase the font size for arabic text more than the english text?.
I am too late but i will never give up
|
|
|
|
|
I am using ASP.NET to create this datagrid, but I am trying to do all of the code in the VB code section and not the html section.
I am building a datagrid as follows:
3 Text Columns
1 Link Button Column
1 Push Button Column
In Property Builder, I have set the "Command Name" for both the Link Button and Push Button columns to "Select". This is so that when the user clicks on the column, I can use the SelectedIndexChange event and determine what row they are clicking on. The only problem is that in doing so, I cannot determine the column they are clicking on. Is there any code I can use on the VB side in the datagrid SelectedIndexChange sub to determine what column was clicked in? Anything from the header of the column or even just the column index itself. The SelectedIndexChange sub is written such:
Private Sub dg_LastSevenDays_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
dg_LastSevenDays.SelectedIndexChanged
End Sub
When I try to see what data I can get from 'sender' or 'e', all they reference is the datagrid itself and not anything within it.
Search for solutions online, I found a few that would work if this was a compiled application and not a web application. Has anyone run into this before?
David
|
|
|
|
|
Look at the Checkboxes and Textboxes section
DataGridItem Item = (DataGridItem)(((System.Web.UI.Control)sender).NamingContainer);
Though it isn't exactly what you asked for, it should give you enough clues.
http://www.codeproject.com/KB/webforms/datagriddemo.aspx[^]
only two letters away from being an asset
|
|
|
|