Click here to Skip to main content
15,920,005 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: DataGrid in 1.1 Pin
Frank Kerrigan15-Dec-06 3:41
Frank Kerrigan15-Dec-06 3:41 
QuestionRead PST file Pin
aaraaayen14-Dec-06 23:45
aaraaayen14-Dec-06 23:45 
AnswerRe: Read PST file Pin
Frank Kerrigan15-Dec-06 0:08
Frank Kerrigan15-Dec-06 0:08 
QuestionIn Cursor Set and Execute Statement Related Query Pin
param thaker14-Dec-06 21:37
param thaker14-Dec-06 21:37 
AnswerRe: In Cursor Set and Execute Statement Related Query Pin
Frank Kerrigan15-Dec-06 0:06
Frank Kerrigan15-Dec-06 0:06 
Question"a property can not be set by ...." problemm!!! Pin
amin_behzadi14-Dec-06 21:20
professionalamin_behzadi14-Dec-06 21:20 
AnswerRe: "a property can not be set by ...." problemm!!! Pin
Frank Kerrigan15-Dec-06 0:00
Frank Kerrigan15-Dec-06 0:00 
AnswerRe: urgent...datagrid .. Pin
Sachin Kolekar15-Dec-06 0:48
Sachin Kolekar15-Dec-06 0:48 
Try the following code written in VB.NET

<br />
Dim myConnection As New SqlConnection("server=localhost;Trusted_Connection=true;database=Portal")<br />
Dim myCommand As New SqlDataAdapter("select * from Portal_Events", myConnection)<br />
Dim ds As New DataSet<br />
<br />
myCommand.Fill(ds, "Portal_Events")<br />
ds.Tables("Portal_Events").Columns.Add(New DataColumn("New Column1"))<br />
ds.Tables("Portal_Events").Columns.Add(New DataColumn("New Column2"))<br />
DataGrid1.DataSource = ds<br />


DataGrid1 object must be created before using this code. Create it by drag n drop from Toolbar in Visual Studio Development Environment.
Change the connection string and sql command according to your needs.

Smile | :)
QuestionProblem in Calling Nesting WebUserControl? Pin
nabeelkhan14-Dec-06 19:33
nabeelkhan14-Dec-06 19:33 
Questiondisplaying name of text file as hyper link Pin
justintimberlake14-Dec-06 19:03
justintimberlake14-Dec-06 19:03 
QuestionHow to share dlls between different projects in a solution Pin
Nitin198114-Dec-06 18:57
Nitin198114-Dec-06 18:57 
AnswerRe: How to share dlls between different projects in a solution Pin
Frank Kerrigan15-Dec-06 0:04
Frank Kerrigan15-Dec-06 0:04 
QuestionTime Interval fo Working Folder Pin
248912814-Dec-06 18:07
248912814-Dec-06 18:07 
QuestionHow to Validate 3 textBox controls using a single RequiredValidator? Pin
crazy_mads14-Dec-06 17:13
crazy_mads14-Dec-06 17:13 
AnswerRe: How to Validate 3 textBox controls using a single RequiredValidator? Pin
_AK_14-Dec-06 20:02
_AK_14-Dec-06 20:02 
Questionwhat is an Arraylist? Pin
Rahithi14-Dec-06 16:57
Rahithi14-Dec-06 16:57 
AnswerRe: what is an Arraylist? Pin
_AK_14-Dec-06 20:04
_AK_14-Dec-06 20:04 
QuestionDynamic content on page load Pin
CapBBeard14-Dec-06 16:50
CapBBeard14-Dec-06 16:50 
AnswerRe: Dynamic content on page load Pin
_AK_14-Dec-06 20:06
_AK_14-Dec-06 20:06 
GeneralRe: Dynamic content on page load Pin
CapBBeard17-Dec-06 9:26
CapBBeard17-Dec-06 9:26 
QuestionComparsion of user data on the webform with database records Pin
veerugadde14-Dec-06 11:41
veerugadde14-Dec-06 11:41 
AnswerRe: Comparsion of user data on the webform with database records Pin
_AK_14-Dec-06 20:09
_AK_14-Dec-06 20:09 
Questionspan and div elements Pin
Tina P14-Dec-06 11:17
Tina P14-Dec-06 11:17 
AnswerRe: span and div elements Pin
Andy Brummer14-Dec-06 11:34
sitebuilderAndy Brummer14-Dec-06 11:34 
GeneralRe: span and div elements Pin
Tina P14-Dec-06 12:21
Tina P14-Dec-06 12:21 

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.