|
Aniket Sonawane wrote: What is meant by Dynamic Content ?
Content that you are adding to your page at run time is called dynamic content
Please these type of questions should be search in Google first
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... "
|
|
|
|
|
hai all,
i develop a project using c# with asp.net... i need source code for 'download a pdf file from aspx pages' (i.e) i wil give one option for downloading a document... So i need code for that...
Anyone know reply me....
Thanks & regards,
vidyasankar N
Short Time Pains Equals Long Time Gains
|
|
|
|
|
try to give the URL of PDF directly ?
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... "
|
|
|
|
|
Hello
I have an application in asp.net 2.0
i have use Atlus CollapsiblePanelExtender. i want to check form code(.cs) file
CollapsiblePanelExtender control is Collaps or not.
plz help me in this regard.
Thanks in adv.
Sujit
|
|
|
|
|
i don't know about CollapsiblePanelExtender control but instead if you use
div tag and make it runat server you can check its style at server side also
by divtagId.Style.Value
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 want to create a elibrary. Like I should be able to update the data regularly and other users should be able to access them.
My problem is how to store the data in database? especially images and videos?
Thank you in advance.
Chaitra N
|
|
|
|
|
Are you in a class that's been told to do this ? It's been asked a lot today
Store them with non standard filenames which you generate in your file system. Store these file paths, the original filenames and any other metadata in your database.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Are you in a class that's been told to do this ? It's been asked a lot today
Either that or a contract bid!;P
|
|
|
|
|
Now you're talking!!!
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Everyone,
I have used this code to attach a file. But the attachment does not work.
can anyone help me in this regard.
Dim MsgBuilder As New StringBuilder
MsgBuilder.Append("mailto:")
'MsgBuilder.Append("&cc=")
'MsgBuilder.Append("&bcc=")
MsgBuilder.Append("&BodyFormat = MailFormat.Html")
MsgBuilder.Append("&subject=Emailing- Testing")
MsgBuilder.Append("&body=" & strBody)
MsgBuilder.Append("&Attach=" & fname & "")
Regards,
Manowj
|
|
|
|
|
I'm looking the code how to pass a server connection to a sub report in Crystal Report. I'm using C # . The main report has different server name than the sub report. The user and password are the same in the main and in the sub report. I appreciate any help in this matter.
|
|
|
|
|
Hello,
I am having 10-15 application objects in global.asax file and my site would be deployed with web farming with approx three-four web servers....
Now my questions: How application object would be treated under web farming....Will all the servers have the same copy of application object? Or...................?????
Please advice
Thanks!!
Thanks!!
|
|
|
|
|
I'm new in asp.net I am using FCKeditor for mailing application. My problem is i cannot set the image path. Its default path is /userfiles/ in root. I cannot set the relative path.
please help me...
Anand
|
|
|
|
|
Hi,
I am trying to create a dynamic connectionString with windows authentication. I prepared like this "Integrated Security=SSPI;Initial Catalog=northwind;Data Source=server-Name" but it is not working. If I specify username and password by removing 'Integrated Security=SSPI' it is working fine.
Am I missing something to prepare a windowsAuthenticated connectionString ?
Thanks in Advance
Hari
|
|
|
|
|
this is more than enough for a windows authenticaiton connection string
"Server=XYZ; Database=ABC ; Trusted_Connection = True"
REGARDS
winnie
|
|
|
|
|
I am facing a problem in datagrid control.The issue as follows -
I have a datalist which is embeded in a datagrid and there is a Delete button in datalist along with other data.Thus the scenario is , there is button in datalist which is inturn in datagrid.There is only one column for datalist in which we have a linkbutton and the Delete button .I want to delete the row in the datalist corresponding to the delete button when i click the delete button which is there in datalist.
Can anyone provide me the solution for this, want to get the click event of the delete button and perform the delete action.If any one provide me some links related to this type of problems that will be really helpfull.
Thanks In Advance
Wish it Have it
|
|
|
|
|
|
hey..pls help..i need help..i m having trouble with makin of my project..which is to make a site similiar to orkut...
the part i am having trouble is in storing and retrieving images onto my sql server database using c#.net
i tried both image format and filepath format...
the problem is i am not much familiar with the sql and c# linkage..pls
pls do help me out..its urgent..dats y...
thanks in advance....
i've got to submit this in around 4to 5 days time..
|
|
|
|
|
you can store imagepath in database ...
you can upload photo using uplaodfile web control and retrive back using imagemap vontrol.....
hope this may clear the picture bit more...
imaran khan
|
|
|
|
|
|
|
you can use this code to insert a image
codebehind c#
private void getIMGproperites()
{
HtmlInputFile imageItem = this.FindControl("Img") as HtmlInputFile;
Int32 intImageSize;
string strImageType;
Stream ImageStream;
intImageSize = imageItem.PostedFile.ContentLength;
strImageType = imageItem.PostedFile.ContentType;
ImageStream = imageItem.PostedFile.InputStream;
imageInsert(intImageSize, strImageType, ImageStream, intAlbumId, struseridHome);
}
public static string imageInsert(Int32 intImageSize, string strImageType, Stream ImageStream, Int32 intAlbumId, string struseridHome)
{
string path = "Database=master;Server=noussrv1010;pwd=sa;uid=sa;";
SqlConnection conn = new SqlConnection(path);
string strStatus = MyConstants.StrStatusOne;
byte[] ImageContent = new byte[intImageSize];
int intStatus;
intStatus = ImageStream.Read(ImageContent, 0, intImageSize);
SqlCommand myCommand = new SqlCommand("PNP_Inspic", conn);
myCommand.CommandType = CommandType.StoredProcedure;
SqlParameter imgEmail = new SqlParameter("@Email_ID", SqlDbType.VarChar, 40);
imgEmail.Value = struseridHome;
myCommand.Parameters.Add(imgEmail);
SqlParameter imgAlbumId = new SqlParameter("@PKAlbum_Id", SqlDbType.VarChar, 40);
imgAlbumId.Value = intAlbumId;
myCommand.Parameters.Add(imgAlbumId);
SqlParameter imgImageact = new SqlParameter("@Image_act", SqlDbType.Image);
imgImageact.Value = ImageContent;
myCommand.Parameters.Add(imgImageact);
SqlParameter imgImageType = new SqlParameter("@Image_Type", SqlDbType.VarChar, 255);
imgImageType.Value = strImageType;
myCommand.Parameters.Add(imgImageType);
SqlParameter imgImageSize = new SqlParameter("@Image_Size", SqlDbType.VarChar, 400);
imgImageSize.Value = intImageSize;
myCommand.Parameters.Add(imgImageSize);
SqlParameter imgImageSubdate = new SqlParameter("@Image_Sub_date", SqlDbType.DateTime);
imgImageSubdate.Value = DateTime.Now;
myCommand.Parameters.Add(imgImageSubdate);
try
{
conn.Open();
myCommand.ExecuteNonQuery();
conn.Close();
}
catch (Exception ex)
{
strStatus = MyConstants.StrStatusTwo;
throw ex;
}
finally
{
struseridHome = null;
}
return strStatus;
}
AND THE PROCEDURE to insert the image
--***********************
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS OFF
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PNP_Inspic]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[PNP_Inspic]
GO
/****************************************************************************************************************
Insert/Update data from PNP_UPLOAD_FILES table
***************************************************************************************************************/
CREATE PROCEDURE PNP_Inspic
(
@Email_ID as nVarchar(40),
@PKAlbum_Id as nVarchar(20),
@Image_act as Image,
@Image_Type as nVarchar(255),
@Image_Size as nVarchar(400),
@Image_Sub_date as Datetime
)
AS
BEGIN
INSERT INTO PNP_UPLOAD_FILES(Email_ID,PKAlbum_Id,Image_act,Image_Type,Image_Size,Image_Sub_date)
VALUES(@Email_ID,@PKAlbum_Id,@Image_act,@Image_Type,@Image_Size,@Image_Sub_date)
END
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
---***********************
winnie
|
|
|
|
|
codelinks wrote: INSERT INTO PNP_UPLOAD_FILES
You could have at least cut down your application-specific table names or comments.
|
|
|
|
|
soory dude no time for that,, otherwise would have given a very good code
winnie
|
|
|
|
|
My problem is this:
I got a client and I need to add the person I'll be talking to.
I click on the client's name I go to a new page and I can't click new or anything in that page coz I don't have any previous contacts with this client.
the detailsview shows up empty. coz I'm posting back to the new contact page the code of the client.
can u help me plz
BiG RaLpH
|
|
|
|