Showing posts with label link. Show all posts
Showing posts with label link. Show all posts

Thursday, March 29, 2012

Newbie - Where Can I find?

Hi Group,

Just wondering if anybody could point me in the direction of a link where I
could download some example ASP .Net pages which would allow me to Add,
Modify, Delete Tables for a SQL Database. I mean what im looking for is a
example which will explain how I do it?

Either that of some links for some how-to guides

Many Thanks
WizardThe Microsoft .Net SDK is the single best reference, and is filled with
articles, tutorials, samples, and an awesome reference. Best of all, it's
free!

http://www.microsoft.com/downloads/...&displaylang=en

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Wizard" <Wizard@.Wizard.com> wrote in message
news:FwOdnWFoi4VXCUDcSa8jmA@.karoo.co.uk...
> Hi Group,
> Just wondering if anybody could point me in the direction of a link where
> I
> could download some example ASP .Net pages which would allow me to Add,
> Modify, Delete Tables for a SQL Database. I mean what im looking for is a
> example which will explain how I do it?
> Either that of some links for some how-to guides
> Many Thanks
> Wizard
Download the Microsoft Web Data Administrator:
http://www.microsoft.com/downloads/...&displaylang=en

The Web Data Administrator is a utility program
implemented in ASP.NET that enables you to
easily manage your SQL Server data.

Using its built-in features, you can do the following
from Internet Explorer or your favorite Web browser:

Create and edit databases in Microsoft SQL Server 2000
or Microsoft SQL Server 2000 Desktop Engine (MSDE)

Perform ad-hoc queries against databases
and save them to your file system

Export and import database schema and data

--000--

Source code is included, so you can easily study it
and develop your own tools using it as a code example.

Juan T. Llibre
ASP.NET MVP
===========
"Wizard" <Wizard@.Wizard.com> wrote in message
news:FwOdnWFoi4VXCUDcSa8jmA@.karoo.co.uk...
> Hi Group,
> Just wondering if anybody could point me in the direction of a link where
> I
> could download some example ASP .Net pages which would allow me to Add,
> Modify, Delete Tables for a SQL Database. I mean what im looking for is a
> example which will explain how I do it?
> Either that of some links for some how-to guides
> Many Thanks
> Wizard

--
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004

Newbie - Where Can I find?

Hi Group,
Just wondering if anybody could point me in the direction of a link where I
could download some example ASP .Net pages which would allow me to Add,
Modify, Delete Tables for a SQL Database. I mean what im looking for is a
example which will explain how I do it?
Either that of some links for some how-to guides
Many Thanks
WizardThe Microsoft .Net SDK is the single best reference, and is filled with
articles, tutorials, samples, and an awesome reference. Best of all, it's
free!
http://www.microsoft.com/downloads/...&displaylang=en
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.
"Wizard" <Wizard@.Wizard.com> wrote in message
news:FwOdnWFoi4VXCUDcSa8jmA@.karoo.co.uk...
> Hi Group,
> Just wondering if anybody could point me in the direction of a link where
> I
> could download some example ASP .Net pages which would allow me to Add,
> Modify, Delete Tables for a SQL Database. I mean what im looking for is a
> example which will explain how I do it?
> Either that of some links for some how-to guides
> Many Thanks
> Wizard
>
Download the Microsoft Web Data Administrator:
http://www.microsoft.com/downloads/...&displaylang=en
The Web Data Administrator is a utility program
implemented in ASP.NET that enables you to
easily manage your SQL Server data.
Using its built-in features, you can do the following
from Internet Explorer or your favorite Web browser:
Create and edit databases in Microsoft SQL Server 2000
or Microsoft SQL Server 2000 Desktop Engine (MSDE)
Perform ad-hoc queries against databases
and save them to your file system
Export and import database schema and data
--000--
Source code is included, so you can easily study it
and develop your own tools using it as a code example.
Juan T. Llibre
ASP.NET MVP
===========
"Wizard" <Wizard@.Wizard.com> wrote in message
news:FwOdnWFoi4VXCUDcSa8jmA@.karoo.co.uk...
> Hi Group,
> Just wondering if anybody could point me in the direction of a link where
> I
> could download some example ASP .Net pages which would allow me to Add,
> Modify, Delete Tables for a SQL Database. I mean what im looking for is a
> example which will explain how I do it?
> Either that of some links for some how-to guides
> Many Thanks
> Wizard
>
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004

