Click here to Skip to main content
15,893,487 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: use listbox to identify data to go into SQl Server table column Pin
Not Active1-Feb-10 9:56
mentorNot Active1-Feb-10 9:56 
QuestionDisplay broken images in the listview. Pin
jessy_j101-Feb-10 6:13
jessy_j101-Feb-10 6:13 
AnswerRe: Display broken images in the listview. Pin
Rutvik Dave1-Feb-10 10:05
professionalRutvik Dave1-Feb-10 10:05 
AnswerRe: Display broken images in the listview. Pin
T M Gray1-Feb-10 10:09
T M Gray1-Feb-10 10:09 
GeneralRe: Display broken images in the listview. [modified] Pin
jessy_j102-Feb-10 6:38
jessy_j102-Feb-10 6:38 
GeneralRe: Display broken images in the listview. Pin
T M Gray2-Feb-10 7:10
T M Gray2-Feb-10 7:10 
GeneralRe: Display broken images in the listview. Pin
jessy_j102-Feb-10 9:47
jessy_j102-Feb-10 9:47 
QuestionGetting Error Message: Expression is a value and therefore cannot be the target of an assignment Pin
technette1-Feb-10 5:44
technette1-Feb-10 5:44 
Dim i, j As Integer
Dim xlApp As Excel.Application
Dim xlSht As Excel.Worksheet
Dim rng As Excel.Range

xlApp = New Excel._ExcelApplication
xlApp.DisplayAlerts = False

xlApp.Workbooks.Add()

xlSht = CType(xlApp.Sheets(1), Excel.Worksheet)
xlSht.Name = "BDIS-Download"
I was trying to assign the grid results to an excel sheet and received the following message: Expression is a value and therefore cannot be the target of an assignment


Dim dc As DataColumn
Dim dr As DataRow


For i = 0 To grdResult.Columns.Count - 1
xlSht.Cells(i + 1) = grdResult.Columns(i)
Next

With xlSht
rng = CType(.Columns(1), Excel.Range)
rng.AutoFit()
End With

xlApp.ActiveWorkbook.Close(True, "C:\BDISTest.xls")
xlApp.Quit()

ReleaseComObject(rng)
ReleaseComObject(xlSht)
ReleaseComObject(xlApp)
AnswerRe: Getting Error Message: Expression is a value and therefore cannot be the target of an assignment Pin
Eddy Vluggen1-Feb-10 11:50
professionalEddy Vluggen1-Feb-10 11:50 
QuestionSave data to database after specific interval! Pin
Learner5201-Feb-10 2:20
Learner5201-Feb-10 2:20 
AnswerRe: Save data to database after specific interval! Pin
dan!sh 1-Feb-10 3:31
professional dan!sh 1-Feb-10 3:31 
GeneralRe: Save data to database after specific interval! Pin
Learner5201-Feb-10 11:54
Learner5201-Feb-10 11:54 
GeneralRe: Save data to database after specific interval! [modified] Pin
dan!sh 2-Feb-10 3:50
professional dan!sh 2-Feb-10 3:50 
GeneralRe: Save data to database after specific interval! Pin
Learner5202-Feb-10 22:43
Learner5202-Feb-10 22:43 
Questionsys.webforms.pagerequestmanagerservererrorexception : input string was not in correct format Pin
Member 38798811-Feb-10 0:55
Member 38798811-Feb-10 0:55 
AnswerRe: sys.webforms.pagerequestmanagerservererrorexception : input string was not in correct format Pin
R. Giskard Reventlov1-Feb-10 1:26
R. Giskard Reventlov1-Feb-10 1:26 
Questionhow to send bulk emails automatically from database time to time Pin
abdulwahab7931-Jan-10 23:18
abdulwahab7931-Jan-10 23:18 
AnswerRe: how to send bulk emails automatically from database time to time Pin
Unforgiv3n1-Feb-10 0:34
Unforgiv3n1-Feb-10 0:34 
AnswerRe: how to send bulk emails automatically from database time to time Pin
sashidhar1-Feb-10 1:04
sashidhar1-Feb-10 1:04 
AnswerRe: how to send bulk emails automatically from database time to time Pin
Inderjeet Kaur1-Feb-10 1:34
Inderjeet Kaur1-Feb-10 1:34 
GeneralRe: how to send bulk emails automatically from database time to time Pin
Palash Biswas2-Feb-10 17:47
Palash Biswas2-Feb-10 17:47 
AnswerRe: how to send bulk emails automatically from database time to time Pin
Ashfield1-Feb-10 8:45
Ashfield1-Feb-10 8:45 
Questionhow we print HTML page with Default printer selection Pin
lrsalunkhe31-Jan-10 22:37
lrsalunkhe31-Jan-10 22:37 
AnswerRe: how we print HTML page with Default printer selection Pin
sashidhar1-Feb-10 0:12
sashidhar1-Feb-10 0:12 
GeneralRe: how we print HTML page with Default printer selection Pin
lrsalunkhe1-Feb-10 0:31
lrsalunkhe1-Feb-10 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.