|
To use that go for build->publish, and publish the site on any local drive of your computer it will create the dll there then use that dll file by giving the reference for the same into your project.
Yogesh Agarwal
|
|
|
|
|
Ya yogesh thanks for ur reply,
I didnt ask how to create dll file i know that publish...,
I asked if i give in that place that dll file name on my own name
how to do that?,
see i created one site as website1...,
if i publish, in bin folder i am getting dll file name as App_Web_-3hf4zfa.dll
but i like to create dll name as newone likehow to do that?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
HI
I am not fully confident but i think it is not possible to make the dll with customize name while publishing the website.
One thing you could do that you could crate your own DLL, and you could any name to that for that plz search the topics for DLL creation.
Yogesh Agarwal
|
|
|
|
|
Hi in vs2003 form body have grid layout,
So with that we will drag and drop our controls on whereever we need...,
But in vs2005 its flowlayout,
So its not possible to drag and drop in our controls, where we need?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Is this any question (Doute) or Gernal Informmation ??
Yogesh Agarwal
|
|
|
|
|
No actually i like to know that,
suppose if i want one textbox in my form if i drag and drop according to my form page...,
its not possible in vs2005 so i like to know how to do that?,
with out tell style its possible for that control?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Drag and drop layout was and is a disaster. I'd fire anyone who insisted on using the design view. You need to write your own markup and use CSS to position your elements.
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 )
|
|
|
|
|
Hi all,
I am new to asp.net hosting. I want to host my asp.net web page. Can any one tell me which hosting site is best for asp.net.
It is also nice, if the price is low...
Thanks in Advance
Senthil.S
Senthil S
Software Engineer
|
|
|
|
|
Please don't cross post.
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 )
|
|
|
|
|
http://www.netans.com/[^] They are cheap. I am guessing you are from India.
--
Don't take life seriously because you can't come out of it alive.
-Warren Miller
|
|
|
|
|
<connnectionstrings>
<add name="Connection" connectionstring="">Data Source=***;Initial Catalog=***;User ID=*** password=***" providerName="***">
<connectionstrings>
does anyone know what exactly i have to put as the attribute values where i have put ***'s on.
i have created a sql server database through asp.net 2.0 i have a table called files
and i'm also using the membership provider.
can anyone help me to fill the highlight attributes correctly.
please!!!
|
|
|
|
|
This site[^] contains examples of connection strings.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Data Source= Server Name on which Database is stored.
I think u are not using a remote server...the value will be
Data Source= localhost or localhost\(name of SQL server)
Initial Catalog=DATABASE_NAME;
User ID=***
password=***"
providerName="System.Data.SqlClient" (for MS SQL SERVER)
|
|
|
|
|
In my web.config, I have this connection string:
<add name="ExcelConnection" connectionString="Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Documents and Settings\Steven\My Documents\example.xls;Extended Properties=Excel 8.0"/>
In my code file, I have this code to open the connection, and put the data in a Grid View control.
string connstr = System.Configuration.ConfigurationManager.ConnectionStrings["ExcelConnection"].ToString();
OleDbConnection conn = new OleDbConnection(connstr);
string strSQL = "SELECT * FROM [Time$]";
conn.Open();
OleDbCommand cmd = new OleDbCommand(strSQL, conn);
DataSet ds = new DataSet();
OleDbDataAdapter da = new OleDbDataAdapter(cmd);
da.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
conn.Close();
When I try to run it, it gives me this error:
The Microsoft Jet database engine could not find the object 'Time$'. Make sure the object exists and that you spell its name and the path name correctly.
Everything looks fine to me, does anyone know what the problem is?
|
|
|
|
|
Dude, I'm guessing that Time$ does not exist.
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 )
|
|
|
|
|
It does exist, the name of the sheet in my excel file is "Time". Everywhere I've looked, it says to reference the sheet by: [SheetName$].
|
|
|
|
|
A few thoughts:
Check your path.
Don't use reserved words as your sheet name. Try "TheTime" or something instead.
I think you need to provide escaped quotes in the "Extended Properties" part of your connection string.
I.E.
<add name="ExcelConnection" connectionString="Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Documents and Settings\Steven\My Documents\example.xls;Extended Properties=""Excel 8.0"""/><br />
|
|
|
|
|
Hy!
I've found that GridView has a property: AllowSorting which can be true or false, but I didn't find out how to sort a column's information just by pressing the column header and nothing else.
I'm still looking for this, but i'm little hurry rigth now!
Thanks!
|
|
|
|
|
SortExpression="DatabaseColumnName"
think this will work
|
|
|
|
|
Thanks!
I'll try and tell the result.
|
|
|
|
|
There is a problem with the column header. Although i have set the AllowSorting with the true value I can't click the column's header.
|
|
|
|
|
Hi! I have one issue and I am sure that many guys here know how to help me. I am building a web application in ASP.NET with C#, and now I have a dropdownlist connected to the field in the database, and I have a label, and I want to display other value from the database there. Like, I am selecting my name in the dropdown list, and in the label it should display my second name. Thanks ahead
|
|
|
|
|
1. Select the data from the database
2. put in dataset or some sort of source
3. string value = some sort of source
4. label.text = string
something like that
|
|
|
|
|
that's ok, but I want to make like if the username is selected, then display the password in the label from the same table, and how should I make that statement. Thx
|
|
|
|
|
use an onclick for when the username is selected
public onclick
set username selected as string value
stusername = ddusername
select password from table where username = '" stusername"'
that help?
|
|
|
|