Monday, March 26, 2012

Newbie cant get CSS working

Hi,

I'm learning to apply CSS on web site. I've put a link ref of the style sheets in the MasterPage.master. (Of course, the css files have been placed at the correct folder).

Inside VS2005, the look is ok; the CSS style applies correctly. But when I preview (or even after publish web site), the styles don't look like working. The colors simply the applied to the text.

I thought inheritance thru the MasterPage.master gave the problem. Then, I just create another webform page without inheriting master page. Putting the css links and the preview result still not ok. Though with VS2005 everything looks alright.

What i've missed? Thanks!

Jack LING

Head section of the MasterPage.master page:

<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=big5" />
<title>Live</title>
<link href="http://links.10026.com/?link=App_LocalResources/templates/template_css.css" rel="stylesheet" type="text/css" />
<link href="http://links.10026.com/?link=App_LocalResources/templates/theme.css" rel="stylesheet" type="text/css" />
</head>

Hi Jack,

Just a guess here, but I don't think the style sheet should be in the App_LocalResources folder - that strikes me as a special folder that may have varying contents depending where you publish the website. I could be wrong...

Could you run a little experiment? Try puting the stylesheets in the root of your web project and link to them appropriately:

<link href="http://links.10026.com/?link=template_css.css" rel="stylesheet" type="text/css" />

<link href="http://links.10026.com/?link=theme.css" rel="stylesheet" type="text/css" />

See if that corrects the problem. If so then consider moving the /templates folder out of the App_LocalResources folder and just have it sitting directly off the root.

Hope this helps!


Hi Draggor,


Great! Your reminder is correct! So, I won't put things to App_... folders until I learn more about its correct usage.

Thanks much!

Jack LING


is ther any reason you are placing the css file in side the APP_LocalResources folder? I don't think that folder accepts .css type of files and any access to that folder is denied i think.

You have to place the .css file somewhere else.

Newbie current Page link Question

I everyone just wondering how i can pull out the current page link in the code behind page.

Ie say my website is:http://www.webpage.com/index.aspx

so say i am inside this page how do i extract the full link "http://www.webpage.com/index.aspx" to make it availabe to the page that is index.aspx

Hope i am making some sense

Kevin

Hi,

would Request.Urlhelp you?

Saturday, March 24, 2012

Newbie Grid Question

Let me explain my situation ...
I have a grid with databound columns, which are filled at run time. I
need to add an onlick event to the link button header that will fire a
vb.net sub procedure. This sub procedure will need to be passed the
data field name which is used to fill the column clicked. The data
fields and link button header names are all determined and filled at
run time.
I want to add the onclick event by calling the attributes.add method
when the column is created. My question is, where do I put this
attributes.add method where I will have access to the data field
name? I dont want to do it on the row created event and I dont think
i have access to the columns in the grid databound event. Can anyone
point me in the right direction? I think I may be doing this
incorrectly.
Thanks so muchOn Feb 27, 1:12 pm, "mianiro" <mian...@.gmail.com> wrote:
> Let me explain my situation ...
> I have a grid with databound columns, which are filled at run time. I
> need to add an onlick event to the link button header that will fire a
> vb.net sub procedure. This sub procedure will need to be passed the
> data field name which is used to fill the column clicked. The data
> fields and link button header names are all determined and filled at
> run time.
> I want to add the onclick event by calling the attributes.add method
> when the column is created. My question is, where do I put this
> attributes.add method where I will have access to the data field
> name? I dont want to do it on the row created event and I dont think
> i have access to the columns in the grid databound event. Can anyone
> point me in the right direction? I think I may be doing this
> incorrectly.
> Thanks so much
Ok, so i figued out where to put it. My problem now is how can i get
the data field name used to populate that column'
grid.columns(0).'

