Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: PIAS
  • Order by date
  1. PIAS

    Filling ListBox with data in GridView's row

    Pleas help me i need this urgent!!! Hi, I present some data in GridView, i hawe two columns in first column it has to data from one table, in second column is ListBox which should be filled with data from second table. These tables are connected with master-detail relationship. So if in first...
  2. PIAS

    Error message - Framework

    I hawe a problem, sometimes when i go debugging then reports me two errors: Error 1 Metadata file 'C:\OSMAPA\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cpo\b08fc951\585cc9f7\App_global.asax.axf_s5g0.dll' could not be found and Error 2 Metadata file...
  3. PIAS

    Compiler Error CS0021

    What does mean this Error message? Error Message Cannot apply indexing with [] to an expression of type 'type' i hawe variable that i use in FOR LOOP, like this; Array myPozition; int32 myAdd; Int32 tempFor1 = pozicije.GetUpperBound(0); for (i = 0; i <= tempFor1; i++) { myAdd =...
  4. PIAS

    Formating data - exporting to Excel

    Aha, one more thing, i have flexible grids, it means that i don't know how many cells and rows will hawe in grid which i'm exporting to excel. G.
  5. PIAS

    Formating data - exporting to Excel

    Hi! Thanks for answer! "Izvozi" realy means "export"! How did you know? :) Where do i put this code, before i put data in variable? Anyway i tryed both, but it doesen't work, any suggestions? G.
  6. PIAS

    Formating data - exporting to Excel

    You'r right. Sorry By! G.
  7. PIAS

    Formating data - exporting to Excel

    Hi! I'm exporting data from some grid to excel. If i have value in grid like; 2.57 or 10.98, excel converts these values into: feb.57 and okt.98 ! i don't want excel to convert these values Is there any way to switch off formating in excel when exporting? i'm working with a VB script...
  8. PIAS

    Formating data - exporting to Excel

    i'm working with a VB script, this is a code: sub izvoziExcel Dim sHTML,oExcel,oBook,oCells naslovR=document.getElementById("naslovReklame").Value if naslovR<>"" then vsebinaR=document.all.item("tblReklame").outerHtml dolzina=instr(1,vsebinaR,"<tr",1)...
  9. PIAS

    Formating data - exporting to Excel

    Hi! I'm exporting data from some grid to excel. If i have value in grid like; 2.57 or 10.98, excel converts these values into: feb.57 and okt.98 ! i don't want excel to convert these values Is there any way to switch off formating in excel when exporting? Thanks! G.
  10. PIAS

    String functions in C#

    and this from VB ReDim Preserve dnevi(i); to C#: Thanks!
  11. PIAS

    String functions in C#

    What about conversion of this code from VB: CompareMethod.Binary to C#: ?
  12. PIAS

    String functions in C#

    http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx http://www.kamalpatel.net/ConvertCSharp2VB.aspx Sory but, this links are useless, for instance when i type in the window this code: if (InStr(Request.Form.Keys[n], "dolzinaFc") != 0) and pres button: Convert to C#, it gives me...
  13. PIAS

    String functions in C#

    Hi can someone tell me how to convert this code from VB to C#; if (InStr(Request.Form.Keys[n], "dolzinaFc") != 0) the stress is on InStr Thanks!
  14. PIAS

    Master page - Content place holder(detail page) - relationship

    sory i need it for web and i figure it out how to get to the properties; http://msdn2.microsoft.com/en-us/library/c8y19k6h.aspx Button mpButton = (Button) Master.FindControl("masterPageButton"); myButton.Text = "my text"; That works, but now it's another problem, how to call and execute some...
  15. PIAS

    Master page - Content place holder(detail page) - relationship

    Can someone tell me how can i controle labels, buttons property that lies on master page, from detail page? For instace i want to controle Button's propertyes.
  16. PIAS

    Translating from VB to C# - Date

    It doesn't work. maybe becaus it is in for loop; Int32 oglas; SqlCommand oCmd; for (i=0; i<=(pozicije.Length); i++) { oglas = (int)pozicije[i]; // oglas = CInt(pozicije(i)) oCmd.Parameters["@advId"].Value = oglas; oCmd.Parameters["@pozicija"].Value = i; oCmd.ExecuteNonQuery(); } this...
  17. PIAS

    Translating from VB to C# - Date

    thanks, but i still have a problem i don't know how to change it: pozicije it's an array so how goes this code in C#; CInt(pozicije(i))
  18. PIAS

    Translating from VB to C# - Date

    ok, thanks for that Now i want to know what comes here; VB = UBound <=> in C# = ?
  19. PIAS

    Translating from VB to C# - Date

    Can someone tell me how goes this VB function in C#; Weekday(dateYX,Microsoft.VisualBasic.FirstDayOfWeek.Monday) and this WeekdayName(dayX,False,Microsoft.VisualBasic.FirstDayOfWeek.Monday) Thanks PIAS
  20. PIAS

    Problems with DataGrid

    Sory, my bad... here is the code: protected void Page_Load(object sender, EventArgs e) { //Put user code to initialize the page here funkcije.preverisession(); if (!Page.IsPostBack) { ViewState["sort"] = 0; ViewState["sortField"] = "a.Adv_name"; bindDataGrid(); if...

Part and Inventory Search

Back
Top