Click here to Skip to main content
15,899,754 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: visual studio .net and visual web developer 2005 Pin
sacheesach16-Aug-07 2:35
sacheesach16-Aug-07 2:35 
GeneralRe: visual studio .net and visual web developer 2005 Pin
dTiru16-Aug-07 2:40
dTiru16-Aug-07 2:40 
GeneralRe: visual studio .net and visual web developer 2005 Pin
sacheesach16-Aug-07 3:38
sacheesach16-Aug-07 3:38 
Questionremove urls from printouts Pin
manowj16-Aug-07 1:05
manowj16-Aug-07 1:05 
AnswerRe: remove urls from printouts Pin
Senu Gandhi16-Aug-07 1:20
Senu Gandhi16-Aug-07 1:20 
GeneralRe: remove urls from printouts Pin
manowj16-Aug-07 1:22
manowj16-Aug-07 1:22 
QuestionGridview "columnization" Pin
dTiru16-Aug-07 1:03
dTiru16-Aug-07 1:03 
AnswerRe: Gridview "columnization" Pin
ToddHileHoffer16-Aug-07 1:21
ToddHileHoffer16-Aug-07 1:21 
Yeah it is possible. Iterate through the results of your query. And convert each set of two rows into one. Then bind to the datatable. I didn't test the following code but you should get the idea.
<br />
DataTable dt = new DataTable();<br />
DataColumn dc = new DataColumn("RowOdd", Type.GetType("System.Int32"));<br />
DataColumn dc1 = new DataColumn("RowEven", Type.GetType("System.Int32"));<br />
dt.Columns.Add(dc);<br />
dt.Columns.Add(dc1);<br />
<br />
Int16 Count = 0;<br />
DataRow r;<br />
while (YourDataReaderObject.read())<br />
{<br />
      <br />
       if (Count = 0)<br />
       {<br />
        r = dt.NewRow();<br />
        r["RowOdd"] = dr.GetInt32(0);<br />
        Count = 1;<br />
        }<br />
        else<br />
        {<br />
         r["RowEven"] = dr.GetInt32(1);<br />
         dt.rows.add(r);<br />
         Count = 0;<br />
         }<br />
       <br />
}



I didn't get any requirements for the signature


GeneralRe: Gridview "columnization" Pin
dTiru16-Aug-07 1:33
dTiru16-Aug-07 1:33 
GeneralRe: Gridview &quot;columnization&quot; Pin
ToddHileHoffer16-Aug-07 2:02
ToddHileHoffer16-Aug-07 2:02 
AnswerRe: Gridview "columnization" Pin
Urs Enzler16-Aug-07 3:54
Urs Enzler16-Aug-07 3:54 
GeneralRe: Gridview "columnization" Pin
dTiru16-Aug-07 4:17
dTiru16-Aug-07 4:17 
QuestionMemoryStream Pin
Vijayaraj.Manoharan16-Aug-07 1:02
Vijayaraj.Manoharan16-Aug-07 1:02 
AnswerRe: MemoryStream Pin
Urs Enzler16-Aug-07 3:55
Urs Enzler16-Aug-07 3:55 
QuestionWhy the events for the Menu are not firing......? Pin
slimtech16-Aug-07 0:57
slimtech16-Aug-07 0:57 
GeneralRe: Why the events for the Menu are not firing......? Pin
slimtech16-Aug-07 21:12
slimtech16-Aug-07 21:12 
Questionhave a trouble with magement browser history in ajax asp Pin
hoangdung1983200416-Aug-07 0:43
hoangdung1983200416-Aug-07 0:43 
AnswerRe: have a trouble with magement browser history in ajax asp Pin
Christian Graus16-Aug-07 1:10
protectorChristian Graus16-Aug-07 1:10 
GeneralRe: have a trouble with magement browser history in ajax asp Pin
hoangdung1983200417-Aug-07 17:27
hoangdung1983200417-Aug-07 17:27 
Questiondynamically adding controls Pin
BINOVAR16-Aug-07 0:27
BINOVAR16-Aug-07 0:27 
AnswerRe: dynamically adding controls Pin
Christian Graus16-Aug-07 0:31
protectorChristian Graus16-Aug-07 0:31 
Questionwhich type of cart variable I can use.. Pin
ajau16-Aug-07 0:22
ajau16-Aug-07 0:22 
AnswerRe: which type of cart variable I can use.. Pin
Christian Graus16-Aug-07 0:24
protectorChristian Graus16-Aug-07 0:24 
QuestionRequirement in file upload control Pin
Hari_101016-Aug-07 0:03
Hari_101016-Aug-07 0:03 
AnswerRe: Requirement in file upload control Pin
Vasudevan Deepak Kumar16-Aug-07 0:13
Vasudevan Deepak Kumar16-Aug-07 0:13 

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.