Newbie Grid Question

Let me explain my situation ...

I have a grid with databound columns, which are filled at run time. I
need to add an onlick event to the link button header that will fire a
vb.net sub procedure. This sub procedure will need to be passed the
data field name which is used to fill the column clicked. The data
fields and link button header names are all determined and filled at
run time.

I want to add the onclick event by calling the attributes.add method
when the column is created. My question is, where do I put this
attributes.add method where I will have access to the data field
name? I dont want to do it on the row created event and I dont think
i have access to the columns in the grid databound event. Can anyone
point me in the right direction? I think I may be doing this
incorrectly.

Thanks so muchOn Feb 27, 1:12 pm, "mianiro" <mian...@.gmail.comwrote:

Quote:

Originally Posted by

Let me explain my situation ...
>
I have a grid with databound columns, which are filled at run time. I
need to add an onlick event to the link button header that will fire a
vb.net sub procedure. This sub procedure will need to be passed the
data field name which is used to fill the column clicked. The data
fields and link button header names are all determined and filled at
run time.
>
I want to add the onclick event by calling the attributes.add method
when the column is created. My question is, where do I put this
attributes.add method where I will have access to the data field
name? I dont want to do it on the row created event and I dont think
i have access to the columns in the grid databound event. Can anyone
point me in the right direction? I think I may be doing this
incorrectly.
>
Thanks so much


Ok, so i figued out where to put it. My problem now is how can i get
the data field name used to populate that column??
grid.columns(0).??

Friday, March 16, 2012

Newbie needs a kick

Hi,
How do I have a link in one frame that shows a webform in another
frame? I am having trouble locating tutorials or help on this.
Thanks.
CurtEach frame must be "named". Then in your hyperlink, you need to specify
which frame you want the link's content to show in by adding
TARGET="frameName" to the hyperlink.
"ACE FAN" <ctabor@.oneil.com> wrote in message
news:1114117680.473651.82650@.o13g2000cwo.googlegroups.com...
> Hi,
> How do I have a link in one frame that shows a webform in another
> frame? I am having trouble locating tutorials or help on this.
> Thanks.
> Curt
>
http://www.webreference.com/js/column36/live.html
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
"ACE FAN" <ctabor@.oneil.com> wrote in message
news:1114117680.473651.82650@.o13g2000cwo.googlegroups.com...
> Hi,
> How do I have a link in one frame that shows a webform in another
> frame? I am having trouble locating tutorials or help on this.
> Thanks.
> Curt
>
Thanks for responding. I've got 2 frames. One has a webform in it with
a linkbutton on it that I want to use to invoke a webform in the other
frame. Can you give me a quick example of how to do this? It's just not
making sense yet.
Thank you.
Curt
The HTML for your FrameSet looks something like this:
<FrameSet Cols="25%,*">
<FRAME src="http://pics.10026.com/?src=someFile" NAME="left">
<FRAME src="http://pics.10026.com/?src=someOtherFile" NAME="right">
</FrameSet>
See that each frame has a name?
Now, in the hyperlinks that are in the someFile document add, TARGET="right"
to the <A> tag to have the link open in the right frame.
"Curt tabor" <ctabor@.oneil.com> wrote in message
news:1114119634.854276.51790@.g14g2000cwa.googlegroups.com...
> Thanks for responding. I've got 2 frames. One has a webform in it with
> a linkbutton on it that I want to use to invoke a webform in the other
> frame. Can you give me a quick example of how to do this? It's just not
> making sense yet.
> Thank you.
> Curt
>
Thanks. I got this working. I was hoping there was a way to do this in
the C# code in the .cs file. I'm one of these guys who has been
programming Win32 for years but have not done a lot of web stuff. I
appreciate your time.
Well, just remember that certain tasks are best suited for the client and
certain tasks are best suited for the server. Targeting a client-side click
to a client-side window frame is best suited for client-side work.
"Curt tabor" <ctabor@.oneil.com> wrote in message
news:1114195093.275364.171700@.z14g2000cwz.googlegroups.com...
> Thanks. I got this working. I was hoping there was a way to do this in
> the C# code in the .cs file. I'm one of these guys who has been
> programming Win32 for years but have not done a lot of web stuff. I
> appreciate your time.
>

