|
actual my problem will start 2nd level menu (Sub menu) first menu working perfectly plz help me.
|
|
|
|
|
|
How to send mail to all the Registered users at the same time?
|
|
|
|
|
sharmilajv wrote: How to send mail to all the Registered users at the same time?
Try This[^]
|
|
|
|
|
Open your mail client, type the mail, type email addresses of intended users and click on send.
Seriously, aren't there thousands of example on web?
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
You missed the joke icon in my post.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
sharmilajv wrote: im a fresher so i askd..
You should read forum guidelines before asking any question. If you ask over here you will definitely get help from members but before that you should search on Google or this forum itself. The question you have asked is very common and there are thousands of example available on net. So you should try them first. if stuck just ask here. you will get many helps !
Good luck !
|
|
|
|
|
|
following is link button with one value posted from one page to another.
how to post multiple values plz let me know....
<asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl='<%# "~/Default.aspx?username="+Eval("username")%>' CommandName="edit" Text="<img src='images/edit.gif' style='border-color:white' alt='Edit'/>"></asp:LinkButton>
|
|
|
|
|
madhukk wrote: how to post multiple values plz let me know....
Use
"Default.aspx?Username=YourValue&Id=YourID"
Or Store the values in Array List and access it.
|
|
|
|
|
|
bhavnvyas wrote: how to send report mail from sql server 2008..
plz help me...
How does it related with ASP.NET ? Please ask this on General Database Forum !
|
|
|
|
|
Hi All,
In below code I am not getting inserted primaryKey AutoID in for dbRow("ImageId"))
could anyone please help or advise what I am doing wrong?
thanks
Private Function WriteToDB(ByVal strName As String, ByVal strType As String, ByRef Buffer As Byte()) As Integer
Dim nFileID As Integer = 0
' Create connection
Dim sqlConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("conString").ConnectionString)
' Create Adapter
Dim sqlDataAdapter As New SqlDataAdapter
Dim dataSet As New DataSet()
Dim dbCB As New SqlCommandBuilder
Dim sqlCommand As New SqlCommand
Try
sqlConnection.Open()
sqlCommand = New SqlCommand("SELECT * FROM Image", sqlConnection)
sqlDataAdapter = New SqlDataAdapter(sqlCommand)
dbCB = New SqlCommandBuilder(sqlDataAdapter)
sqlDataAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey
sqlDataAdapter.Fill(dataSet, "Image")
' Get reference to our table
Dim dbTable As DataTable = dataSet.Tables("Image")
'dbTable.PrimaryKey = New DataColumn() {dbTable.Columns("ImageId")}
' Create new row
Dim dbRow As DataRow = dbTable.NewRow()
' Store data in the row
dbRow("ImageName") = strName
dbRow("ImageSize") = Buffer.Length
dbRow("ImageType") = strType
dbRow("ImageData") = Buffer
' Add row back to table
dbTable.Rows.Add(dbRow)
' Update data source
sqlDataAdapter.Update(dataSet, "Image")
' Get newFileID
If Not dbRow.IsNull("ImageId") Then
nFileID = CInt(dbRow("ImageId"))
End If
' Close connection
sqlConnection.Close()
' Return FileID
Return nFileID
Catch ex As Exception
Response.Write(ex.Message.ToString)
End Try
End Function
|
|
|
|
|
Hi All,
I am working on a project in which i made a .net dll named DLLA. A method of this dll calls a method of another .net dll named DLLB. DLLB consists a method MakeConnection() which calls a method Get() of the IBM WebSphereMQ's "amqmdnet.dll" which is used to make the connection with the server host.
When I calls this method by running my code directly it works properly and make the connection but if i am publishing the project and made a virtual directory. After this if i call the same method it does not make the connection with the host and shows the error "CompCode: 2, Reason: 2058". If anybody have any Idea about the problem please let me know
Thanks in advance
Shrish
|
|
|
|
|
Hi,
I have an application in which I am inserting 1000 records by using for loop. Is there any another way to Insert 1000 records i.e. any Bulk Insert method. Because my Page process become too slow when insertion take place.
Or Is there any other way for insertion.
Thanks
sjs
|
|
|
|
|
You can find plenty through google. OpenXML is one way of doing this. If the insert is taking time, you can do that on a separate thread.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
USE [iLOS]
GO
[dbo].[sp_InsertData] Script Date: SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[sp_InsertData]
(@xmlString VARCHAR(MAX))
AS
BEGIN
DECLARE @xmlHandle INT
DECLARE @stagingTable TABLE
(
[Name] VARCHAR(50),
[Address] VARCHAR(50),
[Phone] VARCHAR(50)
)
EXEC sp_xml_preparedocument @xmlHandle output, @xmlString
INSERT INTO @stagingTable
SELECT [Name] ,
[Address],
[Phone]
FROM OPENXML (@xmlHandle, '/NewDataSet/SampleDataTable',1)
WITH ([Name] varchar(50) '@Name',
[Address] varchar(50) '@Address',
[Phone] varchar(50) '@Phone'
)
INSERT INTO SampleData ([Name],
[Address],
[Phone])
(SELECT [Name] ,
[Address],
[Phone]
FROM @stagingTable)
EXEC sp_xml_removedocument @xmlHandle
END
hi first insert all records in som xml file and thn use above sp i think it might work in your case..
modified on Monday, October 12, 2009 4:38 AM
|
|
|
|
|
While You Are Replying Use Code Block So It will be more clear..!
|
|
|
|
|
I have two windows forms and I need to get the changing mouse position at the same time in the next form. I am using a function in the mouse move event ,so how should i properly do that..pls help me
|
|
|
|
|
Wrong forum.
You can have a public event handler for mouse move in your first form which you can handle in the second form to get the mouse positions.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
lbs.allies wrote: I have two windows forms
Then why are you asking this question in ASP.NET Forum ?
|
|
|
|
|
I have to send mail automatically,mail should have my design and contents change dynamically ?
|
|
|
|
|
sharmilajv wrote: I have to send mail automatically,mail should have my design
Try to search in Google You Will find Toms of examples for seneding mail..!
sharmilajv wrote: and contents change dynamically ?
Wat Abt This..!What are the contents You Want to change dynamically..!You want to chance it By Code or Web.config file Please be more clear..!
|
|
|
|
|