|
is it possible using atlas.
|
|
|
|
|
hi,
i have my site ready for deployment. i want my site to come in first 20 results of google search engine. is it search engine optimization? plz help me out
regards,
Boon
|
|
|
|
|
There are mainly two things that decide the search result position in search engines:
1. The contents of the page.
2. Other pages linking to your page.
---
b { font-weight: normal; }
|
|
|
|
|
Is there any clientside javascript available to the gridview? I know Infragistic's has a great array of commands but, prefer to use the GridView in the app.
Is there anyway to select a row on the GridView without posting back to the server?
Michael
I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious.
Vince Lombardi (1913-1970)
|
|
|
|
|
well you can use javascript to do it.. I have done it with datagrid and i belieev you can do the same way with gridview..
ondatabound add onclick attribute to the item (row) e.g.
simplest...
item.attributes.add("onclick","javascript:this.style.backgroundcolor=red;")
a bit complex..
item.attributes.add("id",item.clientid)
//above line is optional if you need to search by id on client
item.attributes.add("onclick","javascript:selectRow(this);")
or for double click
item.attributes.add("ondblclick","javascript:selectRow(this);")
and then in selectRow function do whateevr you want to dso on client..
-----
|
|
|
|
|
Why when send mail from localhost is still on queue folder
and not arrive to receiver
> > > I am using ASP.NET SmtpMail to send email using the following code
> > >
> > > public void SendEmail(string From, string To, string Subject,
> > > StringBuilder
> > > Message, string Attachment, string mailFormat)
> > > {
> > > MailMessage mailMessage = new MailMessage ();
> > > mailMessage.From = From;
> > > mailMessage.To = To;
> > > mailMessage.Subject = Subject;
> > > mailMessage.Body = Message.ToString ();
> > >
> > > if(mailFormat == "T")
> > > {
> > > mailMessage.BodyFormat = MailFormat.Text;
> > > }
> > > else if(mailFormat == "H")
> > > {
> > > mailMessage.BodyFormat = MailFormat.Html;
> > > }
> > >
> > > SmtpMail.SmtpServer = "10.0.0.1";//or "localhost" or "127.0.0.1"
> > > SmtpMail.Send (mailMessage);
> > > }
> > >
> > > This code executes fine without error. But the email goes and sits in
> the"C:\Inetpub\mailroot\Queue" folder.
> > > SMTP service is running and cdosys.dll and cdonts
thanks for all
|
|
|
|
|
is there any error in ur page?
coolsweety
|
|
|
|
|
afaik you your code is fine if you are getting mail in queue. to send it you have to have a live internet connection and valid smtp server. if it is in queue nothing is wrong with the code you need to check smtp server setting.. or relay options in IIS
-----
|
|
|
|
|
Hi,
I m having typeddataset with 3 tables and relations among them. 2nd datatable has some computed columns including aggregate functions based on relation with 3rd table. While I am trying to fill the data in to datatables I am getting the following exception if at all my 3rd table doesnt have any rows. I am getting this error while i am setting EnforeceConstraints of dataset to true after filling datatables. Before filling them I am setting it to false.
"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."
Any kind of help will be appreciated.
Thanks in Advance.
|
|
|
|
|
What do your computed columns look like?
|
|
|
|
|
Hi Mike,
My computed columns in the second datatable are like:
Count(Child.detailId)
Here in second datatable I am having a column which is having dataexpression as "Count(Child.detailId)", and in second datatable itself there are some other columns which are computed based on the above calculated column.
Is there any problem with aggregate columns.
Thanks.
|
|
|
|
|
I haven't found anything definitive on this... do you need to enforce constraints? Can you get by without them? Can you get by without the computed column?
|
|
|
|
|
Hi,
I need those consdtraints should be in place and computed columns should be also there because i dont have those columns stored in database.
Thanks.
|
|
|
|
|
how can i change the url of the content page in contentPlaceholder. Currently it is now allowing to specify the url of content page.
I have a page in another folder. How can i achive this
|
|
|
|
|
In the content page's source view there should be a page directive at the top. With in the directive there should be a masterpagefile="yourmasterpage.master". If you don't have one you will need to add it and intellisense should take care of the rest. Since your content page can be in any folder with in the application, it should the be the masterpagefile tag's responsibility to point to the correct masterpagefile.
e.g. if the masterpage.master file in is the root directory, all of the contenct pages that use this master file should have the masterpagefile tag equaling "~/masterpage.master", regardless of their physical folder location.
Michael
I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious.
Vince Lombardi (1913-1970)
|
|
|
|
|
Can u help me to find the solution that how to read a word document using filestream,when i did it is read as a binary file,but i wanted it to be read as a text file..
KRISHNA
|
|
|
|
|
The Word native format is a binary file. What specifically are you trying to accomplish?
|
|
|
|
|
Hello to all,
I want a dialog window on button click and dialog window has datagrid.
Datagrid has hidden column as employee number and second column is employee name which is template column(Linkbutton).
When I click on templete column I want that the selected employee name should be displayed in a listbox which is on parent form.
Please help me.
|
|
|
|
|
|
Hi
Can any one tell me how to merge the repeated values in a column? At present we are using bound column to display the records.
Code we are using
------------------
<asp:datagrid id="LocationsGrid" runat="server" onselectedindexchanged="LocationsGrid_SelectedIndexChanged" useaccessibleheader="True" autogeneratecolumns="False" gridlines="None" tooltip="Click location to edit" allowsorting="true" bordercolor="black" borderwidth="1" cellpadding="3" headerstyle-backcolor="#00aaaa">
<alternatingitemstyle>
<columns>
<asp:boundcolumn datafield="Location" headertext="Location" footertext="Hello" readonly="False" sortexpression="StringValue">
<asp:boundcolumn datafield="reference_id" headertext="Item No" sortexpression="IntegerValue">
<asp:hyperlinkcolumn text="Heading" datanavigateurlfield="reference_id" datanavigateurlformatstring="call_detail.aspx?action=View&callId={0}" datatextfield="Heading" headertext="Call" navigateurl="call_detail.aspx?action=View&callId={0}" sortexpression="StringValue">
Present Output
--------------
Girls Technology 484 hoover in workshop
Girls Technology 490 Fault on lights
Tillitson Pavillion 427 Please fit new locks to cupboards
Tillitson Pavillion 58 rendering
Tillitson Pavillion 309 Please attend to washer
Tillitson Pavillion 420 Please re-fit old handrail
Tillitson Pavillion 300 REPAIR WASHING Mc DOORDOOR HINGE BROKEN
Required output
----------------
Girls Technology 484 hoover in workshop
490 Fault on lights
Tillitson Pavillion 427 Please fit new locks to cupboards
58 rendering
309 Please attend to washer
420 Please re-fit old handrail
300 REPAIR WASHING Mc DOORDOOR HINGE BROKEN
Here the value at Location column gets repeated and we want to merge it one cell.
Thanks in advance,
Arunagiri
|
|
|
|
|
chk this
http://aspnet.4guysfromrolla.com/articles/072603-1.aspx
|
|
|
|
|
hi!
can you please tell me how i can locate a directory and read its contents(All the file e-g .doc,.txt,bmp...etc what ever it contain) in a data grid and if some one click on the link the file will then downloaded and the second link will delete the file
i am using asp.net using vb.net
plz provide the code if possible
thanks in advance
shezi
|
|
|
|
|
|
I try to Send e-mail from local machine (local Host) to remot mail at yahoo
the program fail to send this mail
please help me with full steps
and needed steps for configure SMTP
and SmtpMail.SmtpServer
thanks for all
|
|
|
|
|
.NET 2.0 includes much richer Email API support within the System.Net.Mail code namespace. I've seen a few questions from folks wondering about how to get started with it. Here is a simple snippet of how to send an email message from “sender@foo.bar.com” to multiple email recipients (note that the To a CC properties are collections and so can handle multiple address targets):
MailMessage message = new MailMessage();
message.From = new MailAddress("sender@foo.bar.com");
message.To.Add(new MailAddress("recipient1@foo.bar.com"));
message.To.Add(new MailAddress("recipient2@foo.bar.com"));
message.To.Add(new MailAddress("recipient3@foo.bar.com"));
message.CC.Add(new MailAddress("carboncopy@foo.bar.com"));
message.Subject = "This is my subject";
message.Body = "This is the content";
SmtpClient client = new SmtpClient();
client.Send(message);
System.Net.Mail reads SMTP configuration data out of the standard .NET configuration system (so for ASP.NET applications you’d configure this in your application’s web.config file). Here is an example of how to configure it:
from tis inside html tag
system.net
mailSettings
smtp from="test@foo.com"
network host="smtpserver1" port="25" userName="username" password="secret" defaultCredentials="true"
smtp
mailSettings
system.net
upto tis inside html tag
or
http://www.codeproject.com/useritems/EmailApplication.asp
hope tis will help u, to configure smtp http://www.aspit.net/tutorials/specific/configuring_smtp_server_under_iis_step_by_step.asp
coolsweety
-- modified at 7:27 Thursday 20th April, 2006
|
|
|
|