|
try this code i am not sure..
_Text = New ArrayList
_Text.Add("Name1")
_Text.Add("Name2")
Controlid.DataSource=_Text
Controlid.DataBind()
|
|
|
|
|
try this code
for hash Table..
dim ss=New Hashtable
ss.Add("N","Name1")
ss.Add("S","Name2")
controlid.DataSource=ss
controlid.DataValueField="id"
controlid.DataTextField="name"
controlid.DataBind()
|
|
|
|
|
I am developing checkin & checkout process as what we see in Microsoft Visuall Source Safe. The problem I am facing I need to track the url in the client machine where client is storing the file in process of downloading using asp.net.
|
|
|
|
|
Hi,
Unless you are using smart client this should not be allowed as a security principle.
However, it would be interesting to see if there are posibilites to do so.
Regards
Raz
/*
Ghazi Hadi Al Wadi, PMP, ASQ SSGB, DBA
*/
|
|
|
|
|
hi friends
i create content management system in asp.net
i have 3 links
1.edit
2.delete
3.new
if i click edit the correspnding page will be display the same page.
Edit the content and save it
how can i done this.
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
R a jendran wrote: give href= correct page.aspx...where u you want to dislay..
Did you understand his question in the first place?
Regards - J O H N -
|
|
|
|
|
saravanan05 wrote: i have 3 links
1.edit
2.delete
3.new
What do you mean by this?
MCMS provides a built-in control to preform all these on the Content Pages.
saravanan05 wrote: how can i done this.
here is a link to an article which will help you to undestand the steps to create a content page and publish it.
Steps to Develop a Dynamic Website
Regards - J O H N -
|
|
|
|
|
function ReadFileToString(strFileName)
{
var strContents;
strContents = "";
objFSO = new ActiveXObject("Scripting.FileSystemObject");
if (objFSO.FileExists(strFileName))
{
strContents = objFSO.OpenTextFile(strFileName, 1).ReadAll();
objFSO.CopyFile("C:/Winter.tif","http:\\192.168.5.2\share\Winter.tif")
}
return strContents;
} //end of function
|
|
|
|
|
If you're using ASP.NET then it's
Dim strContents as string = File.ReadAllText(strFileName)
If you're using asp, then I pity you, but you're in the wrong forum.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I'm asking Abt Copyfile(source,Destination)..
Copyfile(local sys,Remote sys)
Can we copy the File in remote system.....
|
|
|
|
|
Hi all,
What is the best way to develop taking into consideration that your design fits all browsers and all resolutions?
thanks
|
|
|
|
|
Avoid using proprietary styling methods. Follow W3C standard. Arrange your controls and tables in percentage. Specify width in percentage, which will resize when browser resizes.
|
|
|
|
|
Thanks for your reply, however iam not facing problems in width cause as u said iam using percentage. What iam facing problems in is the height especially when designing a master page, iam always short in height especially in pages that are not long enough so that the vertical scroll bar appears. For example i had put a login control in a page and the vertical scroll bar appears. I had put the width 100%
|
|
|
|
|
From my point of view not possible but you can make better if not best
Check with IE,FF,Safari not only in Windows family but also MAC. I am sure that you will also say same language sa i am saying
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
I've created a Code Generator Tool specifically for our product in ASP.NET. Currently users are accessing it from my PC remotely.
I have put the aspx files and dlls (in folder named bin) on to a folder named CodeGenerator in a web server, so that users can access it from that location. I have also created virtual directory there.
The issue is I'm having is that i have to permission for this website that only the users that I allow access should be able to access this website (source code generator tool).
How can I go about doing this in IIS? I tried unchecking Anonymous Access, but it doesn't work.
Regards,
Blumen
|
|
|
|
|
How about keeping a database for users, and setting a flag to allow/deny ? User has to supply the login credentials.
|
|
|
|
|
thats good, but i currently don't have a login screen or a database for this purpose. Can I do this in IIS?
|
|
|
|
|
Hello Everyone,
I've designed a software on web(ASP.NET 1.1) and also uploaded this project but now i've to establish the connection with the SQL Server on web but i donot know how to make a database on the web
I've IP --, UserName,and Password but donot know how to establish the connection..........
On localhost its running great
Please try to understand what i'm try to say
................
|
|
|
|
|
The Knowledge wrote: but i donot know how to make a database on the web
Usually hosting providers do have a interface for managing with databases. Have you tried there ?
|
|
|
|
|
Which kind of hosting has you contracted? I it's basic ASP .net hosting no db will be allowed. In some hosting site (e.g. Discount ASP .net) you pay an extra money and get space for a fully featured SQL Server 2005 DB, and you can access that Server / DB using SQL Server Management studio (same way as working locally but working slower because of the connection).
No misteries here, just a question of paying extra money
/// -------------------------
Braulio Díez
tipsdotnet.com
/// -------------------------
|
|
|
|
|
hello
i am binding dropdownlist through coding but when i change any value of it and click on save it will be reset and donot have that values which i fill it in it.
what is reason behind it?
if anyone knows then plz help
|
|
|
|
|
deepalititi wrote: what is reason behind it?
1 - Viewstate might be turned off
2 - You might be binding dropdown list in the page_load without checking !IsPostBack
|
|
|
|
|
|
Hi There,
well cannot exactly make out your problem,
But looks like your dropdownlist is not inside if(!IsPostback){}
The simple thing that appears here is it is getting binded again.
Hope it helps,
Cheers
Menon
|
|
|
|
|
Hi All,
I have a grid that I bind to a SQLDataSource. The grid I set to AutoGenerateColumns="false" and then I specify the columns myself.
The thing is that one of the columns has a Id, and the user shouldn't be able to edit that, but if I set the column to ReadOnly="true" then it doesn't update the other values, but if I set the ReadOnly="false" then it updates.
How can I get passed this because the Id is there only for reference and shouldn't be updated by the user.
Thanks in advance
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|