Forum: ASP.NET Mar 29th, 2008 |
| Replies: 2 Views: 5,628 You need to bind the labels text to some field value like Text='<%#Bind(ColumnName) %>'
Since you are not binding i suppose you are getting the error for null values in
lblLastName,lblFirstName |
Forum: ASP.NET Mar 28th, 2008 |
| Replies: 5 Views: 3,230 This may not be the proper way,but serves the purpose.
When user mouseover on button it displays the image and when on mouseout hides the image.
aspx:
<script type="text/javascript">
... |
Forum: ASP.NET Mar 27th, 2008 |
| Replies: 9 Views: 3,830 aspx
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px"
... |
Forum: ASP.NET Mar 27th, 2008 |
| Replies: 9 Views: 3,830 Hi Bright,
I am at office,it may take 3 hours to reach home.I will post the solution without fail.
Thanks
ravichandra |
Forum: ASP.NET Mar 26th, 2008 |
| Replies: 3 Views: 795 Supplier:
<asp:LinkButton ID="lnkSupplier" Text='<%#Bind("column_Name") %>' runat="server" CommandName="SupplierLink" CommandArgument='<%#Bind("Column_Name") %>'></asp:LinkButton></br>
Category... |
Forum: ASP.NET Mar 26th, 2008 |
| Replies: 2 Views: 1,062 I have uploaded the video, you can download the same from the following link.
http://rapidshare.com/files/100312416/AspDotNetCompilationModel.zip.html
Good Luck. |
Forum: ASP.NET Mar 24th, 2008 |
| Replies: 5 Views: 694 But what if you want to create a substring array separated by more than one characters like '#$' or '#$%' ?
Please refer the following thread:
http://www.daniweb.com/forums/thread113322.html
Mr.... |
Forum: ASP.NET Mar 24th, 2008 |
| Replies: 5 Views: 694 string value=Label1.Text+"/"+Label2.Text+"/"+TextBox1.Text
INSERT INTO EMP(NAME)VALUES(value)
While retrieving the value, you can use
string retrievedValue = "data_table_field_value"
string... |
Forum: ASP.NET Mar 24th, 2008 |
| Replies: 5 Views: 694 Concat the values with some special characters and store it. |
Forum: ASP.NET Mar 19th, 2008 |
| Replies: 3 Views: 1,312 Remove
RETURN @RoleTitle
and try
Good luck |
Forum: ASP.NET Mar 17th, 2008 |
| Replies: 9 Views: 3,830 I have implemented radio button in a gridview,where in user can select any one of the radiobutton in the gridview.If you need i can post the solution. |
Forum: ASP.NET Mar 14th, 2008 |
| Replies: 17 Views: 3,354 The following can help you but i am sure whether this is the right way.
While selecting the column check for null values like
select ISNULL(class,-1) from student
If the column class... |
Forum: ASP.NET Mar 13th, 2008 |
| Replies: 2 Views: 7,400 Please go through the following link.You can do it yourself.
Good Luck.
http://www.asp.net/learn/security/tutorial-02-vb.aspx |
Forum: ASP.NET Mar 13th, 2008 |
| Replies: 1 Views: 1,718 if (!chk.Checked)
LinkButton1.Attributes.Add("onclick", "return alert(' please select ')"); |
Forum: ASP.NET Mar 13th, 2008 |
| Replies: 3 Views: 808 1.Test the query
2.Check whether data is available in the table |
Forum: ASP.NET Mar 13th, 2008 |
| Replies: 2 Views: 10,457 I think you need to populate the second grid by clicking a button in a gridrow.I have made Button Type=Button and you can change either to Link type/Image type according to your requirement.
... |
Forum: ASP.NET Mar 12th, 2008 |
| Replies: 5 Views: 8,428 I Tested and its working.
Please go through and it works.
Good luck
ASPX
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Style="z-index: 100;
left:... |
Forum: ASP.NET Mar 10th, 2008 |
| Replies: 5 Views: 8,428 The code need to be written in RowDataBound event:
I have taken SupplierID column for demo,change according to your need.Columns starts with 0 index.
Try this:
protected void... |
Forum: ASP.NET Mar 6th, 2008 |
| Replies: 3 Views: 5,241 please visit www.asp.net .
http://www.asp.net/learn/data-access/
Mr. Scott goes through step by step about the control.Its one of the best tuttorial to learn and understand.
Good luck. |
Forum: ASP.NET Mar 5th, 2008 |
| Replies: 26 Views: 3,847 Try this:
protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
Page.RegisterClientScriptBlock("KEY", "<script language='javascript'>" + "confirm('Do you... |