|
Vuyiswa Maseko wrote: What is Intranet ?
Lets go to basics [^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
You wrote before you understand the moral of the question. People tend to be confused by the terms. What he is requesting is very easy, but because the term Intranet was said to his ears, he tend to become confound.
So you thought i did not know what was intranet, come on man, go to google and google "vuyiswa maseko" instead then you would never think i dont know what is intranet.
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
i'm try to keep tracking the items displayed in the data list , but data list doesn't have the paging property so is there any way of doing that ?
|
|
|
|
|
|
i want to enable or disable master page's component from its child page.How can it be done?
Thanx in advance
|
|
|
|
|
Declare a session variable, when you want to enable or disable the components of master page set the value of the session variable in child page and in page load of master page check for that session variable value and accordingly u can enable r disable the component.
|
|
|
|
|
|
What do you mean by enable or disable the master page from Child page. Do you want to empty the master page component's content ?
|
|
|
|
|
WebApp A is referencing WebApp B. Is there a way you can redirect the user from for example "testA.aspx" in WebApp A to "testB.aspx" in WebApp B
|
|
|
|
|
Hristiyan wrote: WebApp A is referencing WebApp B
How do you reference two web apps?
Hristiyan wrote: Is there a way you can redirect the user from for example "testA.aspx" in WebApp A to "testB.aspx" in WebApp B
Do a response.redirect
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
You can achieve it after you host both the application, and then you can hardcore the url of the testb.aspx in testa.aspx page.
|
|
|
|
|
So there is no actual way to do that by hosting only one web app.
If i want to host 2 web apps, doest that mean i need a subdomain fr the other?
|
|
|
|
|
hi
i m using asp.net and sql server 2000
i enter some value in table and then bind this table to dropdown list
it sort automatically like
aaa
bbb
ccc
--select--
while i want, its should be like
--select--
aaa
bbb
ccc
pls help
thanks
|
|
|
|
|
You need to add each item using for loop. First you will add the "select" and then columns from your table
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
when i insert first --select-- then aaa,then bbb it will automatically sort like
aaa
--select--
bbb
|
|
|
|
|
plz post your code with your server controls !
|
|
|
|
|
I want to develop a company visitors software. the software will have the following columns:
Visitors name
Purpose of visiting
Who you are visiting
time in
time out
I am having a problem in how the interface should be. I am new in programming please can you descibe for me how the interface should be. especially the time out column. the managment should be able to see those who visited.
Thank you
|
|
|
|
|
sturabumukiza wrote: I want to develop a company visitors software
Looks like your school home work.
sturabumukiza wrote: the interface should be. especially the time out column
a datetime column????
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
lol ! but it looks like school homework
|
|
|
|
|
|
Hi Experts,
I have developed this newbie pass generator system. When I click on the password generator button. It generate password for its relevant row. This is working fine when I use traces. If I remove it shows all the passwords same.
protected void PassGen_Click(object sender, EventArgs e)
{
string s,temp="";
int x;
string pass;
GridView gw = (GridView)form1.FindControl("LoginView1").FindControl("GridView1");
for (int i=0; i< gw.Rows.Count; i++)
{
CheckBox chkUpdate = (CheckBox)gw.Rows[i].Cells[0].FindControl("CheckBox1");
if (chkUpdate != null)
{
if (chkUpdate.Checked)
{
s = gw.Rows[i].Cells[6].Text;
x = 5 - s.Length;
for (int k = 0; k < x; k++)
{
temp = "0" + temp;
}
gw.Rows[i].Cells[1].Text=gw.Rows[i].Cells[5].Text + temp + gw.Rows[i].Cells[6].Text;
temp = "";
Random rand = new Random();
gw.Rows[i].Cells[2].Text = password();
}
else
{
gw.Rows[i].Cells[1].Text = "";
gw.Rows[i].Cells[2].Text = "";
}
}
}
}
private string password()
{
int d;
int maxLen = 7;
string pass="";
int i;
Random rand = new Random();
for (i = 0; i < maxLen; i++)
{
d = Convert.ToInt32(Math.Floor(rand.NextDouble() * 100));
if ((d >= 48 && d <= 57) || (d >= 65 && d <= 90) || (d >= 97 && d <= 122))
{
pass = pass + Convert.ToChar(d);}
else{
i--;
}
}
return Convert.ToString(pass);
}
}
please let me have the solutions.
Thanks & Best Regards
Jay Khatri
|
|
|
|
|
Do you bind gridview in page_load without checking postback ?
|
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DataSet ds = new DataSet();
MySqlCommand comm = new MySqlCommand();
MySqlConnection conn1 = new MySqlConnection();
}
}
I use this. But whether I remove or keep. It don't make difference. I fas as I understand function is getting its value just once Or is that any time factor as trace is just like a wait / stop/pause.
Thanks
Jay Khatri
modified on Friday, May 29, 2009 8:02 AM
|
|
|
|
|
hi
I got the answer finally, I use System.Security.crytography namespace like this
private string password()
{
int d;
int maxLen = 7;
string pass="";
int i;
byte[] randomNumber = new byte[1];
RNGCryptoServiceProvider Gen = new RNGCryptoServiceProvider();
for (i = 0; i < maxLen; i++)
{
Gen.GetBytes(randomNumber);
d = Convert.ToInt32(randomNumber[0]);
//d = Convert.ToInt32(Math.Floor(rand.NextDouble() * 100));
if ((d >= 48 && d <= 57) || (d >= 65 && d <= 90) || (d >= 97 && d <= 122))
{
pass = pass + Convert.ToChar(d);}
else{
i--;
}
}
return Convert.ToString(pass);
}
|
|
|
|
|
I have to show confirm in my page.
i m using -
reponse.write("confirm('are u sure?')");
ho can i get its button value i.e. which is clicked "ok" or "cancle"
also how we can change text of these buttons that is replace ok with yes and cancle with No.
|
|
|
|