|
This article [^]might be interesting for you.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
can u post some other code.....
|
|
|
|
|
rjayaabharathi@gmail.com wrote: can u post some other code.....
What was the problem with that ?
|
|
|
|
|
i'm not able to get ClassLibrary1 dll
|
|
|
|
|
if you google you can get lots of examples...
|
|
|
|
|
Dear Sirs,
I am working on some web project and implementing the concept of sending a mail thrugh smtp server for a specific E-mail Id's.
I just want to know is it SMTP server can be available free on internet ,where i register for use them.
Kindly suggest me for that problem,i hope you should provide good solutions for resolving this prob..
From :-
Nitin Saxena
|
|
|
|
|
yes you can use google, yahoo smtp server for example. If you have used shared hosting ask your service provider whether they have their own. Or if you have your own then you need to install your own mail server.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
|
You can use Gmail [^]as one.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
Kindly help me figure out how to add a side bar that contains hyperlinks to pushpins on an embedded google maps API. The hyperlinks should have the functionality of popping up the info Window and zooming in around the selected pushpin. I normally see this implemented in javascript, however I would like to implementing it using ASP .NET and C#.
Thanks,
Wachprod
|
|
|
|
|
wachira09 wrote: I normally see this implemented in javascript, however I would like to implementing it using ASP .NET and C#.
It seems you don't know anywhere near enough about what ASP.NET, and how it works, to work with something as complex as google maps.
You see it done in js precisely because that means it happens on the client. C# code works on the server.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I am making an EventLog which will log the transaction log in my website. The details of the log will include the Public IP from where the transaction has orginated and also the local IP address (under the public IP).
I have found ways to obtain the Public IP Address, but i am unable to find out the local IP or machine IP from where the transaction is made.
A large number of entries will be done by people using the same connection. ie 5 or 10 computers connected to the same connection.
I need to find the machine IP (192.168.0.1 for 1 system 192.168.0.2 for the next) of the machines making the transactions and also the Computer name...
Is this possible
|
|
|
|
|
Well, you can't. Why would you be given the IP on the local network, when you're connecting over the internet ? I am not sure about the computer name, but I tried google and found this:
http://blogs.msdn.com/ericlippert/archive/2005/05/09/415763.aspx[^][^]
However, the long and the short of it is, you almost certainly can't do it.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Try this.
string strIPAddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (String.IsNullOrEmpty(strIPAddress))
strIPAddress = Request.ServerVariables["REMOTE_ADDR"];
|
|
|
|
|
I took a grid view and bounded it with some data source.......I added a hidden field and a link button.....in which hidden field storing primary key value of selected row....in RowCommand field i want to use this value as parameter to create a data source for the new grid view with a Join Query......is it possible.........if yes then plzzz give me a example
Thankyou
|
|
|
|
|
//your aspx page:
< asp:HiddenField ID="HiddenField1" runat="server" CommandName="get" CommandArgument='< %# Bind("id") %>' />
//Your aspx.cs page:
protected void GridView_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "get")
{
int row = int.Parse(e.CommandArgument.ToString());
//select * from table where id = row;
}
}
|
|
|
|
|
Good Morning All
i have a Ultrawebgrid defined like this
<igtbl:UltraWebGrid ID="ultraGridStudentsMixTypes" runat="server"
Style="left: -8px; top: 375px" OnInitializeLayout="ultraGridStudentsMixTypes_InitializeLayout" OnDataBound="ultraGridStudentsMixTypes_DataBound" OnSelectedRowsChange="ultraGridStudentsMixTypes_SelectedRowsChange">
<Bands>
<igtbl:UltraGridBand>
<RowEditTemplate>
<br />
<p align="center">
<input id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"
type="button" value="OK" />
<input id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"
type="button" value="Cancel" /></p>
</RowEditTemplate>
<RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge">
<BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px" WidthTop="3px" />
</RowTemplateStyle>
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
<Columns>
<igtbl:UltraGridColumn AllowUpdate="No" BaseColumnName="ID" DataType="System.Int32"
Hidden="True" IsBound="True" Key="ID">
<Header Caption="ID">
</Header>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn AllowUpdate="No" BaseColumnName="Subject" IsBound="True" Key="Subject">
<Header Caption="Subject">
<RowLayoutColumnInfo OriginX="1" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="1" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn AllowUpdate="No" BaseColumnName="Activity" IsBound="True"
Key="Activity">
<Header Caption="Activity">
<RowLayoutColumnInfo OriginX="2" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="2" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn AllowUpdate="Yes" BaseColumnName="Length" DataType="System.Int32"
IsBound="True" Key="Length">
<Header Caption="Length">
<RowLayoutColumnInfo OriginX="3" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="3" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn AllowUpdate="Yes" BaseColumnName="Mix" DataType="System.Int32"
IsBound="True" Key="Mix">
<Header Caption="Mix">
<RowLayoutColumnInfo OriginX="4" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="4" />
</Footer>
</igtbl:UltraGridColumn>
</Columns>
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout Version="4.00" AllowSortingDefault="OnClient" StationaryMargins="Header"
AllowColSizingDefault="Free" StationaryMarginsOutlookGroupBy="True"
HeaderClickActionDefault="SortSingle" Name="ultraGridStudentsMixTypes" BorderCollapseDefault="Separate"
TableLayout="Fixed" RowHeightDefault="20px" SelectTypeRowDefault="Extended" CellClickActionDefault="RowSelect" EnableInternalRowsManagement="True" SelectTypeCellDefault="Extended" SelectTypeColDefault="Extended">
<FrameStyle BorderWidth="1px" BorderColor="InactiveCaption" BorderStyle="Solid" Font-Size="10pt"
Font-Names="Verdana" BackColor="Window">
</FrameStyle>
<Pager MinimumPagesForDisplay="2" PagerAppearance="Both" PageSize="30" StyleMode="ComboBox"
AllowPaging="True" AllowCustomPaging="True">
<PagerStyle BorderWidth="1px" BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
</PagerStyle>
</Pager>
<EditCellStyleDefault BorderWidth="0px" BorderStyle="None" Font-Names="Verdana" Font-Size="8pt">
</EditCellStyleDefault>
<FooterStyleDefault BorderWidth="1px" BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
</FooterStyleDefault>
<HeaderStyleDefault HorizontalAlign="Left" BorderStyle="Solid" BackColor="LightGray"
Font-Bold="True" Font-Names="Verdana" Font-Size="10pt">
<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
</HeaderStyleDefault>
<RowStyleDefault BorderWidth="1px" BorderColor="Silver" BorderStyle="Solid" Font-Size="8pt"
Font-Names="Verdana" BackColor="Window">
<Padding Left="3px" />
<BorderDetails ColorLeft="Window" ColorTop="Window" />
</RowStyleDefault>
<GroupByRowStyleDefault BorderColor="Window" BackColor="Control">
</GroupByRowStyleDefault>
<SelectedRowStyleDefault BackColor="Silver" Font-Names="Verdana" Font-Size="8pt">
</SelectedRowStyleDefault>
<GroupByBox>
<BoxStyle BorderColor="Window" BackColor="ActiveBorder">
</BoxStyle>
</GroupByBox>
<AddNewBox>
<BoxStyle BorderWidth="1px" BorderColor="InactiveCaption" BorderStyle="Solid" BackColor="Window">
<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
</BoxStyle>
</AddNewBox>
<ActivationObject BorderWidth="" BorderColor="">
</ActivationObject>
<FilterOptionsDefault>
<FilterDropDownStyle BorderWidth="1px" BorderColor="Silver" BorderStyle="Solid" Font-Size="11px"
Font-Names="Verdana,Arial,Helvetica,sans-serif" BackColor="White" Width="200px"
Height="300px" CustomRules="overflow:auto;">
<Padding Left="2px" />
</FilterDropDownStyle>
<FilterHighlightRowStyle ForeColor="White" BackColor="#151C55">
</FilterHighlightRowStyle>
<FilterOperandDropDownStyle BorderWidth="1px" BorderColor="Silver" BorderStyle="Solid"
Font-Size="11px" Font-Names="Verdana,Arial,Helvetica,sans-serif" BackColor="White"
CustomRules="overflow:auto;">
<Padding Left="2px" />
</FilterOperandDropDownStyle>
</FilterOptionsDefault>
</DisplayLayout>
</igtbl:UltraWebGrid>
and i have the Following Code in the SelectedRowsChange event to get the Id of the selected Rows.
protected void ultraGridStudentsMixTypes_SelectedRowsChange(object sender, SelectedRowsEventArgs e)
{
SelectedRowsCollection rows = ultraGridStudentsMixTypes.DisplayLayout.SelectedRows;
string ids = string.Empty;
foreach (UltraGridRow Rows in rows)
{
ids += Rows.Cells.FromKey("ID").Value.ToString() + ", ";
}
char[] chars = { ',', ' ' };
Session["Selected_Rows"] = ids.TrimEnd(chars);
}
Now the code inside the Foreach does not run. What i want is to get the ID of the selected Row in the Grid.
Am using Infragisticts 8.1
Thank you
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.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
In my application I am creating and renaming directories.For creating Directories I have used (System.IO.Directory.CreateDirectory("F:\Dir1"))
But i face a problem in renaming the directories.Is there any way to rename directories.
|
|
|
|
|
souravghosh18 wrote: Is there any way to rename directories
Yes ! Try to do using Directory.Move Method
|
|
|
|
|
|
System.IO.Directory.CreateDirectory(@"D:\\neww");
System.IO.Directory.Move(@"D:\\neww", @"D:\\neww1");
//this will work.
|
|
|
|
|
hello everyone,
I want to save the .mdb file when i click download button in asp.net.When i click the download the .mdb file is saving in the server . I tried for save dialog box so that we can save the .mdb file at our own choice in the system. save dialog is working for only txt files ... but it is not working for .mdb file.Do anybody have the code for Save Dialog for .mdb using vb.net.
Thanks
murali
|
|
|
|
|
Following code might help you (its in C# though):
Response.ContentType = "text/css";
Response.AppendHeader("Content-Disposition", "attachment; filename=CSSFile.css");
Response.TransmitFile(Server.MapPath("~/CSSFile.css"));
Response.End();
|
|
|
|
|
Hi ,
Thanks it is working ...
byee
murali
|
|
|
|
|