|
Dear Sir,
I m new member in ur community and now i m doing a web based project in which me & my team members use back end as SQL SERVER 2000.So please provide some information about how to store a pdf file & retrieve from that..Please send me an info as soon as possible.
Regards:
Nitin Saxena
|
|
|
|
|
you can store your pdf files in blob. May I suggest reading this[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
If you're storing a file path, then it's kind of trivial, it's just a string. Do you and your 'team' not know anything about SQL ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Nitinpro wrote: provide some information about how to store a pdf file & retrieve from that.
Rather than storing file in DB, store pdf file path in as a string in DB and store the file on corresponding location to your drive. While retrieving, retrieve the file path from Database and load the file from that path.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
I created a dynamic textbox with this codes below here. However if there are 2 or more textbox, it will come out side by side. Is there anyway to break them apart and put them in a new line?
for (int i = 0; i < textfieldNo; i++)
{
TextBox tb = new TextBox();
tb.ID = "txtChoice" + s;
this.Controls.Add(tb);
s++;
}
|
|
|
|
|
Yes of course...
You have two options.
1. Give absolute postioning to your newly created textboxes
(But this may tamper with your design if the users have different resolutions)
2. Create an instance of a Table and add your newly created texboxes in the rows of the table and add the table to the panel.
When you fail to plan, you are planning to fail.
|
|
|
|
|
|
see HtmlTable[^] control.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Literal lt = new Literal();
lt.Text = <br />
add this code before increment
hope it will work for you
|
|
|
|
|
I guess you don't know anything about HTML. You should buy a book and read it. If you put controls on the page without break tags, not in a table, and no CSS to position them, they will just flow across the page.
You'll find it difficult to access the contents of these textboxes later unless you store them in javascript, or create them before page load.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
let me know is it possible to lock Netwok Connections And My Network Places as soon i start the system.if user try to to click on these .....it should not open ...until i give password or permission to it
Using VB.Net Windows Application or C#.
Task: As soon As I run My Exe in registry or start Up ....It Should Not allow the user to enter in to the MY Network PLaces and Network Connections of Control PAnel. once user provided with credentials then they are allowed to access those Network Connections and My Network Places......
Just I want to restrict on those icons Directories not on individual Internet Connection or Wlan Connection ....just lock those things(MyNetworkPlaces, NetworkConnections) as soon as i start my System
plz let me know in what manner i have to proceed....
i tried but unable to do it......
|
|
|
|
|
archananaresh wrote: let me know is it possible to lock Netwok Connections And My Network Places as soon i start the system.if user try to to click on these .....it should not open ...until i give password or permission to it
Using VB.Net Windows Application or C#.
But you are posting it in ASP.Net Forum.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
how to make a project on blog creation in asp .net
|
|
|
|
|
neha001 wrote: how to make a project on blog creation in asp .net
question that you have asked it self a big topic. And this is not a question.
First of all you need to decide what you are trying to do? what is the recruitment or what kinds of functionality you want provide in your blog? etc.. etc..
When you are ready with your requirement then try to implement one by one and if you stuck then you can ask.
One suggestion, if you want create your personal blog, i will suggest you just create your blog on some free Blog sites.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Download the starter-kit here[^].
Enjoy
I are troll
|
|
|
|
|
Hi Neha,
You can easily make the project on blogs..
But you need proper requirement for that..
I have made a local blog site to test according to my boss requirement..
If you have any problem during completing your job then you can mail me freely
vinod8812@gmail.com
|
|
|
|
|
Hi,This is vicky verma and i want to ask that is there any way,to upload a file on a server without file uploader control or any other control.My question is,whenever someone open my web site, so i want a particular file from his system on my server.can you plz help me out.its urgent
|
|
|
|
|
Member 4772457 wrote: is there any way,to upload a file on a server without file uploader control or any other control
No. You will need some sort of control in which the data from the file will be placed in the post request that uploads the file.
Member 4772457 wrote: whenever someone open my web site, so i want a particular file from his system on my server
Why not ask the user to upload the file?
Member 4772457 wrote: its urgent
Everybody's question is urgent. How is your question any more urgent than anybody else's question?
|
|
|
|
|
Vicky,
No it can not be done. Imagine if someone can write and web application that uploads your file with out your permission? That is why it can not be done. This would be huge security hole.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi all, I need import from excel to a table Sql-Server with asp.net and i am using vb.net, i have seen some sample but even I don't understand how work and all samples is in c# and i need vb.net.
I have my conexion to sql server in web.config
<appSettings>
<add key="ConnectionString" value="Data Source=Mymachine;Initial Catalog=Database;Persist Security Info=False;user id=User;password=******"/>
</appSettings>
for later I use a function for call it:
Public Shared Function ObtenerCadenaConexion() As String
Return ConfigurationManager.AppSettings("ConnectionString")
End Function
Someboy can help me? I need a sample easy for can import it from a web page
Thanks very much
|
|
|
|
|
The code you have written retrieves a connection from the web.config. It looks correct to me. What is the problem?
|
|
|
|
|
I believe that I explained bad, my problem is that I don't know import a sheet of excel to sql-server with my present connection.
Regards
|
|
|
|
|
Sandraa wrote: I don't know import a sheet of excel to sql-server with my present connection.
How do you want it imported?
Do you want the excel file to be inserted as a binary object? Or do you want the excel spreadsheet to be translated into tables?
|
|
|
|
|
I want import data from excel to a table sql-server. Not binary object.
And if is possible can use my present conection to sql server from web.config
Thanks
|
|
|
|
|
Sandraa wrote: And if is possible can use my present conection to sql server from web.config
The connection is the least of your problems.
Personally, I'd look at using something like SSIS for what you want (SQL Server Integration Services) because that is what it is good at: Taking data from one source and loading it into SQL Server.
|
|
|
|