Click here to Skip to main content
15,886,422 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionnot able to open excel hyperlink provided in PPT in asp.net form Pin
ven7539-Jan-14 0:11
ven7539-Jan-14 0:11 
AnswerRe: not able to open excel hyperlink provided in PPT in asp.net form Pin
Shameel10-Jan-14 2:46
professionalShameel10-Jan-14 2:46 
QuestionHow to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application Pin
ven7536-Jan-14 22:41
ven7536-Jan-14 22:41 
AnswerRe: How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application Pin
Chris Quinn7-Jan-14 0:02
Chris Quinn7-Jan-14 0:02 
GeneralRe: How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application Pin
ven7537-Jan-14 0:18
ven7537-Jan-14 0:18 
AnswerRe: How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application Pin
Pete O'Hanlon7-Jan-14 0:52
mvePete O'Hanlon7-Jan-14 0:52 
QuestionError : Conversion from string ?serial? to type 'Integer' is not valid Pin
Member 105062156-Jan-14 1:34
Member 105062156-Jan-14 1:34 
AnswerRe: Error : Conversion from string ?serial? to type 'Integer' is not valid Pin
Dave Kreskowiak6-Jan-14 3:53
mveDave Kreskowiak6-Jan-14 3:53 
You're using the old VB6 syntax. What you're doing is wrong on at least a few levels. Not the least of which is that indexers (you For statement) are never Longs, but instead should be Integers. On top of that, you never use the indexer (_irow)!

It should read more like this:
For index As Integer = 0 To dv.Count - 1
    DataRowView rowView = dv(index)
    If Not IsDBNull(rowView("serial")) Then
        ' This next line is meaningless because you'll never see the textbox
        ' update on a per-row basis.  You'll only see the changes made by the
        ' last iteration of the enclosing For/Next loop.
        ' Also, why are you even bothering to try to convert DbNull to a String??
        txtSerial.Text = ...

        ' You should be moving this database Delete to it's own method.
        ' You should also be converting it to a parameterized query instead of
        ' using string concatenation to build the query.
        ' You also never execute to command, so nothing really happens here.
        ' The database connection string and connection open statements really
        ' should not be inside the For/Next loop.
    End If
Next


QuestionHow to use calendar,date api in asp.net Pin
Alakh niranjan5-Jan-14 19:08
Alakh niranjan5-Jan-14 19:08 
AnswerRe: How to use calendar,date api in asp.net Pin
Richard MacCutchan5-Jan-14 22:09
mveRichard MacCutchan5-Jan-14 22:09 
AnswerRe: How to use calendar,date api in asp.net Pin
Shameel6-Jan-14 4:12
professionalShameel6-Jan-14 4:12 
Questionunformatting GUID wrong output Pin
Nicki NickNick5-Jan-14 12:24
Nicki NickNick5-Jan-14 12:24 
AnswerRe: unformatting GUID wrong output Pin
Richard Andrew x645-Jan-14 13:25
professionalRichard Andrew x645-Jan-14 13:25 
GeneralRe: unformatting GUID wrong output Pin
Nicki NickNick5-Jan-14 14:29
Nicki NickNick5-Jan-14 14:29 
AnswerRe: unformatting GUID wrong output Pin
Richard Andrew x645-Jan-14 14:30
professionalRichard Andrew x645-Jan-14 14:30 
GeneralRe: unformatting GUID wrong output Pin
Nicki NickNick5-Jan-14 14:45
Nicki NickNick5-Jan-14 14:45 
GeneralRe: unformatting GUID wrong output Pin
Dave Kreskowiak5-Jan-14 15:57
mveDave Kreskowiak5-Jan-14 15:57 
GeneralRe: unformatting GUID wrong output Pin
Nicki NickNick5-Jan-14 17:30
Nicki NickNick5-Jan-14 17:30 
AnswerRe: unformatting GUID wrong output Pin
Richard Andrew x645-Jan-14 13:37
professionalRichard Andrew x645-Jan-14 13:37 
GeneralRe: unformatting GUID wrong output Pin
Nicki NickNick5-Jan-14 14:20
Nicki NickNick5-Jan-14 14:20 
Questionneed solution for the following Pin
Surabhi1725-Dec-13 13:23
Surabhi1725-Dec-13 13:23 
AnswerRe: need solution for the following Pin
Eddy Vluggen25-Dec-13 23:40
professionalEddy Vluggen25-Dec-13 23:40 
QuestionRe: need solution for the following Pin
ZurdoDev27-Dec-13 11:01
professionalZurdoDev27-Dec-13 11:01 
AnswerRe: need solution for the following Pin
Abhinav S2-Jan-14 7:01
Abhinav S2-Jan-14 7:01 
QuestionRadio Button Convention Pin
Jibba Jabba25-Dec-13 8:03
professionalJibba Jabba25-Dec-13 8:03 

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.