All what i need is I was able to bind data from an excel file to gridview. Now the data from the Gridview need to be imported to the table in SQL. Therefore, how can we loop through each record in Gridview and store in respective columns in SQL table?
Too many arguments to 'Public Shared Sub Send(to As String, subject As String, body As String, [from As String = Nothing], [cc As String = Nothing], [filesToAttach As System.Collections.Generic.IEnumerable(Of String) = Nothing], [isBodyHtml As Boolean = True], [additionalHeaders As System.Collections.Generic.IEnumerable(Of String) = Nothing])'
System.Web.Helpers.WebMail.send takes 13 parameters. 'Declaration Public Shared Sub Send ( _ to As String, _ subject As String, _ body As String, _ from As String, _ cc As String, _ filesToAttach As IEnumerable(Of String), _ isBodyHtml As Boolean, _ additionalHeaders As IEnumerable(Of String), _ bcc As String, _ contentEncoding As String, _ headerEncoding As String, _ priority As String, _ replyTo As String _ )
If the project if built outside TFS den it work fine without errors.
I am designing a webpage to show all data after scrolling auto. I choose datagrid to show data but I do not know how to scroll all rows of datagrid that freezes it's header (scrolling from down to up like marquee tag in HTML).Please give me some advices
Firstly, what has this got to do with ASP.NET? It looks like a database question to me.
Secondly, if that's what your code looks like, then going live today is not an option. You urgently need to learn about SQL Injection[^], and then fix this major vulnerability in your code.
Thirdly, based on your query, it looks like you're storing passwords in plain-text. That is a very bad idea; you should be storing salted password hashes instead. See Salted Password Hashing - Doing it Right[^] for more details.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer