|
If it is on your webconfig use ConfigurationManager class to modify it.
sepel
|
|
|
|
|
No, it's not in web.config file. It's a XML file
|
|
|
|
|
|
|
Hi, I have a radio button control on my form. By default its one option is selected. At run time when i clicked a button, i want to change the state to other option?
How it is possible?
|
|
|
|
|
RadiobuttonID.Selected=True;
Apurva Kaushal
|
|
|
|
|
Its not correct. I want to change the selection of one of the options. Not the whole option.
|
|
|
|
|
Assign all radio button same GroupName .
|
|
|
|
|
|
in which case set the SelectedValue or SelectedIndex properties on your radio button list
|
|
|
|
|
Karthick_gc wrote: I have a radio button control
Karthick_gc wrote: its one option is selected
I think you forget to write all your soluion !!
Is there only one radio control on your form?
sepel
|
|
|
|
|
i have menu bar in which there are differnt links
i want ....when user will click on any link that link clour will get change
means he will get know which link he has selected
one link code
<td id="tdMnuDashboard" valign="middle" align="center" style="width: 30px; padding-left: 3px;
cursor: pointer;"
colspan="0"
<asp:LinkButton ID="MenuHome" runat="server" Text="Dashboard" ForeColor="#173f79"
CssClass="CSMenu" OnClick="MenuHome_Click" CausesValidation="false"></asp:LinkButton>
</td>
please help me
modified on Monday, February 9, 2009 6:19 AM
|
|
|
|
|
You will have to use CSS and the pseudo-class :visited to specify that.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
By default when you click links on webpage visited link color change.
You can use this style in your header page.
a:visited
{
color:green;
}
sepel
|
|
|
|
|
|
Hey u all suggeste the same..but its not working....
means when i click on any link...color change but when tht page get open it turns back to normal coloue
iwant th colour remain same...while i click ti other link
|
|
|
|
|
Hello
Has anybody worked in Facebook.NET 2.0 and created events using the function events.create()?
Well, I am getting the exception "Invalid Parameter" while using it.
(Declarions & authentication skipped)
Dim NewEvent As New Facebook.Schema.facebookevent()<br />
NewEvent.name = "ThroughCode"<br />
NewEvent.event_type = "1" 'Also tried "Party"<br />
NewEvent.event_subtype = "1" 'Also tried "Birthday Party"<br />
NewEvent.host = "tony"<br />
NewEvent.location = "Sabha"<br />
NewEvent.start_date = StartDt.Date<br />
NewEvent.start_time = 1215929150<br />
NewEvent.end_date = EndDt.Date<br />
NewEvent.end_time = 1215929160<br />
NewEvent.description = "SDFSDF"<br />
Dim CreateEvtStatus As Long = events.create(NewEvent)
I have also tried giving venue details as follows:
<br />
Dim loc As Facebook.Schema.location = New Facebook.Schema.location()<br />
loc.city = "Bombay"<br />
loc.country = "India"<br />
loc.state = "Maharashtra"<br />
loc.zip = "400001"<br />
<br />
NewEvent.venue = loc<br />
But no chance!!!
|
|
|
|
|
Hi Guys,
Sorry if I am posting this in the wrong Forum. I have an web app that makes use of the ReportViewer control. In this control I am calling a Remote SQL 2005 Report. This app works fine if I run in from IIS. I can export without any issues.
We added this app into a Portal which is a Windows App and uses the Web Browser Control to display aspx pages. The page and the report displays just fine, but when I try to export the report using the Export link on the ReportViewer toolbar I get the following Error Message:
ASP.NET session has expired. Can anyone please give me guidance as to what I must do to be able to get this report exportable.
Your help is greatly appreciated.
Elizma
|
|
|
|
|
Hi friends,
I am using Asp.Net 2.0 application. I need to send mail through stored procedures.
I know that config dbmail we can get the sp_send_dbmail inbuilt procedure.But i dont have
in my database that is msdb. I need to config dbMail. For config go to Management in the
sql server 2005.But i dont have dbmail config in the Management. What can i do?? Is any
software need to be installed for sql server 2005 to config dbmail. Kindly give me a
suggestion. Its very urgent. I am wasting one day to config dbmail.
Hope your's reply.
Thanks & Regards
Every Successful Person Have A Painful Story
|
|
|
|
|
hi,
How to add background image to a button?
regards,
Bill
|
|
|
|
|
Using CSS. Something like background-image: url("yourimageurl");
|
|
|
|
|
Or use ImageButton . set imagerul property .
|
|
|
|
|
Use ImageButton Control .
sepel
|
|
|
|
|
You can make a button with an image background. You can also make an image that acts as a button-
<img src='test.png' onClick="buttonFunction()">
This can enact a Javascript function or what have you.
Ranjit Viswakumar
Professional Services Specialist
http://hostmysite.com/?utm_source=bb
|
|
|
|
|
hi all ,
I am developing advertising Website-Registering Impression,click etc..here problem is whenever user registering Impression that we are loss the 40% impression and here we doing geolocation also.I attached following code also..Plz reply me if u know...Thanks
using System;
using System.Data;
using System.Data.SqlClient;
using dataacesslayer;
using System.Web;
public partial class Admin_getbase : System.Web.UI.Page
{
string Crid = "";
SqlConnection conn = null;
SqlCommand cmdinsert = null;
protected void Page_Load(object sender, EventArgs e)
{
Response.Cache.SetCacheability(HttpCacheability.NoCache);
SqlParameter paramvalue;
conn = new SqlConnection("Data Source=dddd;Initial Catalog=new;User ID=fg;Password=hg");
if (Request.QueryString["Crid"] != null)
{
Crid = Request.QueryString["Crid"].ToString();
}
try
{
cmdinsert = new SqlCommand("sd_Basreg", conn);
cmdinsert.CommandType = CommandType.StoredProcedure;
paramvalue = new SqlParameter("@Crid", SqlDbType.Int);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = Crid;
cmdinsert.Parameters.Add(paramvalue);
paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = IpAddress();
cmdinsert.Parameters.Add(paramvalue);
conn.Open();
cmdinsert.ExecuteNonQuery();
Response.ContentType = "text/plain"; Response.Write("&imp=registered&");
}
catch (Exception ex)
{
cmdinsert = new SqlCommand("sd_Basreg", conn);
cmdinsert.CommandType = CommandType.StoredProcedure;
paramvalue = new SqlParameter("@Crid", SqlDbType.Int);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = Crid;
cmdinsert.Parameters.Add(paramvalue);
paramvalue = new SqlParameter("@IpNum", SqlDbType.BigInt, 50);
paramvalue.Direction = ParameterDirection.Input;
paramvalue.Value = "0";
cmdinsert.Parameters.Add(paramvalue);
conn.Open();
cmdinsert.ExecuteNonQuery();
Response.ContentType = "text/plain"; Response.Write("&imp=registered&");
}
finally
{
cmdinsert.Dispose();
conn.Close();
if (conn.State == ConnectionState.Open)
{
conn.Close();
conn.Dispose();
}
}
}
private string IpAddress()
{
string IPCity = "";
string strIpAddress;
strIpAddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
string IpAddress = strIpAddress;
Array IpPart = IpAddress.Split('.');
Int64 IpNum = 16777 * Convert.ToInt64(IpPart.GetValue(0)) + 636 * Convert.ToInt64(IpPart.GetValue(1)) + 26 * Convert.ToInt64(IpPart.GetValue(2)) + Convert.ToInt64(IpPart.GetValue(3));
return IpNum.ToString();
}
}
Create PROCEDURE [dbo].[sd_Basreg]
@Crid int,@IpNum varchar(50)
AS
begin
Insert into S_Base(CrId,IpNum) values(@Crid,@IpNum);
end
Please reply me ...if any optimizing code for this
Raaj
|
|
|
|