|
How to use Ajax calendar control using asp in c#.
Plz tell me in detail
|
|
|
|
|
http://www.asp.net/LEARN/ajax-videos/video-124.aspx
|
|
|
|
|
Thanks...............
|
|
|
|
|
plese any one know that run asp.net site on local IIS
i realy need the ans
|
|
|
|
|
|
Why are you reposting samething again?
Right click -> publish
Plus a simple google search will reveal this to you. Provided you use appropriate keywords to search.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Dont crosspost.
Read IIS manual. From the console, it is very easy to publish.
|
|
|
|
|
Hi
Using C# does anyone know how to build a list of Dynamic HTML links going down the page?
at the moment i'm using link buttons,but this is not very friendly when viewing the page on a mobile phone browser..Thanx in advance.
void CreateDynamicLinks()
{
tblDynamic.Controls.Clear();
DataTable dtSite = GetSiteList(intTechId);
int i = 0;
foreach (DataRow row in dtSite.Rows)
{
i++;
strLink = getSiteName(Convert.ToInt32(row["SiteID"].ToString()));
TableRow tr = new TableRow();
TableCell tcLinkButton = new TableCell();
LinkButton linkButton = new LinkButton();
linkButton.ID = row["SiteID"].ToString();
linkButton.Text = strLink;
linkButton.Command += new CommandEventHandler(OnLinkClick);
linkButton.CommandName = row["SiteID"].ToString();
linkButton.CommandArgument = row["SiteID"].ToString();
tcLinkButton.Controls.Add(linkButton);
tr.Cells.Add(tcLinkButton);
tblDynamic.Rows.Add(tr);
}
}
|
|
|
|
|
Targeting WAP enabled devices is very different than a mobile web browser. In most cases there are two, or more sites/pages used to target different platforms. I would suggest starting there
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hiii i am using datalist as a cart to show the items.
but the update functionality is not working.i m entering the quantity in textbox n updating it.
can u help me.
plz guide.
the code is:
protected void Update(object source, DataListCommandEventArgs e)
{
int ProductID = Convert.ToInt32(DataList1.DataKeys[e.Item.ItemIndex]);
TextBox txtqty;
txtqty = ((TextBox)e.Item.FindControl("txtqty"));
string connectionstring = ConfigurationManager.ConnectionStrings["SilverOnline"].ConnectionString;
SqlConnection conn = new SqlConnection(connectionstring);
SqlCommand cmd = new SqlCommand("Update Home Set ProductQty=@productqty Where ProductID=@productid", conn);
cmd.Parameters.Add("@productqty", SqlDbType.VarChar).Value = txtqty.Text;
cmd.Parameters.Add("@productid", SqlDbType.Int).Value = ProductID;
if (conn.State == ConnectionState.Closed)
conn.Open();
cmd.ExecuteNonQuery();
if (conn.State == ConnectionState.Open)
conn.Close();
DataList1.EditItemIndex = -1;
Session["cart"] = dt;
DataList1.DataSource = dt;
DataList1.DataBind();
lbltotal.Text = "Rs." + gettotal();
}
|
|
|
|
|
what is the error you are getting...
mylogics wrote: Session["cart"] = dt; DataList1.DataSource = dt; DataList1.DataBind();
if this session value has old value then what is the use of rebinding it in to datalist.
|
|
|
|
|
hi
How to call an interface from cs file
|
|
|
|
|
Hi all,
I dont think u can call interface from .cs file u can implement interface.
|
|
|
|
|
What do you mean by calling an interface?
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
interface cannot be called it can be implemented as multiple inheritance...
|
|
|
|
|
padmanabhan N wrote: it can be implemented as multiple inheritance
Interface is implemented and not inherited. It is no way related to multiple inheritance.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
sir,then what will be the difference between inheritance and interface....
|
|
|
|
|
You inherit a functionality. Interface does not gives you any kind of functionality. Even if I have a method say Sum in my interface, any class implementing it can write anything in the method definition. There is no way an interface can force you write code that will calculate sum if it has a method called sum.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
If Dog class implements IDog interface, then you can do something like:
IDog dog = new Dog();
dog.Bark();
I think this is what you are asking. You cannot "call" an interface directly. However, you can use an instance of an interface type to call a method provided the instance points to an object that implements that interface.
|
|
|
|
|
Dear All,
i am making an inhouse software to track all contract details, right from the sanction of the contract to the implementation of the project.
I have the a table named mtblcontract;
Proj_No - primary key
Funding Agency
Sanctioned Amount
Start Date
End Date
This above table stores the basic information of the project.
I have a form where we need to enter the sanction amount details. The structure of the form is given below. Below is the sanction details for the Project_No P001
[B]Project_ No: P001[/B]
S. No Head Sanctioned_Amount Estimated_Exp Profit
1 Salaries 20000 5000 5000
2. Travel 5000 2500 2500
I would want the user to enter the above details in a grid. How do i do it? I am also confused as to how to create a table (table structure: fields) to store the above data.
Would be great if any one of you could help me in this....
Thanks
Sajit
|
|
|
|
|
make a template field in the grid and insert a textbox in that template field and insert the values.......
|
|
|
|
|
Hi
Use Grid view to allow the user to enter the information. Access the grid row from CodeBehind and Save the Entered Data.
Please use the following line to access the data grid textbox value from code behind
Convert.ToString(CType(GridView1.Rows(i).FindControl("Text1"), Textbox).Text)
Thanks,
Raja.S
modified on Tuesday, November 10, 2009 8:22 AM
|
|
|
|
|
hello,
how can i run my site in local iis server?
|
|
|
|
|
|
HI All,
can any one give me idea abt how to start implementing the RSA encryption algorithm using C#.
Thanks and regards,
Amit Patel
|
|
|
|