|
is this folder somewhere within the wwwroot or have you placed outside wwwroot folder
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
I have tried both inside and outside but now it is inside
|
|
|
|
|
has wwwroot full control for asp_net user and network_Service ?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
|
well, that makes it a curious case.
I believe that if you pick Full Control you could still set some other options if you pick the Edit button.
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Hi Everyone,
Can anyone explain me about how the process takes place behind the restful webservice.
Ex: http://www.myservice.com/employee/1234
with this object how can we do all the [ADD,UPDATE] transactions. How does it differenciate, I am not clear on this.however for DELETE & Search we need only employee id.
Thanks in Advance.
Regards,
Manowj
|
|
|
|
|
Hello Friends,
I'm working on a Property site. In that site i've no. of cities like Delhi,Mumbai,Chennai and etc. and it will be around 15-20 cities
Now i've to display property accordingly the city. For it i've taken only one page which is dynamically brings the properties according cities name. But my question is is it okay to have a single page and bringing the data dynamically or should i take different different pages(15 pagges) according cities name. And also i've to make my site considering SEO(search engine optimization). So which way i should go through.
And also, how can i convert my .aspx page into html page for improving the speed
|
|
|
|
|
.NET- India wrote: And also, how can i convert my .aspx page into html page for improving the speed
Who told you this?
.NET- India wrote: But my question is is it okay to have a single page and bringing the data dynamically or should i take different different pages(15 pagges) according cities name. And also i've to make my site considering SEO(search engine optimization). So which way i should go through.
Create a single page to retrieve and display the data according to cities.
You may later use URL rewriting to make the pages look like they are different pages. It will also help the search engines to consider them seperately.
Hope this helps.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
i searched in the net to get a help for this , but didn't ge ta proper answer, do any one know how to catch the event of browser closing , or any idea to handle this situation--> abandon the session when browser closed
|
|
|
|
|
The window.onbeforeunload event will catch it. But this event will also be fired if you postback the web page. Therefore you cannot differentiate whether the browser is closed or the web page is submitted using this event.
|
|
|
|
|
|
As i said in my answer, the onunload and onbeforeunload will be fired whenever the browser is closed or the web page is submitted to the server. Therefore you cannot differentiate between these two events. Therefore it is not advisable to handle this event.
|
|
|
|
|
tanks for both of u , is there any other option to address this issue.
|
|
|
|
|
Hi Prasadbuddhika,.. this is a property of session that session will automatically expire with browser close. Means if u close any browser window, all session will automatically expire.
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
on the submit of the form,i want to search the data given in the textbox control in google.com.
now, i want the result page for the data given in the textbox
truphis
|
|
|
|
|
Why is teh subject Screen Scrapping thn?
codesairam wrote: now, i want the result page for the data given in the textbox
Which result page are you talking about?
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Why do you want to scrap .. ? try this code. Is this do you want to do exactly
<form method="get" action="http://www.google.com/search">
<input type="text" name="q" size="31"
maxlength="255" value="" />
<input type="submit" value="Google Search" />
</form>
|
|
|
|
|
HI, i have one data table with all data. Now i want to create a new table in sqlserver and export this data to sqlserver table. How can we achieve this without using loop in data table. Is there any direct method ?
or any alternative to do this ? I would appreiciate your help.
G. Satish
|
|
|
|
|
|
Hi
I am trying to implement OpenId and facebook connect login for our site. I found there RPX API which supports login from variuos providers. I found only uservoice.com which implemented with RPX API, my question is whether do we get password to store in our database for next time login if the user wants to use our site login form.
Any ideas please!!!!!!!!
--
http://ashakthi.blogspot.com
http://kids-articles.blogspot.com
|
|
|
|
|
Hello,
Good question. With RPX, relying party sites that have enabled third party logins do not store a user password. The user is redirected back to his/her preferred identity provider's site to authenticate, and while a rich set of profile data can be passed back to a relying party site with that user's consent, the password stays with the provider.
This enhances the overall security of OpenID as a technology and as a standard, since a user's password must no longer be exposed out in the wild on sites with potentially unencrypted user databases.
For return logins, RPX stores a cookie to remember a user's preferred provider, and displays that provider's button as the primary option to sign-in. This makes the return visit sign-in process as easy as a single click.
For more information on RPX, you can check out our technical documentation at http://rpxnow.com/docs, visit our developer wiki at http://rpxwiki.com or email us at supportATrpxnowDOTcom.
One more thing - a relying party site also has the option of prompting users to create a username/password when signing-in with a third party account for the first time, as a backup if necessary.
modified on Wednesday, May 27, 2009 12:12 AM
|
|
|
|
|
retrive data from sql database to a gridview, then how to use search option in a gridview ?
|
|
|
|
|
use this code it will help u
private DataTable GetRecords()
{
conn.ConnectionString = "User ID=sa;Data Source=(local);Database=inventry";
//SqlConnection conn = new SqlConnection(strConnection);
conn.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "Select ptype,pqty from total_stock";
SqlDataAdapter dAdapter = new SqlDataAdapter();
dAdapter.SelectCommand = cmd;
DataSet objDs = new DataSet();
dAdapter.Fill(objDs);
return objDs.Tables[0];
}
private void BindGrid()
{
DataTable dt = GetRecords();
if (dt.Rows.Count > 0)
{
grdSearch.DataSource = dt;
grdSearch.DataBind();
}
}
private void SearchText()
{
DataTable dt = GetRecords();
DataView dv = new DataView(dt);
string SearchExpression = null;
if (!String.IsNullOrEmpty(txtSearch.Text))
{
SearchExpression = string.Format("{0} '%{1}%'",
grdSearch.SortExpression, txtSearch.Text);
}
dv.RowFilter = "ptype like" + SearchExpression;
grdSearch.DataSource = dv;
grdSearch.DataBind();
}
public string Highlight(string InputTxt)
{
string Search_Str = txtSearch.Text.ToString();
// Setup the regular expression and add the Or operator.
Regex RegExp = new Regex(Search_Str.Replace(" ", "|").Trim(),
RegexOptions.IgnoreCase);
// Highlight keywords by calling the
//delegate each time a keyword is found
return RegExp.Replace(InputTxt, new MatchEvaluator(ReplaceKeyWords));
// Set the RegExp to null.
RegExp = null;
}
public string ReplaceKeyWords(Match m)
{
return "<span class=highlight>" + m.Value + "</span>";
}
protected void txtSearch_TextChanged(object sender, EventArgs e)
{
SearchText();
}
|
|
|
|
|
DataTable dt = GetYourDataTable(); //Write code to get data from your database.
DataView dv = new DataView(dt);
dv.RowFilter = ""City = 'New York'"; //Write your filter condition
GridView1.DataSource = dv;
GridView1.DataBind();
|
|
|
|
|