|
Hello friends, how was the day? Someone should give me idea about this. There is this amazing look in code project that I like so much. Which is, when a cursor is hover over Discussion, dropdown menus will display where you can click other options and you will be redirected to the specified url. Please someone should kindly give me the clue to do this!!! Thanks to all.
|
|
|
|
|
Hi,You can get this look by using CSS Menu.you can create it by own or else you can download it from sites.
Have a look at this Page[^].
To learn all there is to know. I know I'll be disappointed one day, but I've made a good start, and the eventual disappointment is likely to be brief.
-Roger Wright
Never doubt that a small group of thoughtful, committed people can change the world. Indeed, it is the only thing that ever has.-Margaret Mead
|
|
|
|
|
there any projects like web cam chat between 2 systems ?,
i need immediate replay for this question
for my final year projetc
|
|
|
|
|
There may well be lots of similar projects, and no doubt Google will be able to find them for you.
Veni, vidi, abiit domum
|
|
|
|
|
i want to access the last modified time of the blob. plz help thanx in advance
|
|
|
|
|
Need more info.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hello friends, I have a problem with my asp.net website under design. When visitors login, I stored their login email and password in a session i.e Session("email")=dr("email"), Session("password")=dr("password"). So that they can access their info in the home page with the session values. The concept here is that, when users login, on page load of the home page, it should display the person info on the page using the session values to query the database. It works perfectly, but, the problem is that when it get to sometime, and the page is refresh or a button is clicked, the following error occurred. Parameterized query email, password' expect parameters value @email, @password which was not supplied. I tried to modify the sessionstate as follows<sessionstate timeout="60"> but the error still occurs. What is really wrong here? If there is any other way I can store the login info without session, please tell me. I really need help. Thanks!
|
|
|
|
|
How To Change ASP.NET Session Timeout[^]
From above link: Why increasing of session timeout maybe not works
In some cases, when you increase session timeout, then run web application, session will still expire. There could be few possible reasons for this.
Notice that session timeout should be less than Application pool idle timeout, so if you increase session timeout, you have to increase application idle timeout too. Otherwise, application will get recycled. If application is recycled, sessions will expire automatically.
Also check this too
Troubleshooting Expired ASP.NET Session State and Your Options[^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
Ooooooh, how can I thank you thatraja? You have solved the real task for me. Thanks alot, I really appreciate.
|
|
|
|
|
Otekpo Emmanuel wrote: Ooooooh, how can I thank you thatraja? Please Santa...[^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
Hello friends, please I need your help in this stuff. I have a datalist control on my asp.net webpage with the following buttons(Add, Remove, Cancel). I'm able to code the the button add using OnItemCommand. But, I'm unable to code the one of Remove and Cancel to call the sub procedures I wrote in vb code behind. Also, I would like a specific record to be removed from the datalist control when the remove button is click. Please help. Thanks in advance!
|
|
|
|
|
I here mention a complete code below in Data List Add,Remove and Update.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
public partial class mytesting : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
GetData();
}
}
private void GetData()
{
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=jogi;Integrated Security=True");
try
{
con.Open();
SqlCommand cmd = new SqlCommand("select * from jogi2", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
DataList1.DataSource = ds.Tables[0];
DataList1.DataBind();
}
finally
{
con.Close();
}
}
protected void DataList1_EditCommand(object source, DataListCommandEventArgs e)
{
DataList1.EditItemIndex = e.Item.ItemIndex;
GetData();
}
protected void DataList1_CancelCommand(object source, DataListCommandEventArgs e)
{
DataList1.EditItemIndex = -1;
GetData();
}
protected void DataList1_UpdateCommand(object source, DataListCommandEventArgs e)
{
String id = ((Label)e.Item.FindControl("Label3")).Text;
TextBox role = (TextBox)e.Item.FindControl("TextBox1");
TextBox password = (TextBox)e.Item.FindControl("TextBox3");
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=jogi;Integrated Security=True");
con.Open();
SqlCommand cmd = new SqlCommand("update jogi2 set role='" + role.Text + "',password='" + password.Text + "'where id ='" + id + "'", con);
int i = cmd.ExecuteNonQuery();
if (i > 0)
{
Label4.Text = "Recard Updated successfully....";
GetData();
}
}
protected void DataList1_DeleteCommand(object source, DataListCommandEventArgs e)
{
String id = ((Label)e.Item.FindControl("Label1")).Text;
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=jogi;Integrated Security=True");
con.Open();
SqlCommand cmd = new SqlCommand("delete from jogi2 where id='" + id + "'", con);
int i = cmd.ExecuteNonQuery();
if (i > 0)
{
Label4.Text = "Recard Deleted successfully....";
GetData();
}
}
protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e)
{
if (e.CommandName.Equals("Insert"))
{
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=jogi;Integrated Security=True");
con.Open();
TextBox role = (TextBox)e.Item.FindControl("TextBox4");
TextBox password = (TextBox)e.Item.FindControl("TextBox5");
SqlCommand cmd = new SqlCommand("insert into jogi2 values('" + role.Text + "','" + password.Text + "')", con);
int i = cmd.ExecuteNonQuery();
if (i > 0)
{
Label4.Text = "Recard inserted successfully....";
GetData();
}
}
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Response.Redirect("default2.aspx");
}
}
For any problem you are faced hit to reply..
happy coding :)
jsb
|
|
|
|
|
Waooo, what a marvellous post! Banger, thank you very much. You post was easy to understand. Thanks alot...
|
|
|
|
|
i am not able to connect to remote server with filezilla that is shared hosting its giving me connection timed out error while i try to connect to remote server using their IP
|
|
|
|
|
What's your question?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hi Everybody,
I have PC with win server on it, i would like to host my site there
and access it from other computer on my network (WLAN) before i pay for hosting.
Can you help me do it?
|
|
|
|
|
|
put it in IIS,you can user IP view the web,like 192.168.1.123:801/default.aspx
|
|
|
|
|
if the host computer is server OS,you can setting DNS,if the host computer ip is 192.168.1.101,you can put it int DNS and setting ip with domain,like www.a.com but just access in WLAN
|
|
|
|
|
Hello,
How can we create own website like youtube a Dailymotion using c# Asp.Net?
Please help me.
its very urgent plz help me give me the source code plz
Thanks in Advance.
|
|
|
|
|
"Its very urgent"
"give me the source code plz"
Its not how it works around here, if you want the source code ready to go, try freelancer or vworker and pay for what you want. We are all volunteers to help you with your programming problems, not do all the work for you. Is Christmas week and I assure you, it is not urgent to us.
How do you create those kinds of sites? You start small and work your way up. It really depends on how much experience you have, since we know nothing about you, I assume you know nothing about the technologies involved and I would go so far as to say its out of your reach. Start with a small project to upload videos, then another one to display them, then another for user accounts, etc. Keep going until you've made sites with all the little pieces and then start stitching them together.
|
|
|
|
|
Inversion of control with unity container.
|
|
|
|
|
Is this a question or a statement?
Veni, vidi, abiit domum
|
|
|
|
|
i have hosted my website on shared hosting.It worked fine for few days now getting error Service Unavailable
HTTP Error 503. The service is unavailable.
pls help me with this.what to do with shared host.
|
|
|
|
|
Contact your hosting provider
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================
|
|
|
|
|