Search

You searched for the word(s): userid:810124

Matching Posts

  • Re: getting a collection from sql server database

    Hi, That's odd . I came back to this post about 2 weeks later, and find your helpfull answer. I wanted to mark it as answered , but I see it is already marked as answered. How is it possible? someone else can mark it as answered? anyways Thanks for the .AsEnumerable()...
  • getting a collection from sql server database

    Hi, I frequently need to get a list of items from a database. So I use a function to fill a DataTable with the data from the DB. Than, if I want only the first column, for example, i use for (int i=0; i<datatable.rows.count; i++)... etc. to get the items of the column, or to convert the column, for example, to a List<string> . This is very inconvenient. Is there a better way to get Data from the DB directly into a List<string> or Dictionary<string,string> or other lists, instead
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by ariela on 12/9/2009
    Filed under: lists datatable
  • Re: error: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    Oh, sorry for that, I have managed to solve it by myself and forgot this post. The problem was that the project was compiled in Visual Studio 2003 and I got it as is from someone. On my computer I tried to compile it using Visual Studio 2008 , but the project required 2 dll files that I didn't have on my system (older DLL files called MSVCP71.DLL and msvcr71.dll). Both files I had to copy to the windows/system dir or put in system environment variables PATH. Amir
    Posted to Getting Started (Forum) by ariela on 12/1/2009
    Filed under: compilation error -
  • Re: Invalid postback or callback argument.

    tnx but those are the regular answers I've already read a 100 times, but the questions were: 1st question- How is it that redirecting causes this error? 2nd question - How do I find out which control caused this? ?
    Posted to Getting Started (Forum) by ariela on 9/21/2009
  • Re: Invalid postback or callback argument.

    This is the only form on the page (it is found on the masterpage) - <form id="formDefault" method="post" runat="server"> the page has a few updatepanels and uses Ajaxcontroltoolkit. The only control I create from scratch each ajax postback is an HtmlTable. But how is it that when I redirect to the page (not a postback) I get this error? and why do I get it when I click an item on a datalist (which changes the sql for the HtmlTable) or when I select an item from
    Posted to Getting Started (Forum) by ariela on 9/21/2009
  • Invalid postback or callback argument.

    Hi, I have a page (with masterpage and a few user-controls on them). On the page there are some update panels. One panel has a datalist. when I click the second time or third time on one of the list items (which causes a postback) I get the Invalid postback or callback argument. Also, when I click the top menu wich is supposed to Response.Redirect (refresh the page completely) I get the error again. 1st question- How is it that redirecting causes this error? 2nd question - How do I find out which
    Posted to Getting Started (Forum) by ariela on 9/17/2009
    Filed under: Invalid postback or callback argument
  • Re: using doctype XHTML 1.0 , 100% height of table or div not working on ie8

    No, it didn't work, still the bottom element isn't stretched to the bottom of the containing table
    Posted to Client Side Web Development (Forum) by ariela on 9/6/2009
  • using doctype XHTML 1.0 , 100% height of table or div not working on ie8

    Hi, the reason I ask this here is, I have to use the following doctype to properly use Ajaxcontroltoolkit , but it messes up my tables, so I can't make a td or a div stretch 100% to the page bottom. If its not the place, please suggest a proper place for me to ask the question... :-) tnx I'm using <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> I tried 2 structures: 1. <table> <tr>
    Posted to Client Side Web Development (Forum) by ariela on 9/5/2009
    Filed under: doctype xhtml standards 100% height
  • export datatable to excel(csv) using HttpContext

    Hi, I use this function to export a datatable to excel: HttpContext context = HttpContext.Current; context.Response.Clear(); context.Response.Charset = "utf-8"; context.Response.ContentEncoding = System.Text.Encoding.Default; // write the column names foreach (DataColumn column in table.Columns) { context.Response.Write(column.ColumnName + ","); } context.Response.Write(Environment.NewLine); // write the rows foreach (DataRow row in table.Rows) { for (int i = 0; i < table.Columns
    Posted to Web Forms (Forum) by ariela on 9/1/2009
    Filed under: HttpContext
Page 1 of 6 (58 items) 1 2 3 4 5 Next > ... Last »