Newbie needs a kick

Hi,

How do I have a link in one frame that shows a webform in another
frame? I am having trouble locating tutorials or help on this.

Thanks.

CurtEach frame must be "named". Then in your hyperlink, you need to specify
which frame you want the link's content to show in by adding
TARGET="frameName" to the hyperlink.

"ACE FAN" <ctabor@.oneil.com> wrote in message
news:1114117680.473651.82650@.o13g2000cwo.googlegro ups.com...
> Hi,
> How do I have a link in one frame that shows a webform in another
> frame? I am having trouble locating tutorials or help on this.
> Thanks.
> Curt
http://www.webreference.com/js/column36/live.html

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"ACE FAN" <ctabor@.oneil.com> wrote in message
news:1114117680.473651.82650@.o13g2000cwo.googlegro ups.com...
> Hi,
> How do I have a link in one frame that shows a webform in another
> frame? I am having trouble locating tutorials or help on this.
> Thanks.
> Curt
Thanks for responding. I've got 2 frames. One has a webform in it with
a linkbutton on it that I want to use to invoke a webform in the other
frame. Can you give me a quick example of how to do this? It's just not
making sense yet.

Thank you.

Curt
The HTML for your FrameSet looks something like this:

<FrameSet Cols="25%,*">
<FRAME src="http://pics.10026.com/?src=someFile" NAME="left">
<FRAME src="http://pics.10026.com/?src=someOtherFile" NAME="right">
</FrameSet
See that each frame has a name?

Now, in the hyperlinks that are in the someFile document add, TARGET="right"
to the <A> tag to have the link open in the right frame.

"Curt tabor" <ctabor@.oneil.com> wrote in message
news:1114119634.854276.51790@.g14g2000cwa.googlegro ups.com...
> Thanks for responding. I've got 2 frames. One has a webform in it with
> a linkbutton on it that I want to use to invoke a webform in the other
> frame. Can you give me a quick example of how to do this? It's just not
> making sense yet.
> Thank you.
> Curt
Thanks. I got this working. I was hoping there was a way to do this in
the C# code in the .cs file. I'm one of these guys who has been
programming Win32 for years but have not done a lot of web stuff. I
appreciate your time.
Well, just remember that certain tasks are best suited for the client and
certain tasks are best suited for the server. Targeting a client-side click
to a client-side window frame is best suited for client-side work.

"Curt tabor" <ctabor@.oneil.com> wrote in message
news:1114195093.275364.171700@.z14g2000cwz.googlegr oups.com...
> Thanks. I got this working. I was hoping there was a way to do this in
> the C# code in the .cs file. I'm one of these guys who has been
> programming Win32 for years but have not done a lot of web stuff. I
> appreciate your time.
Well, just remember that certain tasks are best suited for the client and
certain tasks are best suited for the server. Targeting a client-side click
to a client-side window frame is best suited for client-side work.

"Curt tabor" <ctabor@.oneil.com> wrote in message
news:1114195093.275364.171700@.z14g2000cwz.googlegr oups.com...
> Thanks. I got this working. I was hoping there was a way to do this in
> the C# code in the .cs file. I'm one of these guys who has been
> programming Win32 for years but have not done a lot of web stuff. I
> appreciate your time.