|
Hi,
Thank you very much for ur prompt reply...can u send me the sample code for CustomValidator for the above sinarieo...I have not used CustomValidator..plz provide sample for the above said issue...
|
|
|
|
|
hiii....i got error(error:cc1:Aniamtionextendre can not be set on property animations) on the following code.Tell me where m i wrong.
i want to anomate the login control onclicking the linkbutton...
the code is:
<td align="right" class="style2"><br />
<br />
<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="Black" Font-Underline="false" OnClick="return false;">Sign In</asp:LinkButton><br />
<br />
<cc1:AnimationExtender ID="LinkButton1_AnimationExtender" runat="server" <br />
Enabled="True" TargetControlID="LinkButton1"><br />
<Animations><br />
<OnClick><br />
<Sequence><br />
<br />
</Sequence><br />
</OnClick><br />
</Animations><br />
</cc1:AnimationExtender><br />
<br />
|<asp:LinkButton ID="LinkButton2" runat="server" ForeColor="Black" Font-Underline="false">Register</asp:LinkButton><br />
</td>
plz guide me...
thanks...
modified on Wednesday, August 26, 2009 5:42 AM
|
|
|
|
|
Hi All,
In my Project, I want to Convert Data fetched from SQL server 2005 database to AL3 (ACORD Automation Layer 3) Format using c# 2.0(I am working in ASP.NET with c#) I have read some documents online about AL3 format. But I didn't get how to parse Data into AL3 format. Please help if you have any idea..
Thanks in advance.
Ankit Zaveri
modified on Wednesday, August 26, 2009 7:17 AM
|
|
|
|
|
Hello All,
Can anyone tell me, how can i put vertical & horizontal separators in my Menus without using images?
Thanks,
Nagendra.
|
|
|
|
|
use staticmenu properties....
|
|
|
|
|
Hi everyone,
I'm having a problem with the asp.net chart control and can't figure out what it is.. I have created 3 charts which work perfectly when running from my local machine - they pull the data from another machine I wish to host the charts on. After setting up the charts on the host computer I've hit a wall - the actual images of the charts cannot be displayed - i.e. You can only see the placeholders where they should be. I have also tried running it through localhost on the new machine but the same problem comes up. I'm new to ASP so any help is greatly appreciated.
Thanks alot!
|
|
|
|
|
anybody??
|
|
|
|
|
what all we have to do in the project process change management using asp.net. Actually i have been given the project but the thing is that i have no idea of the subject.So please anyone can help me out........
My id is nilanjana.sarkar@yahoo.com
please mail me........
|
|
|
|
|
IS there anyway to update database by simply clicking a link on email ... it has to be done with out open any web page...
|
|
|
|
|
You can use ajax technologies.
for example:
CallBack,IHttpHandler,and also ScriptManager
|
|
|
|
|
i'm not using AJAX...by using javascript how can it is possible..?
S Kumar
|
|
|
|
|
|
i have a site. i wrote this site before using html codes and i published it in httpdocs directory. Now i wrote this site again by using Asp codes. i can not publish it. My main file is default.aspx. is there anybody who will help me?
|
|
|
|
|
So what do you mean by "i can not publish it"? Do you get an error message?
|
|
|
|
|
|
I guess the error message is saying that you are using Apache as webserver. As far as I know it is not possible to use ASP.NET with an Apache webserver (except the Mono way, maybe).
Regards
Sebastian
|
|
|
|
|
you can publish your website in visual studio by going in build menu and there is an option for publish website, from there you can publish your website.
|
|
|
|
|
I have a dropdownlist and two datetimepicker textboxes i want to fill gridview while taking data from these controls. i use OR clause it not working. When i fill dropdown and datetime thn its working. i want that any of control is fill it show relevent data in gridview
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:Coupon ManagementConnectionString29 %>"
SelectCommand="SELECT CouponTransaction.TransactionDate, CouponTransaction.SerialStart, <\pre><pre>CouponTransaction.SerialEnd, CouponTransaction.TotalSale, CouponTransaction.Price FROM<\pre>
<pre>CouponType INNER JOIN CouponTransaction ON CouponType.CouponTypeID = CouponTransaction.CouponTypeID <\pre><pre>WHERE (CouponType.CouponTypeID = @Coupon) OR (CouponTransaction.TransactionDate BETWEEN (@Start)AND( @End ))">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1" Name="Coupon"
PropertyName="SelectedValue" />
<asp:ControlParameter ControlID="UltimateCalendar1" Name="Start"
PropertyName="SelectedDate" />
<asp:ControlParameter ControlID="UltimateCalendar1" Name="End"
PropertyName="SelectedDate" />
</SelectParameters>
</asp:SqlDataSource>
|
|
|
|
|
I need to set a perticular cell color. I know how to set the whole gridview background color or a row bkg color, but I dont know how to do it for a particular one...
|
|
|
|
|
GridView1.Rows[0].Cells[0].BackColor = System.Drawing.Color.Red;
Hope this'll do the job.
|
|
|
|
|
You can do this!
For example:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[0].BackColor = System.Drawing.Color.Red;
}
}
I hope it can help you !
|
|
|
|
|
Hello every one i have a storeprocedure and i am calling it in my application but it gives an error.i am giving code here.
=================the error is============================
ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.30]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'addloc2' at line 1
===================store procedure is=================
ELIMITER $$
DROP PROCEDURE IF EXISTS `addloc2` $$
CREATE DEFINER=`root`@`%` PROCEDURE `addloc2`(_loc varchar(50))
BEGIN
insert into test(Location) value(_loc);
END $$
DELIMITER ;
==================asp.net code is================================
odbcconnection con=new odbcconnection(connectionstring);
cmd=new OdbcCommand ("addloc2",con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add(new OdbcParameter ("_loc",OdbcType.VarChar)).Value ="nagpur";
con.Open();
cmd.ExecuteNonQuery();
con.Close();
|
|
|
|
|
Why would your stored proc include a drop statement ? This looks messy to me, it certainly looks wrong.
The first intelligent thing to do, is to run the proc inside your DB, so you can check if the proc is broken, or the code is broken. The code looks OK to me.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Why dont you write a bit cleaner ?
OdbcConnection con=new OdbcConnection(connectionstring);
cmd=new OdbcCommand ("addloc2",con);
cmd.CommandType = CommandType.StoredProcedure;
OdbcParameter pLoc = new OdbcParameter("_loc",OdbcType.VarChar);
pLoc.Value = "nagpur";
cmd.Parameters.Add(pLoc);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
rinku soni 23 wrote:
===================store procedure is=================
ELIMITER $$
and hey where is D in the line ??
Is it what you are missing
|
|
|
|
|
I used the following code for updating a record in gridview
protected void gvcmem_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
string sMemberID=gvcmem.DataKeys[e.RowIndex].Values["nMemberID"].ToString();
TextBox txtnumber=(TextBox)gvcmem.Rows[e.RowIndex].FindControl("txtnumber");
string sMemebername = gvcmem.DataKeys[e.RowIndex].Values["sMemberName"].ToString();
DataView dvUpdate = objGeneral.EditMemberPhoneNumber(sMemberID, sMemebername, string.Empty, txtnumber.Text, string.Empty, "1");
if (dvUpdate[0]["sStatus"].ToString() == "Success")
{
lblmess.Text = "Member Details Updated Sucessfully";
lblmess.Visible = true;
}
else
{
lblmess.Text = dvUpdate[0]["sStatus"].ToString();
lblmess.Visible = true;
}
gvcmem.EditIndex = -1;
this.loadGrid();
}
while updating when the text in the textbox is changed its not taking the updated text its taking the previous data itself nyone help pls
|
|
|
|