Click here to Skip to main content
15,902,939 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to select a single cell from datagrid on mouseclick event Pin
jagmit2011-Aug-06 8:11
jagmit2011-Aug-06 8:11 
AnswerRe: How to select a single cell from datagrid on mouseclick event Pin
Ryomin11-Aug-06 8:35
professionalRyomin11-Aug-06 8:35 
QuestionSQL to XML & XML to SQL Pin
kirthikirthi11-Aug-06 7:51
kirthikirthi11-Aug-06 7:51 
AnswerRe: SQL to XML & XML to SQL Pin
Felipe Dalorzo11-Aug-06 8:43
Felipe Dalorzo11-Aug-06 8:43 
GeneralRe: SQL to XML & XML to SQL Pin
kirthikirthi11-Aug-06 9:15
kirthikirthi11-Aug-06 9:15 
GeneralRe: SQL to XML & XML to SQL Pin
Felipe Dalorzo11-Aug-06 11:00
Felipe Dalorzo11-Aug-06 11:00 
GeneralRe: SQL to XML & XML to SQL Pin
kirthikirthi11-Aug-06 11:18
kirthikirthi11-Aug-06 11:18 
GeneralRe: SQL to XML & XML to SQL Pin
S Pandian11-Aug-06 18:45
S Pandian11-Aug-06 18:45 
Hi Friend,

I Envisage the <new table=""> has two Columns.

Private Con As SqlConnection
Private Com As SqlCommand
Private DSET As DataSet

Con = New SqlConnection("Your Connection String")
Com = New SqlCommand("Insert <newtable> Values(@ID,@Name )", Con)

'/*** If the TWO column are String Type ***/
Com.Parameters.Add("@ID", SqlDbType.VarChar, 5)
Com.Parameters.Add("@Name", SqlDbType.VarChar, 50)

DSET = New DataSet()
DSET.ReadXml("<path here="">WW.xml")

Dim R As Int32

Con.Open()
For R = 0 To DSET.Tables(0).Rows.Count - 1
Com.Parameters("@ID").Value =DSET.Tables(0).Rows(R)(0)
Com.Parameters("@Name").Value =DSET.Tables(0).Rows(R)(1)
Com.ExecuteNonQuery()
Next
Con.Close()

With Regards,
Pandian S
GeneralRe: SQL to XML &amp; XML to SQL [modified] Pin
kirthikirthi15-Aug-06 20:00
kirthikirthi15-Aug-06 20:00 
QuestionAdding OnTextChanged event to the textbox placed in the datagrid. Pin
ashokyamsani11-Aug-06 6:10
ashokyamsani11-Aug-06 6:10 
QuestionConvert File To PDF Pin
Mansurali11-Aug-06 5:52
Mansurali11-Aug-06 5:52 
AnswerRe: Convert File To PDF Pin
Colin Angus Mackay11-Aug-06 5:57
Colin Angus Mackay11-Aug-06 5:57 
QuestionCompatibility problem between IE and firefox Pin
Suj_7811-Aug-06 5:22
Suj_7811-Aug-06 5:22 
AnswerRe: Compatibility problem between IE and firefox Pin
Guffa12-Aug-06 3:31
Guffa12-Aug-06 3:31 
AnswerRe: Convert to PDF Pin
Colin Angus Mackay11-Aug-06 5:39
Colin Angus Mackay11-Aug-06 5:39 
GeneralRe: Convert to PDF Pin
Suj_7811-Aug-06 6:01
Suj_7811-Aug-06 6:01 
GeneralRe: Convert to PDF Pin
Colin Angus Mackay11-Aug-06 8:58
Colin Angus Mackay11-Aug-06 8:58 
Questionusing SelectedIndex to determine if an item was selected Pin
ssbelfast11-Aug-06 4:29
ssbelfast11-Aug-06 4:29 
AnswerRe: using SelectedIndex to determine if an item was selected Pin
Ramasubramaniam11-Aug-06 4:43
Ramasubramaniam11-Aug-06 4:43 
GeneralRe: using SelectedIndex to determine if an item was selected Pin
ssbelfast11-Aug-06 4:53
ssbelfast11-Aug-06 4:53 
GeneralRe: using SelectedIndex to determine if an item was selected Pin
ssbelfast14-Aug-06 2:27
ssbelfast14-Aug-06 2:27 
QuestionConnect to sql server from asp.net web app Pin
chris677011-Aug-06 2:27
chris677011-Aug-06 2:27 
AnswerRe: Connect to sql server from asp.net web app Pin
Suj_7811-Aug-06 7:04
Suj_7811-Aug-06 7:04 
QuestionRe: Connect to sql server from asp.net web app Pin
chris677014-Aug-06 2:08
chris677014-Aug-06 2:08 
AnswerRe: Connect to sql server from asp.net web app Pin
Suj_7814-Aug-06 3:24
Suj_7814-Aug-06 3:24 

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.